Hi,
I want to parameters Macro on Excel 2007 trought GPO. I made a script but it works only if the user is a workstation local admin :
On Error resume next
Const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv"
)
strKeyPath = "Software\Policies\Microso
ft\Office\
12.0\Excel
\Security"
strValueName = "VBAWarnings"
dwValue = 2
objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue
I want to make it for users that are not local admin.
Workstations are Windows XP and DC is 2008 Server.
Thanks for any help!