Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable redirection if MCS GPO is disabled #169

Closed
matthias-schlimm opened this issue Jan 2, 2020 · 1 comment
Closed

Disable redirection if MCS GPO is disabled #169

matthias-schlimm opened this issue Jan 2, 2020 · 1 comment

Comments

@matthias-schlimm
Copy link
Collaborator

@matthias-schlimm matthias-schlimm commented Jan 2, 2020

i use machine creation service without mcsio
i think there is a bug if vda 1912 is installed and the LIC_BISF_CLI_MCSCfg is set to NO

02.01.2020 15:44:22 | Administrator | INFORMATION... | Processing function Use-BISFMCSConfig
02.01.2020 15:44:22 | Administrator | INFORMATION... | Check if redirection of Files to MCSIO CacheDisk is possible
02.01.2020 15:44:22 | Administrator | INFORMATION... | enable redirection - Code MCS-NoAppLay-Prep
02.01.2020 15:44:22 | Administrator | INFORMATION... | Redirection is enabled with Code MCS-NoAppLay-Prep, configure it now
02.01.2020 15:44:22 | Administrator | INFORMATION... | Processing function Test-BISFWriteCacheDiskDriveLetter
02.01.2020 15:44:22 | Administrator | INFORMATION... | Processing function Test-BISFWriteCacheDisk
02.01.2020 15:44:22 | Administrator | ERROR............... | Disk C:\Windows\Logs not exist. Please create a local new harddrive with enough space, assign driveletter C:\Windows\Logs and run this script again..!!
02.01.2020 15:44:52 | Administrator | INFORMATION... | =========================== FINISH SCRIPT ===========================
02.01.2020 15:44:52 | Administrator | INFORMATION... | Processing function Invoke-BISFFolderScripts
02.01.2020 15:44:52 | Administrator | INFORMATION... | Loading Scripts from C:\Program Files (x86)\Base Image Script Framework (BIS-F)\framework\SubCall\Preparation\Custom
02.01.2020 15:44:52 | Administrator | INFORMATION... | =========================== FINISH SCRIPT ===========================
02.01.2020 15:44:52 | Administrator | INFORMATION... | Processing function Invoke-BISFFolderScripts
02.01.2020 15:44:52 | Administrator | INFORMATION... | Loading Scripts from C:\Program Files (x86)\Base Image Script Framework (BIS-F)\framework\SubCall\Preparation
02.01.2020 15:44:52 | Administrator | WARNING......... | Check Logfile C:\Windows\Logs\BISFLogs\PREP_BISF_TSLBSE-MASTER_20200102-154405.log for further informations !!
02.01.2020 15:44:52 | Administrator | INFORMATION... | Script exiting !!
02.01.2020 15:44:57 | Administrator | INFORMATION... | - - - End Of Script - -

it only checks if applayering is set to false

IF (($CTXAppLayeringSW -eq $false) -and ($State -eq "Preparation")) { $Global:Redirection = $true; $Global:RedirectionCode = "MCS-NoAppLay-Prep" ; Write-BISFLog -Msg "enable redirection - Code $RedirectionCode" -ShowConsole -SubMsg -Color DarkCyan }

PREP_BISF_TSLBSE-MASTER_20200102-154405.log

@matthias-schlimm matthias-schlimm self-assigned this Jan 2, 2020
@matthias-schlimm matthias-schlimm added this to To do in 7.1912.1 Jan 2, 2020
@matthias-schlimm matthias-schlimm changed the title MCS without MCSIO Disable redirection if MCS GPO is disabled Jan 2, 2020
@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator Author

@matthias-schlimm matthias-schlimm commented Jan 2, 2020

fixed in developer branch
BISF.psm1 -> Use-MCSConfig
Line 2677 added as follows

IF ($LIC_BISF_CLI_MCSCfg -eq "NO") {$Global:Redirection = $false; $Global:RedirectionCode = "MCS-Global-Disabled" ; Write-BISFLog -Msg "disable redirection - Code $RedirectionCode" -ShowConsole -SubMsg -Color DarkCyan }

@matthias-schlimm matthias-schlimm moved this from To do to Done in 7.1912.1 Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
7.1912.1
  
Done
1 participant
You can’t perform that action at this time.