I am creating a script to automate a deployment of Office 2010. Office 07 was not installed in a way that provides a clean upgrade path, and in an attempt to do things the right way I am clearing it out with the offscrub07.vbs script provided by Microsoft.
For some reason, when ran as part of the startup script it generates the error "Insufficient registry access permission" as seen in this screencap. This is causing the script to exit without removing Office 07. Here is the code snippit that is calling the vb script.
call cscript "%DeployServer%\Offscrub07.vbs" ProPlus /bypass 1 /q /s /NoCancel
The installer for Office 2010 is launched as part of the same script and succeeds on a clean test machine, so it would seem that it should have sufficient privleges. I had remembered reading that UAC could prevent some logon scripts from running, but I can't find anywhere that says this applies to startup scripts.
Is there a GPO setting I need to change to allow called scripts to run with elevated privleges, or some other way of doing this. I'm stuck with a case of not knowing what I don't know and my google-fu is failing me.