Prevent a user from accessing my computer

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

tushkahoma

Thread Starter
Joined
Mar 29, 2002
Messages
221
How do I prevent someone form accessing my computer. To get the access all they have to do is map a drive to my c$ and they are in.
 

cybertech

Retired Moderator
Joined
Apr 16, 2002
Messages
72,115
You could put a batch file in your startup.

@echo on
@break off
net share c$ /delete >nul
exit

:)
 

cybertech

Retired Moderator
Joined
Apr 16, 2002
Messages
72,115
No you need it to run after windows has started, so put the bat file somewhere and put a shortcut to it in the startup folder of your profile.

documents and settings\your profile\start menu\programs\startup
 

tushkahoma

Thread Starter
Joined
Mar 29, 2002
Messages
221
I put the file in my startup but they can still get in. Is there some other way I can prevent them from mapping to my hard drive?
 

Squashman

Trusted Advisor
Joined
Apr 4, 2003
Messages
19,786
Do you have file and Print sharing turned on? If so, turn it off.
 

cybertech

Retired Moderator
Joined
Apr 16, 2002
Messages
72,115
When the bat file ran, did it indicate successful removal of the share?
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top