Hack Forums

Full Version: Run CMD as admin through cmd
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
here it is:
Code:
runas /profile /user:Administrator cmd
or this:
Code:
runas /profile /user:mymachine\Administrator cmd
I know it works in Windows 2000, but in XP or vista, you have to use a user-made admin account, and normally they have passwords, so this will only work if you know the user-made admin's pass on XP/Vista.
Hope this helped.
Good to know ;)

---

:p you know if you used linux you just gota type "su"
Reference URL's