Solved

Temporarily disable logon to Windows 2003 server and shared drive

Posted on 2006-07-19
5
10,418 Views
Last Modified: 2013-11-21
Hi

I have a Microsoft Windows 2003 Standard Edition server with a shared drive and remote desktop connections.

More than a year and a half back, we use to have a Novell 4.11 server. We use a DOS based POS program that needs a network drive to be mapped.

On the Novell server i used RCONSOLE to see who is logged on and from there i could close and disable login so that i can run the daily backups.

On the Windows 2003 server i use Terminal Services Manager and Management Console to see open files and sessions. I close files and connections from here.

My problem is this:
Is there a command or utility that can temporarily disable login/access to the shared drive and Remote Desktop Clients?
0
Comment
Question by:kcarrim
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 16

Assisted Solution

by:gurutc
gurutc earned 250 total points
ID: 17137503
Hi,

You can do two things to accomplish this.

To stop access to the shared drive you can go to Local Security Policy under Control Panel->Admiistrative Tools->Local Security Settings->Local Poiicies->User Rights Assignment and change the setting of  'Access this computer from the network' to temporarily remove Everyone and any other users or groups who login to this server to access the share.  If you have Domain you have to do the same thing under AD Users and Computers in the Domain Group Policy Editor.

To stop access to remote desktop you just right-click on My Computer, then click properties->remote and then uncheck the 'Allow users to connect remotely to this computer' box.

To re-enable access, repeat above restoring settings.  

It's clunkier than just typing 'disable login' but on Windows you need to be logged in to manage it.  I guess MSoft wanted it to be a little more idiot-proof?  Who knows.

Good Luck,
- gurutc
0
 
LVL 3

Accepted Solution

by:
RA123987 earned 250 total points
ID: 17137848
Stop the server service:

Description of the server service:  Supports file, print, and named-pipe sharing over the network for this computer. If this service is stopped, these functions will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start.
0
 
LVL 10

Author Comment

by:kcarrim
ID: 17138326
What about some kind of VB script that can do this?
0
 
LVL 3

Expert Comment

by:RA123987
ID: 17138424
I don't know VB.  But the command line option is: net stop server.  
0
 
LVL 10

Author Comment

by:kcarrim
ID: 17148539
Hmm..... This is a hard one. I have created a btach file that will shutdown, lock or restart the pc's on my network. That seems to be the best solution for the time being.

I would like to keep this thread open and wait for some more replies ;o)
0

Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

632 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