- Create Registry.reg file with required registry changes. E.g. following will disable "Download Windows Search" prompt in MS Outlook 2010:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Search]
"DisableDownloadSearchPrompt"=dword:00000001
- Create Registry.bat file with text:
%systemroot%\regedit /s Registry.reg
- Open Group Policy object, go to User Configuration > Windows Settings > Scripts > Logon
- Click on Show Files (this opens a folder in \\domain-name\SysVol\domain-name\Policies\... ) and copy both files you created to that folder.
- Click on Add and select Registry.bat
- Deploy Group Policy object where required.
Windows Server 2003
Windows XP
From: >> Expand KEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore >>Right click and >> select NEW >> REG_DWORD >> Name it RemoveWindowsStore >> Set the value to 1
Script to populate the registry key through logon Script:
$RegKeyPath = "HKLM:\KEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore"
$StoreItem = "RemoveWindowsStore"
$StatusValue = "1"
New-Item -Path $RegKeyPath -Force | Out-Null
New-ItemProperty -Path $RegKeyPath -Name $StoreItem -Value $StatusValue -PropertyType REG_DWORD -Force | Out-Null