XP Startup Script

My colleague and I use an automated patching routine which kicks off using a startup script to call the silent installer and patch the machine.

For Windows 7, the script is running as the System account at Startup and seems to have the necessary rights to run.  For Windows XP, we determined the System account doesn't have sufficient permissions to run based on the log files.

Is there a way to elevate priveleges for a startup Script in Windows XP to allow the script to run successfully?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rich WeisslerProfessional Troublemaker^h^h^h^h^hshooterCommented:
I'm not aware of a built-in way, but there have been workarounds presented from Microsoft to elevate specifically for purposes like this.
That said, I think I'm obligated to mention that Windows XP is out of support.  Patches from Microsoft for XP will be few and far between.  (But of course, there are third party patches which may still be needed.)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ResoneticsAuthor Commented:
We figured it would require some creativity.  All of the areas are disconnected and were last patched just prior to the last XP patches being released in April.

And yes, there are also third party patches we need to install also for IAVA requirements.

Once we get through this round of patches, we will be done patching XP at least for MS updates.
Lionel MMSmall Business IT ConsultantCommented:
You could use the logon script to generate a scheduled task to run and with schtasks you can use any user to run the job. So you would then simply use a scheduled task to run the script instead of the script been run at logon.
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

ResoneticsAuthor Commented:
We had thought about going the route of the log in script, but it may be intrusive to the users logging in.  These are all disconnected environments, so we have unique challenges here that require us to be a little creative.
Lionel MMSmall Business IT ConsultantCommented:
startup/logon script either will work to run scheduled tasks
ResoneticsAuthor Commented:
We have decided to abandon the startup script since the SYSTEM account did not permissions to run the WMI queries called during the information gathering phase.
ResoneticsAuthor Commented:
The difficulty of this task, and the lack of other options has caused us to revert to a manual approach.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.