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 all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
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

Network Startup and Shutdown

  • 25-06-2007 10:31pm
    #1
    Registered Users Posts: 224 ✭✭


    Currently i run a Windows Home Server box in my spare room. I have a 2 shortcuts on my desktop to turn it on and off via the network. I have no problem turning it on. However i need to login on the network drive with my admin user / pass to get the shutdown command to work. any ideas? I was thinking of a batch script to login to the server with the user and pass and then shutdown.
    Also when you write a batch script how do you do a delay like in linux scripting you can use sleep 5 for a 5 second delay before it does the next task

    Jamie


Comments

  • Closed Accounts Posts: 7,145 ✭✭✭DonkeyStyle \o/


    2Shae wrote:
    However i need to login on the network drive with my admin user / pass to get the shutdown command to work. any ideas?
    I'd say have a look at your local security policy, might be something in there... allow shutdown without login or allow anon users, etc.


  • Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭seamus


    In order to remotely call a shutdown, the username and password on the client machine must match the username and password on the server.

    When you log onto the network drive with your admin credentials, you have an open authenticated pipe, so the command works.

    If you don't want to change the username and password on the server, you could add a NET USE command to the start of the batch script with your username and password.

    So
    NET USE Z: \\myServer\myShare myPassword /USER:Administrator /PERSISTENT:NO
    SHUTDOWN -s -t 30 -f -m \\myServer
    


Advertisement