ibrohimholidmuhammad Posted December 4, 2011 Posted December 4, 2011 When i want to shutdown my computer in any time, i always use CMD. i use my limited account so that i have to use runas and i have to type my password to take my administrator privilege. can anyone tell me how to make it easier to shutdown my computer in single click by using batch?
Yzöwl Posted December 4, 2011 Posted December 4, 2011 No!If you don't want to use the normal GUI shutdown methods or power button(s).
ibrohimholidmuhammad Posted December 5, 2011 Author Posted December 5, 2011 so, there is no way except i have to type runas......, then my password manually?
allen2 Posted December 5, 2011 Posted December 5, 2011 Look at psshutdown from sysinternals.Something like this should work:psshutdown -accepteula \\%computername% -u adminaccount -p adminpassword -k -t 20 -f
ibrohimholidmuhammad Posted December 6, 2011 Author Posted December 6, 2011 (edited) :whistle: let me try... :whistle: Edited December 6, 2011 by ibrohimholidmuhammad
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now