Hi guys,
Hoping someone can shed a bit of light on this for me please, I have a vbs file which is literally to add 2 registry entries:-
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Options\General\DelegateWastebasketStyle", 4, "REG_DWORD"
WshShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Options\General\DelegateWastebasketStyle", 4, "REG_DWORD"
Now when I run this locally on a machine it works great however when I add it to a GPO (create the GPO, link to test OU, edit, Computer Configuration - Windows Settings - Scripts - Logon - copy the file in to "show files" and add it then apply)
for some reason it will not apply to any machines.
Any one spot something silly that I'm doing by chance?
Thanks
John
Hoping someone can shed a bit of light on this for me please, I have a vbs file which is literally to add 2 registry entries:-
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Options\General\DelegateWastebasketStyle", 4, "REG_DWORD"
WshShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Options\General\DelegateWastebasketStyle", 4, "REG_DWORD"
Now when I run this locally on a machine it works great however when I add it to a GPO (create the GPO, link to test OU, edit, Computer Configuration - Windows Settings - Scripts - Logon - copy the file in to "show files" and add it then apply)
for some reason it will not apply to any machines.
Any one spot something silly that I'm doing by chance?
Thanks
John