Topic: Mapped Network Drives  (Read 138 times)

Mapped Network Drives
« on: May 22, 2020, 02:15:20 PM »

joeyga87

  • Jr. Chef
  • **
  • Date Registered: Mar 2019
  • Posts: 39
Is there a way to add a mapped drive and make it permanently part of the build? I am not needing to add it AFTER the fact - I need to add it and have it load when the PE comes online.  :confused:

Re: Mapped Network Drives
« Reply #1 on: May 24, 2020, 06:18:39 AM »
  • Location: Israel
  • Date Registered: Dec 2017
  • Posts: 444
i'm sure you can use penetwork.

I don't want it to autoload so i have a shortcut to a cmd file on the desktop.

« Last Edit: May 24, 2020, 06:21:01 AM by Bigbadmoshe »

Re: Mapped Network Drives
« Reply #2 on: May 26, 2020, 04:55:35 PM »

joeyga87

  • Jr. Chef
  • **
  • Date Registered: Mar 2019
  • Posts: 39
How do you get it to load the mapped drive and place it either on the desktop or in the This PC section of the build?

Re: Mapped Network Drives
« Reply #3 on: May 27, 2020, 08:25:01 AM »
  • Location: Israel
  • Date Registered: Dec 2017
  • Posts: 444
I add this to my runafter script.

Quote
AddShortcut,Desktop,,%WinDir%\MapBackup.cmd,-- Map Backup,,%WinDir%\IconGroup5315.ico

This is the command:
Quote
@ECHO OFF
net use * /delete /y
net use m: \\"server"\"share" /user:"name" "password"

 

Powered by EzPortal