Advertisement

06.02.2008 at 06:46AM PDT, ID: 23449799
[x]
Attachment Details

Script to Change local user rights to administrator

Asked by shickey1 in MS Forefront, Operating Systems Network Security, Microsoft Operating Systems

Tags: Microsoft, XP, Pro, User Rights

I have a number of PCs, some stand alone at remote sites and some on a domain, where I need to change the currently logged in local PC user rights on the local PC from restricted to local administrator (NOT domain administrator) so the user has full control of their PC. (managers complaining about not being able to do things)

I also need a script to change it back to restricted from local administrator at a later time.

I would like to do so by running  these scripts on the local PC drive. I can run scripts on each machine with a separate credential other than the currently logged in user. Also, because there are so many machines, it would need to see who is currently logged into that PC/domain and add that user to the local administrator group.

I can FTP the files to the PCs and then run an app to run the script file while the user is logged in.

Any wizards know how to get this done?

TIA



Start Free Trial
[+][-]06.02.2008 at 09:16PM PDT, ID: 21697536

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2008 at 10:32PM PDT, ID: 21697772

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MS Forefront, Operating Systems Network Security, Microsoft Operating Systems
Tags: Microsoft, XP, Pro, User Rights
Sign Up Now!
Solution Provided By: Rorc
Participating Experts: 2
Solution Grade: B
 
 
[+][-]06.03.2008 at 08:52AM PDT, ID: 21701652

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 04:25PM PDT, ID: 21705445

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 09:24AM PDT, ID: 21761670

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628