Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Remote shutdown with shutdown.exe credentials?

  • 09-01-2013 6:07pm
    #1
    Registered Users, Registered Users 2 Posts: 7,501 ✭✭✭


    Every now and then at work i need to remotely reboot a server. I use the following command line:
    shutdown -m \\ComputerName -r -f -t 0

    However this wont work unless my current username has rights on the remote computer.

    I get around this my mapping a network drive which prompts me to enter my credentials for the remote server and then the shutdown command will work as the windows system now as stored come credentials for the remote server.

    Now the questions is.... How can i tell a command line program to use certain credentials when attempting a command?
    I dont like having to map a drive every time i do this.


Comments

Advertisement