Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We have a windows server 2008 box at my work place. I want to map a drive from the server to my laptop. I use windows vista home premium x64.

I am connected to my workplace through VPN. i can map the drive when I use the administrator account on the server. But the log on is unsuccessful if I use my personal account on the server to map the drive. My personal account on the server is part of Administrators group.

Can any one help me with this?

share|improve this question
    
How are you mapping the drive? –  Wesley Sep 23 '09 at 15:19
    
Are there any errors in the event log of either the server or the client PC at the time of the attempted drive mapping? –  Wesley Sep 23 '09 at 15:21
    
I am mapping by clicking the map network drive icon. I do not see any relevant events. –  rboorgapally Sep 23 '09 at 15:37
    
Is the "connect using different credentials" check box enabled? If so, how are you entering the credentials as per my posting below? –  Wesley Sep 23 '09 at 16:05

2 Answers 2

Make sure that you're passing the credentials with either the server\username or the domain\username or the username@UPN convention instead of simply typing [username]. I suspect that if you're only putting the username in, it is automatically prepending the local computer's name.

share|improve this answer
    
I am using server\username to connect. I use these credentials in the connect using a different username dialog box that pops out. –  rboorgapally Sep 23 '09 at 16:32
    
While connected to the VPN, try mapping the drive with the "net use" command just to see if we can get some different behavior. At an elevated command prompt, type "net use [drive letter of your choice]: \\server\sharefolder password /USER:domain\username /PERSISTENT:YES" and see what if any errors are returned. Try the same thing with the administrator account and see if it is successful or not. –  Wesley Sep 23 '09 at 16:46
    
It says system error 5 occurred. Access is denied. But it is successful for Administrator account. –  rboorgapally Sep 23 '09 at 22:03
    
What happens when you try "net use" with no options - this should give you a list of mapped network resources; if you've already got a drive mapped (or attempted to map) with the admin credentials, that may interfere with mapping as your username, so you could delete it (net use /delete <resource>) and try the mapping again. –  RainyRat Oct 9 '09 at 8:08

If you are trying to connect to one of the administrative shares (e.g. \servername\C$, \servername\d$ etc) then UAC is preventing this. By default only the explicit local Administrator user account or an account that is a member of the Domain Admins Group has the automatic elevation privileges required to connect to administrative shares remotely. An account that is a member of the local Administrators group does not have these rights.

This can be disabled\changed by GPO but this is a fundamental principle of the behaviour of UAC with regard to remotely accessing administrative functions on a Vista\Win7\W2K8 target system. The relevant UAC security settings are detailed in this MSDN article.. This refers to Vista but the same rules apply to W2K8.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.