Hi - I've got a home network of XP machines that I do not have on a domain, to keep things simple. I'm building an automated backup routine system and I want to be able to remotely start up and shut down all the machines remotely. I've got the start up part working fine (wake on lan), but I'm getting stumped on the shutdown part. I've tried System.Management.ManagementScope and even the simple command- line 'shutdown', and both are failing with a permission denied error. Even when I give ManagementScope an alternative logon username and password - the administrator account on the remote machine - it still fails with a permission error. I have the feeling that it's because these machines are not on a domain, but I'm not sure. I've tried using the <machine>\<username> format and it doesn't work. Does ManagementScope require a domain controller for authentication when using username and password? Is there a way to make this work in a peer-to-peer scenario? I'd even settle for shelling out to the command line for the shutdown, but as I say it doesn't work either.
Any suggestions are much appreciated. Thanks! =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
