Q: Add user to Adminstrators Group?


  1. Posts : 258
    Windows Home Premium (64)
       #1

    Q: Add user to Adminstrators Group?


    How do I add a user (who has an Administrator account) to the Administrators Group?

    I have Home Premium so do not have the Local Group Policy Editor.

    There are currently 2 accounts on the PC:
    -- the first account was installed by the PC Builder as an Administrator account and I presume is in the Administrators Group (how can I find that out?)
    -- the second account was created by the first as an Administrator account and I presume is in the Users Group.

    Access to some Registry keys is different for those two users. So I would like to try adding the second user to the Administrators to see if that solves the problem.
      My Computer


  2. Posts : 1,180
    Windows 7 Ultimate
       #2

    Go to start > run > "control userpasswords2" (without the quotes)
      My Computer


  3. Posts : 1,035
    Vista 64 Ultimate, Windows 7 64 Ultimate, Ubuntu 9.10
       #3

    A lot of files and folders in Windows Vista/Windows 7 do not actually belongs to users. Rather, most system files have “Trusted Installer” as owner, the assign or grant read + write, traverse or full control permissions to SYSTEM or CREATOR OWNER user account only. So users must take ownership and grant full access control permissions and rights to themselves if they want to modify, rename or delete these files or folders. Sometimes, users may need to take ownership and grant full rights to themselves on another drive or partition, especially on disk newly installed or inserted if they cannot browse the contents from the drive.


    Boot the computer from Safe Mode and then login to the Administrator ( the new admin2 you made* ) account and check if you get the same issue. If yes then proceed with these steps: .

    To take ownership and grant full control (or read write) permissions of files or folders in Windows Vista/Windows 7, do these steps.

    1. In Windows Explorer window, locate the files or folders that you want to take ownership and grant or change full control or other access permissions.
    2. Right click on the file or directory, and then select Properties on the right click menu.
    3. Click on Security tab.
    4. Click on Advanced button at the bottom.
    5. In “Advanced Security Settings” dialog window, click on Owner tab.
    6. Here you will be able to see current owner (i.e. TrustedInstaller). To take ownership of the object, click on the Edit button. If UAC prompts for administrator’s password or permission to continue, enter the correct password or press Continue button.
    7. Additional “Advanced Security Settings” dialog will appear. Highlight the user name (for example, Administrators) in the Change owner to box that you want to assign as the owner for the object. Click OK to make the change.
    8. Back in original parent level “Advanced Security Settings” window, you will see the existing owner of the file or folder has changed to the user you just selected.
    9. Click OK button to exit this window.
    10. Click OK again to exit completely from the Properties window.
    11. The ownership is now belonged to user or user account that been selected. To assign necessary permissions to the user too, repeat step 1 to 3 to open the object’s Properties window again.
    12. In object’s Properties window, click on Edit button to change permissions. If UAC prompts for administrator’s password or permission to continue, enter the correct password or press Continue button.
    13. Highlight the Administrators or the user who wants the permissions on the object be changed in the “Group or user names in your case” box.
    If the user ID or group that you want to manage the permissions for the object doesn’t exist, click on Add button, and type in the user name or group name desired into the Enter object names to select box, and finish off by clicking on OK.
    14. In the Permissions for Administrators box below (or any other user name or group name you chose), click on “Full Control” under the “Allow” column to assign full access rights control permissions to Administrators group.
    15. Click “OK” twice when done.
    Users can now do whatever you like to the files or directories processed as above. If you feel that above process is a little too long, and prefer to use command line to perform above process, and then open an elevated command prompt (Click on Start, Type cmd, in the programs list right-click on cmd and select “Run as Administrator”), and type the following commands:
    For Files:

    takeown /f file_name /d y
    icacls file_name /grant administrators:F

    For Folders or Directories (will perform action recursively):
    takeown /f directory_name /r /d y
    icacls directory_name /grant administrators:F /t

    Replace file_name or directory_name with actual file name or folder name, with path when applicable. The first command will take ownership of the file or folder specified, and the second command will grant full control permissions to administrators user group. Note that when using command for folders, to command will run recursively. To prevent the task been perform recursively, remove the “/r” and “/t” switch.

    * These changes should be done while in the admin2 account, use the name you gave it I just used admin2 as an example.
      My Computer


  4. Posts : 258
    Windows Home Premium (64)
    Thread Starter
       #4

    Phew.

    Sorry if I was not clear - these are not Windows 7 system files, rather a program that I installed. Here is the related thread with the gory details: https://www.sevenforums.com/customiza...filetypes.html
      My Computer


  5. Posts : 1,180
    Windows 7 Ultimate
       #5

    DarkStar GT said:
    Phew.

    Sorry if I was not clear - these are not Windows 7 system files, rather a program that I installed. Here is the related thread with the gory details: https://www.sevenforums.com/customiza...filetypes.html

    Icons? Filetypes? I thought you question was regards to adding someone to administrators group.
      My Computer


  6. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #6

    DarkStar GT said:
    How do I add a user (who has an Administrator account) to the Administrators Group?

    I have Home Premium so do not have the Local Group Policy Editor.

    There are currently 2 accounts on the PC:
    -- the first account was installed by the PC Builder as an Administrator account and I presume is in the Administrators Group (how can I find that out?)
    -- the second account was created by the first as an Administrator account and I presume is in the Users Group.

    Access to some Registry keys is different for those two users. So I would like to try adding the second user to the Administrators to see if that solves the problem.
    Open and elevated Command Prompt and type:

    net localgroup users <enter>

    then

    net localgroup administrators <enter>

    This will list the users in each of the 2 main groups "Users" and "Administrators"

    Part 2

    To add a user to the Administrators Group

    net localgroup Administrators {username} /ADD <enter>
      My Computer


  7. Posts : 258
    Windows Home Premium (64)
    Thread Starter
       #7

    DarkStar GT said:
    Phew.

    Sorry if I was not clear - these are not Windows 7 system files, rather a program that I installed. Here is the related thread with the gory details: https://www.sevenforums.com/customiza...filetypes.html
    Kirsch said:
    Icons? Filetypes? I thought you question was regards to adding someone to administrators group.
    Sorry for the delay in replying.

    Yes it was. I had an idea that adding a user to the Administrator Group might solve the problem.

    Thanks WindowStar (are we related?) - that looks good.
      My Computer


  8. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #8

    DarkStar GT said:

    Thanks WindowStar (are we related?) - that looks good.
    Maybe, I wanted to use DarkStar but it was taken so I picked WindowsStar because I could not think of anything else at the time.
      My Computer


  9. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #9

    DarkStar GT Glad you have it all working now!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:37.
Find Us