skissinger
Posts: 1977
Score: 129 Joined: 9/13/2001 From: Sherry Kissinger Status: offline
|
I forgot (apologies in advance) where I got this original script from. I've updated it a few times, and I think added some code here and there, but this should give you can idea. Rename the attached to .vbs. It presumes you have local admin rights & can get to the c$ on the target computer. Note that some actions cannot be done, like User Policy refresh--because the user context is all wrong. But if you need that action, I've got that as well on my blog. (as a button for Ron's web console)
Attachment (1)
_____________________________
mofmaster@smsexpert.com (version 2007) | http://www.smsexpert.com | http://www.sccmexpert.com Microsoft MVP - ConfigMgr
|