Opening a folder with different credentials


  1. Posts : 21
    Windows 7 Professional 32bit
       #1

    Opening a folder with different credentials


    So, I'm an IT manager with administrative privileges in a domain. On one of our servers there's an IT folder that only those with said privileges can enter. This is all well and good.

    My question is: is there a way to use my credentials on another computer whose user is already in said domain?

    To use an example, I recently restored a computer who had a Windows authentication issue (somehow the admin before me turned off restore - was fun). Once I re-set up his domain name it wouldn't allow him to get into the IT folder (which made sense - this is what we want). Problem was, I found no easy way to then enter my credentials so I could sneak in, grab the install I want, then sneak out (preferably with Windows not remembering / automatically administering my credentials each time).

    I've found the drive mapping bit, is there anything easier I'm missing?

    Thanks ahead of time.
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    Try a UNC connection:
    \\server\share
    When prompted for credentials - do not check the option to remember them.

    Restart the computer to get it to forget the credentials.
    I don't recall if logging off and back on is enough to forget the credentials.
      My Computer


  3. Posts : 21
    Windows 7 Professional 32bit
    Thread Starter
       #3

    Sorry for the slow response. Not sure if I'm missing something, but I think that's about the same thing as drive mapping. It's not a bad solution, and it works, I just wanted to make sure I wasn't missing an easy button. So, I'm all good.

    Thanks again.
      My Computer


  4. Posts : 10,485
    W7 Pro SP1 64bit
       #4

    If you map a drive letter, you have to remember to unmap it or it will keep asking the user for different credentials with each reboot and/or log on.

    UNC is better for this...

    After completing your work, I would restart the computer and check that the credentials have been forgotten.
      My Computer


  5. Posts : 21
    Windows 7 Professional 32bit
    Thread Starter
       #5

    It's a small company, so the only one who would be using this method would be me, so I'm not overly worried about forgetting.

    Perhaps I'm misunderstanding or missing something. From my understanding, using the UNC path in Explorer will not ask me for credentials, as I already have "credentials" on that computer (they just don't allow access to the folder). I've been using the net use or pushd commands to mount the drive, and the appropriate commands to unmap. Is there another way to use a UNC connection?
      My Computer


  6. Posts : 10,485
    W7 Pro SP1 64bit
       #6

    If the person currently logged on to the computer has already established a connection to the server\share and an attempt is made to connect to a folder where the person does not have permissions, then the OS just tells the person that they cannot have access to that folder. As far as I know, it does not prompt then for alternate credentials.

    I tested at my office using Start > Run and by mapping a drive letter and the results seem to be the same - access denied and no prompt for alternate credentials. If I had paid more attention to the details in your OP, I would not have suggested UNC. UNC (or mapping a drive) is useful if no other connection has been established to a given server\share.

    I've used net use - but only to map drive letters and I don't have an environment where I can test before posting (I don't want to keep hitting the share at my office that i don't have rights to :-)

    Maybe other forum members can chime in with info on that.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:00.
Find Us