Windows 10/Deployment Batch

From Wiki
< Windows 10
Revision as of 21:40, 16 November 2018 by Marcluer (talk | contribs) (Die Seite wurde neu angelegt: „* Disable Cortana <pre> $path = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" IF(!(Test-Path -Path $path)) { New-Item -Path "HKLM:\SOF…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Disable Cortana
$path = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search"     
IF(!(Test-Path -Path $path)) {  
    New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows" -Name "Windows Search" 
}  
Set-ItemProperty -Path $path -Name "AllowCortana" -Value 1  
#Restart Explorer to change it immediately     
Stop-Process -name explorer