Psexec Net Use Error
Contents |
takes a few minutes. Join Now Hello, I wanted to know if there is a way that I can map a network drive psexec error code 2 for users over a domain without GPO from my computer via CMD. All
Psexec Exit Code 2
users have Windows 7 running and they are on the domain (Win2k8) Lets say if few users need
Remotely Map Network Drive For User
access to a certain drive, how can I map the drive from my computer? Reply Subscribe View Best Answer RELATED TOPICS: Mapping network drives Permanently Mapping Network Drives for Use
Net Use Exit Code 2
with VPN. Mapping Network Drives on a Public PC   18 Replies Datil OP davidr4 Dec 1, 2015 at 3:48 UTC psexec the command prompt then run net use 2 Datil OP Tim-H Dec 1, 2015 at 3:50 UTC I believe you need to use the NET USE command, something like NET USE (Drive letter):\\server drivemapadd that drive lives on\sub-directory$ 0 Poblano OP Richard Stanyard Dec 1, 2015 at 3:52 UTC You don't have to use a GPO, you can use a logon script, place it on the profile for the required user. @echo off net use h: /DELETE net use h:\ \\server\share Save it as a batch file and drop it in to the netlogon folder, normally \domain\netlogon 1 Datil OP davidr4 Dec 1, 2015 at 3:53 UTC Try this, you need to download the sysiternals tools if you don't have them https://technet.microsoft.com/en-us/sysinternals/psexec.aspx Textpsexec \\
a few minutes. Join Now I am trying to use psexec to map a drive on a remote machine and copy a file over, and it doesn't seem to be working. net use remotely Looking for help on what I am doing wrong. Using the following: ~~~~~~~ psexec map network drive remotely command prompt \\
drives and accessible within Windows services, you https://support.asperasoft.com/hc/en-us/articles/216127818-How-to-map-network-shares-into-drives-to-a-Windows-service-permanently need to login as the NT AUTHORITY\SYSTEM account. To do this, download the Sysinternals Suite from Microsoft, and unzip it to a directory, say C:\TEMP The following steps assume that you've unzipped SysInternals to C:\TEMP and all the executables are in there. Launch a command prompt as Administrator. CD \TEMP net use psexec -i -s cmd.exeThis launches a new command prompt window, and step 4 should be performed in that new window. net use Z: \\servername_OR_IP\sharedfolder /u:username /persistent:yesProvide the credentials of a user having access to the shared folder. Create a script that runs on computer startup that has only line map network drive 4 in it acccording to Microsoft's article: Assign Computer Startup scripts. If you need to remove it, Launch a command prompt as Administrator. CD \temp psexec -i -s cmd.exeThis launches a new window. Step 4 should be entered in that window. net use Z: /delete NOTE: If you are using Windows 8 or Windows 2012, and you receive an error executing the net use command, please, follow this articlefrom Microsoft support knowledge base to fix it. Was this article helpful? 0 out of 0 found this helpful Facebook Twitter LinkedIn Google+ Have more questions? Submit a request 0 Comments Please sign in to leave a comment. Related articles Using Mapped NAS drive Letter In Aspera Connect Server Where are the Shares logs located? OpenSSH in Active Directory Environments Mounting Windows share to AOD Minor Release: IBM Aspera Drive 1.3.5 for Windows and OSX Powered by Zendesk