XP Startup Script

Resonetics
Resonetics used Ask the Experts™
on
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?

Thanks!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Professional Troublemaker^h^h^h^h^hshooter
Commented:
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.)

Author

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 Consultant
Commented:
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.
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

Author

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 Consultant
Commented:
startup/logon script either will work to run scheduled tasks

Author

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.

Author

Commented:
The difficulty of this task, and the lack of other options has caused us to revert to a manual approach.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial