Hi,
I would like to bypass the need for the user to log off and back on as an ADMINISTRATOR when doing UPGRADES.
There is an inbuilt utility in XP/W2K called RUNAS. So in theory you can use %SysDir%\RUNAS.EXE /ENV /USER:Admin "%CDROM%\Upgrade.exe" and it will run the upgrade with no problems.
The biggest problem is that it prompts for a password. I have got around this problem by using WSCRIPT to put in the password, but, then NORTONS AV picks up the fact that this is a malicious script and prompts you to make a decision.
Any advice on how to stop AV programs from stopping scripts or any other advice on how to go about this would be great.
Regards
David
Centaur Software
I would like to bypass the need for the user to log off and back on as an ADMINISTRATOR when doing UPGRADES.
There is an inbuilt utility in XP/W2K called RUNAS. So in theory you can use %SysDir%\RUNAS.EXE /ENV /USER:Admin "%CDROM%\Upgrade.exe" and it will run the upgrade with no problems.
The biggest problem is that it prompts for a password. I have got around this problem by using WSCRIPT to put in the password, but, then NORTONS AV picks up the fact that this is a malicious script and prompts you to make a decision.
Any advice on how to stop AV programs from stopping scripts or any other advice on how to go about this would be great.
Regards
David
Centaur Software
Comment