Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What would be an alternative in vbscript to

NET LOCALGROUP /ADD "Power Users" Everyone

I know how to add a single group or user but Everyone isn't found.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I'm not sure you can script the 'everyone' built-in group and you probably shouldn't. MS best practice says not to assign resource permissions or user rights to this account. Use Authenticated Users or specific user accounts and groups where necessary. More info here:

http://technet.microsoft.com/en-us/library/dd277461.aspx

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.