Establishing Administrator Privileges
To configure the ID and the development environment, you must have administrator rights on your computer(s). A user who already has administrator rights on a computer can grant administrator privileges to another user or group of users.
Note: |
|---|
| To grant administrator rights on a computer, you must first install the Windows 2003 Service Pack 1 32-bit Support Tools. You can download the tools from Microsoft. If you do not install the support tools, you will receive in an unrecognized command error when you attempt to configure Administrator rights on the computer. |
To grant Administrative rights to another user
- Log on as an administrator.
- Click Start, and then click Run.
- In the Open box, type cmd, and then press Enter.
- Obtain the security identifier (SID) for the user. To obtain the SID, type whoami/groups at the command prompt, and then press Enter. This returns a list of groups to which the user belongs, along with the user’s SID. Write down the SID number; you will need it in step 5.
- If the computer is running Windows XP, type the following at the command prompt, and then press Enter:
httpcfg set urlacl /u http://+:1000/ /a D:(A;;GX;;;<SID>)
Where <SID> is the user’s security identifier. The command and response should be similar to the following example.
C:\Program Files\Support Tools> httpcfg set urlacl /u http://+:1000/ /a
D:(A;;GX;;;s-1-5-21-3811445897-853718750-2640504884-
1107)HttpSetServiceConfiguration completed with 0.
C:\Program Files\Support Tools>
- Microsoft Vista does not support the httpcfg command. On computers running Windows Vista, type the following at the command prompt, and then press Enter.
netsh http add urlacl url=http://+:1000/ user=<machineName>\<UserName>
Where <machineName> is the name of the computer that you are configuring and <UserName> is the name of the user or group that will use the machine.
For more information about configuring administrator privileges, see the MSDN article Limited User Problems and Split Knowledge, available at http://msdn.microsoft.com/en-us/magazine/cc163531.aspx.
The netsh command uses the Security Descriptor Definition Language (SSDL) to implement the changes. For more information about using SDDL, see the MSDN article SDDL for Device Objects, available at http://msdn.microsoft.com/en-us/library/ms794693.aspx.
Note: