Avatar of J.R. Sitman
J.R. Sitman
Flag for United States of America asked on

Registry setting for making users local administrators

What is the registry setting that automatically makes each user a local administrator when they log on to a Win 7 computer?   I set it years ago and can't remember.
Windows 7

Avatar of undefined
Last Comment
J.R. Sitman

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
NVIT

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
J.R. Sitman

ASKER
I just found out you are correct.  Thanks
NVIT

Hi jrsitman...

BTW, here's the contents of compusers.txt. This adds userA and userB as admins to comp1. It also adds userB to comp2:
comp1=userA
comp1=userB
comp2=userB

Open in new window


Also, in the prior .bat code, remove the ECHO prefixing psexec to run it for real.
J.R. Sitman

ASKER
thanks
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes