Discussion Locked

Enable File and Print Sharing

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I would like to know how to enable File and Print Sharing in windows 2000 by a command or some registry settings.
Thanks

8 replies

by jschein

Command:

NET SHARE sharename
sharename=drive:path [/USERS:number | /UNLIMITED]
[/REMARK:"text"]
[/CACHE:Manual | Automatic | No ]
sharename [/USERS:number | /UNLIMITED]
[/REMARK:"text"]
[/CACHE:Manual | Automatic | No ]
{sharename | devicename | drive:path} /DELETE

by jschein

so, from the command prompt, type:

net share /? to see that, simple command, simple usage

by jschein

net share HUH=c:\foldername\subfoldername /unlimited

Like I said.. Hit START ---> GOT RUN... Type in CMD to get to a command prompt...

From there type: NET SHARE /?

It will show you how to use it. If you need further help, do a search on GOOGLE.COM for "NET SHARE"

by sgt_shultz

and perhaps we should add, file and print sharing are available by default in windows 2000, what i mean is the server service is configured to start up and run all the time, unlike in windows 98. you would have more trouble trying to turn it off i bet. so all you have to do is create and configure the share(s). which js has shown. you could cheat and use hidden administive share $C. we all hate it when users do that so am saying this to annoy everyone (tease) you would have to have administrative rights on windows 2000...

by dennyccheng

Sorry that I cannot quite get the idea. Could you please show me what command to type in order to enable File and Print Sharing in windows 2000 & XP. Some of our user have feature disabled so that we cannot access their system for remote administration.

Many many thanks

by sgt_shultz

ah. remote administration. i believe you can turn that on and off all right. see support.microsoft.com , search under relevant os, pick 'remote administration disable'

by dennyccheng

Sorry I may not made the question clear enough. If a user unchecked the box for "File and Printer Sharing for Microsoft Network" in "Local Area Connection Properties". I want to know how to check the box again remotely by a script or command or setting a registry key. Thanks.

This discussion is closed to new replies.