Solved

how to disconnect users during a session

Posted on 2008-10-21
3
1,481 Views
Last Modified: 2010-10-05
Users don't always logoff before a backup. How can I dissconnect active users from the server in windows server 2003 sbs.
0
Comment
Question by:mbt99
3 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 250 total points
Comment Utility
0
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 250 total points
Comment Utility
1.If you wish to disconnect a single user then you need to know what machine name he's at. Then you can modify the batch file to
net session \\computername /delete

2.1. Create a batch file and place the following
net session /delete

2.2. Create a scheduled task to run the batch file
If you disconnect users who are accessing shared resources, they might lose data. You may want to warn connected users before you disconnect them.

0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The articles for turning off the Client firewall policy on the internet are for SBS 2008 and don't really help for SBS 2011. They actually moved the Client firewall policy. In 2011, the client firewall policy has moved to the SBS computers conta…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now