Add domain user to local vista administrator group

without comments

Recently I had to re-format my work laptop and I decided to fix one of the most annoying thing that I dealt with everyday but I was too lazy to research.

My company has a group policy setup for UAC. We need to have it enabled at all times but the pain of entering the username (domain\username) and password every time I wanted to start visual studio or IIS console was very unproductive and tedious.

Turns out a simple command at CMD prompt can do the trick:

net localgroup Administrators /add domain\username

Behold – no more password – one click and we are elevated. Oh the joys of Windows Vista.

Update: This works for Windows 7 as well. – 8th June 2009

Written by Manoj

21. June 2008 02:48

Posted in Windows

Tagged with

0 Responses to 'Add domain user to local vista administrator group'

Comments are closed