mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 15:07:21 +00:00
fix errors
This commit is contained in:
1 parent
c67abca268
commit
b9aab5edc3
1 file changed
+5
-5
@@ -47,7 +47,7 @@ Set-GPRegistryValue -Name "Default Domain Policy" -ValueName "DevicePKInitEnable
|
||||
Set-GPRegistryValue -Name "Default Domain Policy" -ValueName "DevicePKInitBehavior" -Key "HKEY_LOCAL_MACHINE\software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" -Value 0 -Type DWord
|
||||
Set-GPRegistryValue -Name "Default Domain Policy" -ValueName "MSAOptional" -Key "HKEY_LOCAL_MACHINE\software\Microsoft\Windows\CurrentVersion\Policies\System" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "Default Domain Policy" -ValueName "MSAOptional" -Key "HKEY_LOCAL_MACHINE\software\Microsoft\Windows\CurrentVersion\Policies\System" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "Default Domain Policy" -ValueName "EnhancedAntiSpoofing" -Key "HKEY_LOCAL_MACHINE\software\Polic ies\Microsoft\Biometrics\FacialFeatures" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "Default Domain Policy" -ValueName "EnhancedAntiSpoofing" -Key "HKEY_LOCAL_MACHINE\software\Policies\Microsoft\Biometrics\FacialFeatures" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "Default Domain Policy" -ValueName "AllowCamera" -Key "HKEY_LOCAL_MACHINE\software\Policies\Microsoft\Camera" -Value 0 -Type DWord
|
||||
Set-GPRegistryValue -Name "Default Domain Policy" -ValueName "BlockUserInputMethodsForSignIn" -Key "HKEY_LOCAL_MACHINE\software\Policies\Microsoft\Control Panel\International" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "Default Domain Policy" -ValueName "AllowInputPersonalization" -Key "HKEY_LOCAL_MACHINE\software\Policies\Microsoft\InputPersonalization" -Value 0 -Type DWord
|
||||
@@ -243,7 +243,7 @@ Set-GPRegistryValue -Name "Firefox" -ValueName "FeatureRecommendations" -Key "HK
|
||||
Set-GPRegistryValue -Name "Firefox" -ValueName "MoreFromMozilla" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\UserMessaging" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "Firefox" -ValueName "SkipOnboarding" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\UserMessaging" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "Firefox" -ValueName "WhatsNew" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\UserMessaging" -Value 0 -Type DWord
|
||||
Set-GPRegistryValue -Name "Firefox" -ValueName "URL" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\Homepage" -Value $homepage -Type DWord
|
||||
Set-GPRegistryValue -Name "Firefox" -ValueName "URL" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\Homepage" -Value $homepage -Type String
|
||||
Set-GPRegistryValue -Name "Firefox" -ValueName "StartPage" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\Homepage" -Value homepage -Type DWord
|
||||
|
||||
#Create Edge GPO
|
||||
@@ -251,7 +251,7 @@ New-GPO -Name "Edge" -comment "Edge Settings for the workbench"
|
||||
Set-GPRegistryValue -Name "Edge" -ValueName "AllowSurfGame" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" -Value 0 -Type DWord
|
||||
Set-GPRegistryValue -Name "Edge" -ValueName "ConfigureDoNotTrack" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" -Value 0 -Type DWord
|
||||
Set-GPRegistryValue -Name "Edge" -ValueName "EnhanceSecurityModeOptOutUXEnabled" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "Edge" -ValueName "URL" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" -Value $homepage -Type DWord
|
||||
Set-GPRegistryValue -Name "Edge" -ValueName "URL" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" -Value $homepage -Type String
|
||||
Set-GPRegistryValue -Name "Edge" -ValueName "StartPage" -Key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" -Value homepage -Type DWord
|
||||
|
||||
|
||||
@@ -266,9 +266,9 @@ Set-GPRegistryValue -Name "StartMenu" -ValueName "NoClose" -key "HKEY_CURRENT_US
|
||||
Set-GPRegistryValue -Name "StartMenu" -ValueName "NoStartMenuEjectPC" -key "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "StartMenu" -ValueName "NoStartMenuMYGames" -key "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "StartMenu" -ValueName "LockedStartLayout" -key "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "StartMenu" -ValueName "StartLayoutFile" -key "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer" -Value "C:\eidf\wawb01.xml" -Type DWord
|
||||
Set-GPRegistryValue -Name "StartMenu" -ValueName "StartLayoutFile" -key "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer" -Value "C:\eidf\wawb01.xml" -Type String
|
||||
Set-GPRegistryValue -Name "StartMenu" -ValueName "LockedStartLayout" -key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Explorer" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "StartMenu" -ValueName "StartLayoutFile" -key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Explorer" -Value "C:\eidf\wawb01.xml" -Type DWord
|
||||
Set-GPRegistryValue -Name "StartMenu" -ValueName "StartLayoutFile" -key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Explorer" -Value "C:\eidf\wawb01.xml" -Type String
|
||||
Set-GPRegistryValue -Name "StartMenu" -ValueName "AllowWindows" -key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\SrpV2\Appx" -Value 0 -Type DWord
|
||||
Set-GPRegistryValue -Name "StartMenu" -ValueName "AllowWindows" -key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\SrpV2\Dll" -Value 0 -Type DWord
|
||||
Set-GPRegistryValue -Name "StartMenu" -ValueName "AllowWindows" -key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\SrpV2\Exe" -Value 0 -Type DWord
|
||||
|
||||
Reference in new issue
Block a user