[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


File Share Access - Prompt for Credentials

Posted on 2006-04-20
Medium Priority
Last Modified: 2012-08-14

In a Windows 2003 domain environment, is there a way to set up a share that will prompt for credentials of an authorized user? We would like to set up an administrative share to access on client PCs without having to log off and log back in as an Admin or other user with access to the share.

Thanks for your help.
Question by:CityofSolonOhio
  • 2
  • 2
LVL 97

Accepted Solution

Lee W, MVP earned 2000 total points
ID: 16498815
Only one username may be connected to a server at once from a single machine.  If you have a home directory or a share connected (via network drive letter or network printer, for example), you would have to disconnect from the server and reconnect using a command line of:

NET USE \\SERVER\SHARE * /User:domain\username

Author Comment

ID: 16498929
Thanks for the reply - would it be possible if the client has no other connection to this server - there are no other shares on this server other that the one in question. Is it because it is one of a few authenticating DCs that would cause it not to prompt?
LVL 97

Expert Comment

by:Lee W, MVP
ID: 16498978
When you are on a domain, any implicit attempt to access a network resource will be authenticated with the domain that that resource is a member of and that your computer is a member of.  

To explicitly access a network resource with different credentials, you need to use the net use command I outlined above.

Author Comment

ID: 16499042
OK, thank you for your help.

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

834 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