SunQuest
           Networking Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationNetworking Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old February 2nd, 2004, 04:00 PM
fonrob fonrob is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 fonrob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking logoff pc on network help

does anyone know how I can logoff a pc on my home network from another pc, Thanks

Reply With Quote
  #2  
Old February 3rd, 2004, 02:23 AM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 29 m 46 sec
Reputation Power: 92
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

Reply With Quote
  #3  
Old February 6th, 2004, 03:05 AM
lubox lubox is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 16 lubox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
shutdown -s -t 10

will shutdown the computer in 10 sec. Within 10 sec if you change your mind run
shutdown -a

Reply With Quote
  #4  
Old February 6th, 2004, 11:20 AM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 29 m 46 sec
Reputation Power: 92
You'll need to add the -m switch to make it shutdown a remote network computer:

shutdown -s -m \\computername -t 10

Reply With Quote
  #5  
Old February 20th, 2004, 03:25 AM
Mainframeguy Mainframeguy is offline
Close to the metal
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: London, UK
Posts: 6 Mainframeguy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 21 sec
Reputation Power: 0
Send a message via ICQ to Mainframeguy Send a message via AIM to Mainframeguy Send a message via Yahoo to Mainframeguy
Question OK - but does this work?

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....

Reply With Quote
  #6  
Old February 20th, 2004, 03:44 AM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 29 m 46 sec
Reputation Power: 92
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).

Reply With Quote
  #7  
Old February 20th, 2004, 05:08 AM
Mainframeguy Mainframeguy is offline
Close to the metal
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: London, UK
Posts: 6 Mainframeguy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 21 sec
Reputation Power: 0
Send a message via ICQ to Mainframeguy Send a message via AIM to Mainframeguy Send a message via Yahoo to Mainframeguy
Thumbs down still no joy

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?

Reply With Quote
  #8  
Old February 20th, 2004, 07:06 AM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 29 m 46 sec
Reputation Power: 92
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!

Reply With Quote
  #9  
Old February 20th, 2004, 07:19 AM
Mainframeguy Mainframeguy is offline
Close to the metal
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: London, UK
Posts: 6 Mainframeguy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 21 sec
Reputation Power: 0
Send a message via ICQ to Mainframeguy Send a message via AIM to Mainframeguy Send a message via Yahoo to Mainframeguy
Thumbs down consistent failure

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....

Reply With Quote
  #10  
Old February 20th, 2004, 07:40 AM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 29 m 46 sec
Reputation Power: 92
Arghh...

Reply With Quote
  #11  
Old February 20th, 2004, 03:01 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 29 m 46 sec
Reputation Power: 92
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationNetworking Help > logoff pc on network help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |