|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
does anyone know how I can logoff a pc on my home network from another pc, Thanks
|
|
#2
|
||||
|
||||
|
No, but you can shutdown another pc from the network (with XP). Check the command "shutdown" in the command prompt. I think that the switch is -m for shutting down remote computers, but shutdown /? will tell you.
HTH, Edwin |
|
#3
|
|||
|
|||
|
shutdown -s -t 10
will shutdown the computer in 10 sec. Within 10 sec if you change your mind run shutdown -a |
|
#4
|
||||
|
||||
|
You'll need to add the -m switch to make it shutdown a remote network computer:
shutdown -s -m \\computername -t 10 |
|
#5
|
|||
|
|||
|
I notice the requestor had not posted back - but I've seen another long thread discussing this (over at ntfs.org) and how it fails to work for many users!
Is there something that defaults to disabled - a service you need to start? RPC or somesuch? Any pointers appreciated and will be fed-back to my friends over at NTFS - so there's a community would appreciate this solution guys.... |
|
#6
|
||||
|
||||
|
As far as I know, it should work and you don't need any specific services running. However, you need to make sure that you have permissions on the computer you are trying to shutdown. For example (unless you are using a domain) you need to create an account identical to your own (same username and password) on the remote computer, so that when you execute the command you don't get the "Access denied error message".
Also, if you are using XP Pro or 2000, check the Local Security Settings. In the Control Panel, select Administrative Tools and open Local Security Settings. In Local Policies > User Rights Assignments there is a section called "Force shutdown from a remote system". By default, this is set to Administrators only. So you need to make sure that you have administrative privileges to perform the shutdown (or add extra groups such as users, power users or even everyone). |
|
#7
|
|||
|
|||
|
followed all you said - so far as I can see....
can ping the computer fine, but shutdown always says "network path not found". Also when I try the dialog mode and look to browse the network I get a red X box telling me "Directory Service not available". Any ideas? ![]() |
|
#8
|
||||
|
||||
|
Not sure at the moment - but why don't you try http://www.slawdog.com/products/smartsd/index.htm . This might work, it has more options, and is freeware!
|
|
#9
|
|||
|
|||
|
that is also unable to shut down remotely - although to it's dredit it does fidn the remote computers on the network. I'll try looking through the help files. Just thought I'd let you know that whatever is in the way is in the way of this too....
|
|
#10
|
||||
|
||||
|
Arghh...
![]() |
|
#11
|
||||
|
||||
|
OK - I have the solution!
There is a "ForceGuest" key in the regestry which is by default set to "1" (enabled) in workgroup mode (not domain). This means that all connections from the network will be authenticated as the guest user. In Windows XP Pro (not home), you can disable the ForceGuest behavior: Open Regedit and navigate to: "My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\forceguest". Set the value to 0. HTH, Edwin |
![]() |
| Viewing: Dev Shed Forums > System Administration > Networking Help > logoff pc on network help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|