Windows XP autostart process as administrator

Posted by Zulakis on Server Fault See other posts from Server Fault or by Zulakis
Published on 2012-06-19T18:30:23Z Indexed on 2012/06/20 21:18 UTC
Read the original article Hit count: 281

I am looking for a way with which i can autostart a certain program on logon of a user with user-rights with administrator-rights.

I already tried using task scheduler but it didn't work out because you got to enter a username with format machine\user and our pxe-image-deployment-system automatically patches the machine names so the entered domain\user stopped working.

UPDATE: the runas.exe command does not seem appropiate for this task, too. If using /user:machinename\Administrator /savcred it is invalid after imaging. What one user suggested was using .\Administrator or localhost\Administrator but both didn't work on my XP SP3 machines.

© Server Fault or respective owner

Related posts about windows-xp

Related posts about scripting