Mapping Drives

Comments

5 comments

  • sean johnson
    net use "M:" \\server\share /p:yes
    

    I just did this in PDQ deploy and it worked for me

    1 2

    0
    Comment actions Permalink
  • Tom Evans

    That's identical to what I'm doing except I didn't have the /p:yes. I added it and I still get a success in PDQ but it does not show mapped for me.

    I've disabled Symantec, I've installed another package to make sure it's actually communicating, I don't know. Is there a log somewhere I can use to start narrowing it down?

    0
    Comment actions Permalink
  • Callan Johnstone

    To narrow down your search have you tried running net use Z: \server\share /persistent:yes' in a (non-administrator) CMD prompt on one of your targeted machines, to verify it runs for the logged on user.

    Another one to check, even though the package may be set to "Run As: logged in user" you can override/change this in when deploying, confirm that it is also set correctly in the deployment window

    enter image description here

    0
    Comment actions Permalink
  • Tom Evans

    I'm trying on my computer and it isn't working. If I run it manually, locally, it works.

    0
    Comment actions Permalink
  • Colby Bouma

    Try using this PowerShell cmdlet. If it's failing for some reason it should give you better errors.

    New-PSDrive -Name "Z" -Root "\\server\share" -PSProvider "FileSystem" -Persist -Scope "Global"
    
    0
    Comment actions Permalink

Please sign in to leave a comment.