protected and limited access to server


Server win2K
Client win2K

Server has shared C:
When client needs to access I do
start > run > \\ [server-ip] \c
at this point an network access window opens where I type the userid and password
and the server window is opened, letting me navigate all directories.

When I close the window, and later try to get back on the server, the window opens w/o asking for the userid and password.


How can I have it ask for the id and password each and everytime I try to connect to server?
Alternatively, can I password protect the server from the server letting access to only one folder and its subfolders?

Bonus question (40)

Why is it that another client with win2K doesn't ask for id and password, when accessing the server, even the first time?

Thank you
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Irwin SantosComputer Integration SpecialistCommented:
Create a profile batch file and apply to each user (as needed) in Active Directory on the W2k sever.

When the user logs in, the batch file will execute.  When the user has completed their session, they will logout, thus forcing them to enter their username & password.

Alternatively, can I password protect the server from the server letting access to only one folder and its subfolders?

The BONUS question should be a separate thread, and you need to provide more detail on that machine in question along with the other systems that do require authentication.
1) Even though you have closed the window you have still been authorized and validated.  This is remembered until you reboot either you PC or the remote PC.  Just because the window has been closed, does not mean you are disconnected.  Open command windows and do a "net use" and see if you still have a connection open.  If you do issue the command "net use xxxx /delete" where xxx is the resource you have open.

2) Is this a workgroup or domain enviroment? Is the user on the "local" PC logged on using a local userid and password or a domain? We logged on and connected to a remote resource the userid and password you are logged on to the local PC with are passed to the remote server.  If they are valid on the remote server you get connected without a prompt.  If both the local PC and the server are in the same domain, or trusted domains, the userid you logon to the local PC with will always be valid and you will never be prompted.  If you are logged on to the local PC with a local userid and password and you keep your userid and password for the remote sever in sync with you local one, then you will not be prompted either.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kenesoAuthor Commented:
@ irwinpks

You are talking to an ignorant.

>> Create a profile batch file and apply to each user (as needed) in Active Directory on the W2k sever.

Where is the active directory, and how do I create the batch?

That should give you my level of competence ;)

@ giltjr

1) I'll try that

2) didn't understand a single word ;(
Anyway don't worry, perhaps as suggested by irwinpks I'll open a new thread.
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Irwin SantosComputer Integration SpecialistCommented:
"That should give you my level of competence ;)" since you're gonna make us work harder, then the points should be increased... :-)

Batch file = set of command instructions that are executed by listing all commands in a text file with a ".bat" extension.

For example:

You could call the batch file with the user name and the password as a parameter. Then, use
(the above 2 lines are written using NOTEPAD, save as sample.bat into your WINDOWS\SYSTEMPROFILES folder on the W2k server)

The above is an arbitrary example...
While in Active Directory, select the user and change the properties, click on the PROFILE tab, then enter in sample.bat (or whatever else name you call it, but must have the ".bat" extension)

but honed into more of your needs is as follows..
net use f: \\servername\driveletter

DO NOT INCLUDE THE "-" (hash marks), they are just there to focus in what's in between.


You may want to invest in a Windows 2000 Server book, one of those fatboys that they sell in Borders or Barnes & Noble.  
In addition to investing in one of the books that irwinpks has suggested I would also suggest that you talk to your Windows system admins.

If there are no admins and you are trying to admin this your self.  Get a book know.  If you don't know what a domain is, you are truly lost and should be reading something to get a baisc idea of what a Windows domain is, what Active Directory is, what a work group is, what a local logon is vs. a domain logon, what trusted domains are.
Irwin SantosComputer Integration SpecialistCommented:
giltjr...well said...
kenesoAuthor Commented:
Thank you.
Irwin SantosComputer Integration SpecialistCommented:
alright points for the new year
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.