techlabtest
asked on
Batch file
i have this script: net localgroup Administrators "techlabtest\Finance" /Add
techlabtest is my domain
Finance is my security group
Inside Finance there are 3 domain user which do not have admin access.
I want to give them admin access at the same time.
Just for testing my script, When i run it manually on a user pc, i got access denied.
When i run it on an administrators account, it works well.
Please help me.
Thanks
techlabtest is my domain
Finance is my security group
Inside Finance there are 3 domain user which do not have admin access.
I want to give them admin access at the same time.
Just for testing my script, When i run it manually on a user pc, i got access denied.
When i run it on an administrators account, it works well.
Please help me.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This link solve my problem......
http://abouteverythingsite.com/topics/44-computers/computer-networking/78-group-policy-restricted-groups
Thanks oBdA
http://abouteverythingsite.com/topics/44-computers/computer-networking/78-group-policy-restricted-groups
Thanks oBdA
However, if you assign the script as a startup script in a GPO, then it will probably work the next time the machine reboots.
We do something similar here with VBS