Hello. I have an ongoing program and part of it is remotely shutting down a workstation.
What's the best way to do this? I have google and found a WMI way of doing it and the other one is calling the workstation's shutdown.exe..
I have tried the latter but I get access denied while putting this on the command line...
shutdown -s -f -m \\IP Address
Kinsa kahibaw mu solve ani?
I am using two Windows XP Pro and C#.NET.
About the WMI method diay, it needs a workstation's username and password to connect...but it can shutdown remotely, but Im trying to remove the need of usernames and passwords.



 
			
			 
			
 question on networking programming
 question on networking programming
				 
       
					
					
					
						 Reply With Quote
  Reply With Quote Originally Posted by cold_fusion
 Originally Posted by cold_fusion
					
 
			
 , but calling it without the appropriate rights wont throw errors or does it? (need to confirm)
, but calling it without the appropriate rights wont throw errors or does it? (need to confirm)
