Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable NET USE command?

Status
Not open for further replies.

JayE

Technical User
Jun 23, 2001
384
GB
Hi,

I've set up various commands for mapping ports to network printers.

How do I disable the net use commands?

Can Windows XP print to LPT ports 4 and above? I'm sure it can, but our support people say it cannot do so !!

Regards,
Jay/UK
 
JayE, big question on the Net Use thing.

To stop people mapping persistent drives, you could put a couple of lines into your login script like:

net use /persistent:no
net use * /delete /y

To stop people actually using the Net Use command (as I think you mean), you really need to start playing with the group policy (although in a noisy office with a huge pile of paperwork in front of me at the moment, I'm struggling to think where... :/). That or disable the Run command and access to the Command Prompt, but this may stop other required programs from being run.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top