Is it possible to elevate priveliges within the command prompt without click start->cmd->start as admin, its a pain to have to then us cd to get to the working directory
I was wondering if there was a sudo equivalent, e.g. I type a command and then it gives a UAC prompt or something
sudo equivalent in windows
sudo equivalent in windows
Selling invisible pets:
Dogs - 0.5 Bitcoins
Cats - 0.7 Bitcoins
Unicorns - 10 Bitcoins
Chimpanzee - 2 Bitcoins
PM me if you are interested, will ship via priority airmail, will accept escrow services
Dogs - 0.5 Bitcoins
Cats - 0.7 Bitcoins
Unicorns - 10 Bitcoins
Chimpanzee - 2 Bitcoins
PM me if you are interested, will ship via priority airmail, will accept escrow services
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
Re: sudo equivalent in windows
yeup, you can do that with runas:
Code: Select all
runas /user:Administrator <command>
Re: sudo equivalent in windows
Hmmmm, apparently I don't have an administrator account ???
It doesn't seem to accept administrator as an username, or I don't what the admin password is...
Its strange because my account type is an admin but I can't get admin rights...
It doesn't seem to accept administrator as an username, or I don't what the admin password is...
Its strange because my account type is an admin but I can't get admin rights...
Selling invisible pets:
Dogs - 0.5 Bitcoins
Cats - 0.7 Bitcoins
Unicorns - 10 Bitcoins
Chimpanzee - 2 Bitcoins
PM me if you are interested, will ship via priority airmail, will accept escrow services
Dogs - 0.5 Bitcoins
Cats - 0.7 Bitcoins
Unicorns - 10 Bitcoins
Chimpanzee - 2 Bitcoins
PM me if you are interested, will ship via priority airmail, will accept escrow services
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
Re: sudo equivalent in windows
hm, seems you explicitly have to specify the domain or computer name too, have a look here:
http://technet.microsoft.com/en-us/libr ... 71525.aspx" onclick="window.open(this.href);return false;
http://technet.microsoft.com/en-us/libr ... 71525.aspx" onclick="window.open(this.href);return false;