Topic: Auto Drive Mapping Fails  (Read 174 times)

0 Members and 1 Guest are viewing this topic.

Auto Drive Mapping Fails
« on: November 10, 2017, 01:05:40 PM »
  • Date Registered: Nov 2017
  • Posts: 3
Hello thanks for any help in advance.

The drive letters I input into PENetwork auto-start script rarely create the drives on their own. I can create drives manually through PENetwork. Though I can not create drive letters through explorer until after I create one in PENetwork.

I attached my PENetwork.ini it is also here, I obviously deleted the saved passwords and usernames. Also I have a few scripts to create a folder, it is for a backup script. That does not work either.:
Code: newbielink:javascript:void(0); [nonactive]
;*** Profile description ***
; For additional options use the profile editor
;
; Computername - max. 15 chars; ? = random A-Z; + = random 0-9
;
; Workgroup - network group to join; max. 15 chars
;
; NetAdapterX.UseDHCP - 0/1 - use dynamic IP address for Netadapter X
; NetAdapterX.IP - Static IP address(es) if DHCP=0 for Netadapter X - comma separated
; NetAdapterX.SM - Static subnet mask(s) if DHCP=0 for Netadapter X - comma separated
; NetAdapterX.DG - Static gateway(s) for Netadapter X - comma separated
; NetAdapterX.DNS - Static DNS server address(es) for Netadapter X - comma separated
; NetAdapterX.WINS - Static WINS server address(es) for Netadapter X - comma separated
; NetAdapterX.MAC - Selfdefined MAC address for Netadapter X
; NetAdapterX.Filter - Simple filter usage:
;                         devicename::xyz||deviceid=xyz||servicename==xyz||lowerrange::xyz
;                         :: -> case insensitive string check
;                         == -> case sensitive string compare
;                         =  -> case insensitive string compare
;                         || -> strings limiter (OR)
;                         Samples:
;                         devicename::gigabit||deviceid::PCI\VEN_8086&DEV_10BF
;                         lowerrange::wlan||lowerrange::wifi||servicename=rtl8187b
;
; StartSharing - Yes/No - Automatically start sharing after starting all network services
; ShareAll - Yes/No - Automatically share all local drives
;
; Netpath - predefined network path's which appear in network connect dialog
;
; Desc.LineX - Profile description starting with index 1
;
; CMDStart.CMDX - Command to run after starting network; starting with index 1
; CMDStart.StartX - Normal/Hide/Minimized/Maximized; command startup mode; starting with index 1
; CMDStart.WaitX - Wait/Nowait; command wait, means: just executing or wait until finished
;
; CMDChange.CMDX - Command to run after changing IP address; starting with index 1
; CMDChange.StartX - Normal/Hide/Minimized/Maximized; command startup mode; starting with index 1
; CMDChange.WaitX - Wait/Nowait; command wait, means: just executing or wait until finished
;
;****************************

[PENetwork]
ProfileDefault=Dynamic IP address
UseProfileSelect=Yes
UseProfileCountdown=Yes
ProfileCountdown=5
;AutoStart=No
;FocusNo=Yes
;UseStartCountdown=Yes
;StartCountdown=10
;StartMode=1
;UseProfiles=Yes
;Debug=Yes
;EnableAutoIP=No
;ForceScanOnStartup=No
;ShowTrayActivity=Yes
;ShowMain=Yes
;MinimizeToTray=No
;GUIDisable=127
UseOSFont=Yes
GlobalFont=Tahoma
UseIniIcons=No
Icon0=%SystemRoot%\System32\imageres.dll,171 ; Properties tab
Icon1=%SystemRoot%\System32\urlmon.dll,4 ; Computer tab
Icon2=%SystemRoot%\System32\shell32.dll,127 ; Sharing tab
Icon3=%SystemRoot%\System32\shell32.dll,274 ; Network drives tab
Icon4=%SystemRoot%\System32\shell32.dll,261 ; Profiles tab
Icon5=%SystemRoot%\System32\shell32.dll,22 ; Other tab
Icon6=%SystemRoot%\System32\shell32.dll,24 ; About tab
Icon7=%SystemRoot%\System32\netshell.dll,127 ; WiFi tab
Icon8=%SystemRoot%\System32\netshell.dll,128 ; No WiFi tab
Icon9=%SystemRoot%\System32\setupapi.dll,13 ; Advanced tab
Icon10=%SystemRoot%\System32\netshell.dll,150 ; Up
Icon11=%SystemRoot%\System32\netshell.dll,151 ; Down
Icon12=%SystemRoot%\System32\urlmon.dll,1 ; OK
Icon13=%SystemRoot%\System32\shell32.dll,132 ; Cancel/Close
Icon14=%SystemRoot%\System32\netshell.dll,98 ; Apply
Icon15=%SystemRoot%\System32\netshell.dll,151 ; Plus
Icon16=%SystemRoot%\System32\urlmon.dll,2 ; Minus
Icon17=%SystemRoot%\System32\shell32.dll,239 ; Refresh
Icon18=%SystemRoot%\System32\shell32.dll,0 ; Search
Icon19=%SystemRoot%\System32\netshell.dll,98 ; Edit
Icon20=%SystemRoot%\System32\shell32.dll,150 ; Network drive connect
Icon21=%SystemRoot%\System32\shell32.dll,11 ; Network drive disconnect
Icon22=%SystemRoot%\System32\imageres.dll,162 ; Disabled state
Icon23=%SystemRoot%\System32\shell32.dll,138 ; Start
Icon24=%SystemRoot%\System32\shell32.dll,220 ; Stop
Icon25=%SystemRoot%\System32\shell32.dll,135 ; Import
Icon26=%SystemRoot%\System32\shell32.dll,133 ; Export
Icon27=%SystemRoot%\System32\shell32.dll,247 ; Arrow backwards
Icon28=%SystemRoot%\System32\shell32.dll,247 ; Double arrow up
Icon29=%SystemRoot%\System32\shell32.dll,248 ; Double arrow down
Icon30=%SystemRoot%\System32\shell32.dll,261 ; Open profile with external editor
Icon31=%SystemRoot%\System32\shell32.dll,177 ; Trace start
Icon32=%SystemRoot%\System32\shell32.dll,220 ; Trace stop
Icon33=%SystemRoot%\System32\shell32.dll,248 ; GUI resize button
Icon34=%SystemRoot%\System32\netshell.dll,152 ; WiFi percentage 0
Icon35=%SystemRoot%\System32\netshell.dll,153 ; WiFi percentage 1-20
Icon36=%SystemRoot%\System32\netshell.dll,154 ; WiFi percentage 21-40
Icon37=%SystemRoot%\System32\netshell.dll,155 ; WiFi percentage 41-60
Icon38=%SystemRoot%\System32\netshell.dll,156 ; WiFi percentage 61-80
Icon39=%SystemRoot%\System32\netshell.dll,157 ; WiFi percentage 81-100
Icon40=%SystemRoot%\System32\imageres.dll,102 ; WiFi sercured
Icon41=%SystemRoot%\System32\imageres.dll,101 ; WiFi unsecured
Icon42=%SystemRoot%\System32\shell32.dll,19 ; WiFi infrastructure network
Icon43=%SystemRoot%\System32\netshell.dll,103 ; WiFi infrastructure connected
Icon44=%SystemRoot%\System32\netshell.dll,88 ; WiFi adhoc network
Icon45=%SystemRoot%\System32\netshell.dll,112 ; WiFi adhoc connected
Icon46=%SystemRoot%\System32\shell32.dll,44 ; WiFi favorite/preferred network
Icon47=%SystemRoot%\System32\shell32.dll,0 ; 802.11n
Icon48=%SystemRoot%\System32\shell32.dll,0 ; 802.11g
Icon49=%SystemRoot%\System32\shell32.dll,0 ; 802.11b
Icon50=%SystemRoot%\System32\shell32.dll,0 ; 802.11a
Icon51=%SystemRoot%\System32\shell32.dll,0 ; 802.11ac
Icon52=%SystemRoot%\System32\netshell.dll,98 ; WiFi connect
Icon53=%SystemRoot%\System32\shell32.dll,132 ; WiFi disconnect
Icon54=%SystemRoot%\System32\shell32.dll,19 ; WiFi infrastructure network in preffered list
Icon55=%SystemRoot%\System32\netshell.dll,103 ; WiFi infrastructure connected in preffered list
Icon56=%SystemRoot%\System32\netshell.dll,88 ; WiFi adhoc network in preffered list
Icon57=%SystemRoot%\System32\netshell.dll,112 ; WiFi adhoc connected in preffered list
Icon58=%SystemRoot%\System32\imageres.dll,-114 ; WiFi service
Icon59=%SystemRoot%\System32\shell32.dll,-273 ; Computer ident
Icon60=%SystemRoot%\System32\imageres.dll,140 ; Ping icon
Icon61=%SystemRoot%\System32\imageres.dll,-114 ; Sharing service
Icon62=%SystemRoot%\System32\shell32.dll,276 ; Normal share
Icon63=%SystemRoot%\System32\shell32.dll,275 ; Hidden share
Icon64=%SystemRoot%\System32\shell32.dll,14 ; Network browse domain/workgroup
Icon65=%SystemRoot%\System32\shell32.dll,16 ; Network browse computer/server
Icon66=%SystemRoot%\System32\shell32.dll,276 ; Network browse normal share
Icon67=%SystemRoot%\System32\shell32.dll,275 ; Network browse hidden share
Icon68=%SystemRoot%\System32\shell32.dll,14 ; Language
Icon69=%SystemRoot%\System32\imageres.dll,67 ; Scheme
Icon70=%SystemRoot%\System32\shell32.dll,13 ; Debug mode
Icon71=%SystemRoot%\System32\shell32.dll,25 ; Start directly in tray
Icon72=%SystemRoot%\System32\shell32.dll,248 ; Minimize to tray
Icon73=%SystemRoot%\System32\imageres.dll,219 ; Close to tray
Icon74=%SystemRoot%\System32\netshell.dll,126 ; Connection activity in tray
Icon75=%SystemRoot%\System32\shell32.dll,291 ; Show default tooltip
Icon76=%SystemRoot%\System32\imageres.dll,106 ; Remember last position
Icon77=%SystemRoot%\System32\shell32.dll,241 ; Remember last open page
Icon78=%SystemRoot%\System32\imageres.dll,-114 ; Use WMI
Icon79=%SystemRoot%\System32\netshell.dll,66 ; State LAN connected
Icon80=%SystemRoot%\System32\netshell.dll,71 ; State LAN disconnected
Icon81=%SystemRoot%\System32\netshell.dll,162 ; State WiFi connected
Icon82=%SystemRoot%\System32\netshell.dll,161 ; State WiFi disconnected
AutoStart=Yes
FocusNo=No
UseStartCountdown=No
StartCountdown=10
StartMode=1
UseProfiles=No
Debug=No
EnableAutoIP=No
ForceScanOnStartup=No
ShowTrayActivity=No
ShowMain=Yes
MinimizeToTray=No

[NetProfiles]
Dynamic IP address=
Static IP address=

[Static IP address]
Computername=MININT-PE??++
Workgroup=WORKGROUP
NetAdapter1.UseDHCP=0
NetAdapter1.IP=192.168.0.200
NetAdapter1.SM=255.255.255.0
NetAdapter1.DG=192.168.0.1
NetAdapter1.DNS=
NetAdapter1.WINS=
NetAdapter1.MAC=
StartSharing=
ShareAll=
NetPath=
Desc.Line1=IP: 192.168.0.200
Desc.Line2=SM: 255.255.255.0
Desc.Line3=DG: 192.168.0.1
Desc.Line4=Computername: MININT-PE....
Desc.Line5=Workgroup: WORKGROUP

[Dynamic IP address]
Computername=MININT-PE??++
Workgroup=WORKGROUP
NetAdapter1.UseDHCP=1
NetAdapter1.IP=
NetAdapter1.SM=
NetAdapter1.DG=
NetAdapter1.DNS=
NetAdapter1.WINS=
NetAdapter1.MAC=
NetAdapter1.Filter=
StartSharing=
ShareAll=
NetPath=\\192.168.2.33
NetDrv.Path1=\\192.168.5.33\backup
NetDrv.User1=
NetDrv.Pass1=
NetDrv.Letter1=B:
NetDrv.Path2=\\192.168.5.33\applications
NetDrv.User2=635F7361
NetDrv.Pass2=
NetDrv.Letter2=A:
NetDrv.Path3=\\192.168.5.33\tools
NetDrv.User3=
NetDrv.Pass3=
NetDrv.Letter3=T:
NetDrv.Path4=\\192.168.5.33\os
NetDrv.User4=
NetDrv.Pass4=
NetDrv.Letter4=O:
Desc.Line1=IP: DHCP
Desc.Line2=Computername: MININT-PE....
Desc.Line3=Workgroup: WORKGROUP
CMDStart.CMD1=mkdir %systemdrive%\DoNotBackupFilesOnThisDrive
CMDStart.Start1=Normal
CMDStart.Wait1=No
CMDStart.CMD2=mkdir I:\DoNotBackupFilesOnThisDrive
CMDStart.Start2=Normal
CMDStart.Wait2=No

[Dark]
ClrStateGreen =0x00D000
ClrStateRed =0xD25000
ClrSvcStart =0x44DD44
ClrSvcStop =0xDD4444
ClrBtnChkTxt =0x000000
ClrBtnChkBk =0xC5E0F0
ClrBtnChkGrad =0x708090
ClrBtnUnchkTxt =0x000000
ClrBtnUnchkBk =0xE0F5FF
ClrBtnUnchkGrad =0xB0D5D0
ClrBtnDhcpTxt =0x000000
ClrBtnDhcpBk =0xD0F5A8
ClrBtnDhcpGrad =0x90A580
ClrBtnTxtDisabled =0x353535
ClrBtnBkActive =-1
ClrBtnFocus =0xFF9000
ClrBtnNormalTxt =0x000000
ClrBtnNormalBk =0xFEFEFE
ClrBtnNormalGrad =0xB0ADAD
ClrBtnFrame =0x000000
ClrWiFiConnect =0xFF9000
ClrTITxt =0xFFFFFF
ClrTIBk =0xF09040
ClrTIGrad =0x804020
ClrTISelTxt =0xFFA040
ClrTISelBk =0x505050
ClrTISelGrad =0x505050
ClrTIFocus =0xFF9000
ClrTIConfTxt =0x000000
ClrTIConfBk =0xE0E0E0
ClrTIConfGrad =0x606060
ClrTIConfSelTxt =0xFFFFFF
ClrTIConfSelBk =0x707070
ClrTIConfSelGrad =0x707070
ClrGUIBkMain =0x2F2F2F
ClrGUIBk =0x505050
ClrGUIBkSub =0x2F2F2F
ClrGUIBkConf =0x707070
ClrTIWiFiTxt =0x000000
ClrTIWiFiBk =0xD4D4D6
ClrTIWiFiGrad =0xD4D4D6
ClrTIWiFiSelTxt =0x000000
ClrTIWiFiSelBk =0xE6E4E4
ClrTIWiFiSelGrad =0xE6E4E4
ClrGUIBkWiFi =0xE6E4E4
ClrGUIBkAuth =0xE6E4E4
ClrLblNormal =0xFFFFFF
ClrLblConf =0xFFFFFF
ClrLblWiFi =0x000000
ClrLVWiFiBk =0x2F2F2F
ClrLVWiFiTxt =0xFFFFFF
ClrLVSharesTxt =0xFFFFFF
ClrLVSharesBk =0x2F2F2F
ClrLVDrivesTxt = 0xFFFFFF
ClrLVDrivesBk = 0x2F2F2F
ClrLVNetDrvTxt =0xFFFFFF
ClrLVNetDrvBk =0x2F2F2F
ClrLVPingTxt =0xFFFFFF
ClrLVPingBk =0x2F2F2F
ClrLProfileTxt =0xFFFFFF
ClrLProfileBk =0x2F2F2F
ClrLExtTxt =0xFFFFFF
ClrLExtBk =0x2F2F2F


[Schemes]
Default=
Scheme1=Dark
Scheme2=Win8
Scheme3=Win10

[Win8]
ClrStateGreen=0x007500
ClrStateRed=0xB00000
ClrSvcStart=0x6EE66E
ClrSvcStop=0xE66E6E
ClrBtnChkTxt=0x000000
ClrBtnChkBk=0xC8DCFF
ClrBtnChkGrad=0xB4C8E6
ClrBtnUnchkTxt=0x000000
ClrBtnUnchkBk=0xDCFAF0
ClrBtnUnchkGrad=0xC8E6DC
ClrBtnDHCPTxt=0x000000
ClrBtnDHCPBk=0xE6F5C3
ClrBtnDHCPGrad=0xD2E19B
ClrBtnTxtDisabled=0x808080
ClrBtnBkActive=-1
ClrBtnFocus=0x606060
ClrBtnNormalTxt=0x000000
ClrBtnNormalBk=0xF2F2F2
ClrBtnNormalGrad=0xDCDCDC
ClrBtnFrame=0x3399FF
ClrWiFiConnect=0x646EE6
ClrTITxt=0x000000
ClrTIBk=0xE6E6E6
ClrTIGrad=0xD2D2D2
ClrTISelTxt=0x000000
ClrTISelBk=0xFAFAFA
ClrTISelGrad=0xFAFAFA
ClrTIFocus=0x606060
ClrTIConfTxt=0x000000
ClrTIConfBk=0xE6E6E6
ClrTIConfGrad=0xD2D2D2
ClrTIConfSelTxt=0x000000
ClrTIConfSelBk=0xEEEEEE
ClrTIConfSelGrad=0xEEEEEE
ClrTIWiFiTxt=0x000000
ClrTIWiFiBk=0xE6E6E6
ClrTIWiFiGrad=0xD2D2D2
ClrTIWiFiSelTxt=0x000000
ClrTIWiFiSelBk=0xFAFAFA
ClrTIWiFiSelGrad=0xFAFAFA
ClrGUIBkMain=0xEEEEEE
ClrGUIBk=0xFAFAFA
ClrGUIBkSub=0xEEEEEE
ClrGUIBkConf=0xEEEEEE
ClrGUIBkWiFi=0xFAFAFA
ClrGUIBkAuth=0xF0F0F0
ClrLblNormal=0x000000
ClrLblConf=0x000000
ClrLblWiFi=0x000000
ClrLVWiFiTxt=0x000000
ClrLVWiFiBk=0xFFFFFF
ClrLVSharesTxt=0x000000
ClrLVSharesBk=0xFFFFFF
ClrLVNetDrvTxt=0x000000
ClrLVNetDrvBk=0xFFFFFF
ClrLVPingTxt=0x000000
ClrLVPingBk=0xFFFFFF
ClrLProfileTxt=0x000000
ClrLProfileBk=0xFFFFFF
ClrLExtTxt=0x000000
ClrLExtBk=0xFFFFFF
ClrGUIBkFrame=0x9E9E9E
ClrGUIBkConfFrame=0x9E9E9E
ClrGUIBkWiFiFrame=0x9E9E9E
[Win10]
ClrStateGreen=0x007500
ClrStateRed=0xB00000
ClrSvcStart=0x6EE66E
ClrSvcStop=0xE66E6E
ClrBtnChkTxt=0x000000
ClrBtnChkBk=0xB4C8E6
ClrBtnChkGrad=0xB4C8E6
ClrBtnUnchkTxt=0x000000
ClrBtnUnchkBk=0xC8E6C8
ClrBtnUnchkGrad=0xC8E6DC
ClrBtnDHCPTxt=0x000000
ClrBtnDHCPBk=0xD2E19B
ClrBtnDHCPGrad=0xD2E19B
ClrBtnTxtDisabled=0x808080
ClrBtnBkActive=0xE1E1E1
ClrBtnFocus=0x0078D7
ClrBtnNormalTxt=0x000000
ClrBtnNormalBk=0xE1E1E1
ClrBtnNormalGrad=0xE1E1E1
ClrBtnFrame=0xADADAD
ClrWiFiConnect=0x646EE6
ClrTITxt=0x000000
ClrTIBk=0xF2F2F2
ClrTIGrad=0xF2F2F2
ClrTISelTxt=0x000000
ClrTISelBk=0xC0C0C0
ClrTISelGrad=0xC0C0C0
ClrTIFocus=0x606060
ClrTIConfTxt=0x000000
ClrTIConfBk=0xF2F2F2
ClrTIConfGrad=0xF2F2F2
ClrTIConfSelTxt=0x000000
ClrTIConfSelBk=0xC0C0C0
ClrTIConfSelGrad=0xC0C0C0
ClrTIWiFiTxt=0x000000
ClrTIWiFiBk=0xF2F2F2
ClrTIWiFiGrad=0xF2F2F2
ClrTIWiFiSelTxt=0x000000
ClrTIWiFiSelBk=0xC0C0C0
ClrTIWiFiSelGrad=0xC0C0C0
ClrGUIBkMain=0xF2F2F2
ClrGUIBk=0xFFFFFF
ClrGUIBkSub=0xEEEEEE
ClrGUIBkConf=0xFFFFFF
ClrGUIBkWiFi=0xFFFFFF
ClrGUIBkAuth=0xF0F0F0
ClrLblNormal=0x000000
ClrLblConf=0x000000
ClrLblWiFi=0x000000
ClrLVWiFiTxt=0x000000
ClrLVWiFiBk=0xFFFFFF
ClrLVSharesTxt=0x000000
ClrLVSharesBk=0xFFFFFF
ClrLVNetDrvTxt=0x000000
ClrLVNetDrvBk=0xFFFFFF
ClrLVPingTxt=0x000000
ClrLVPingBk=0xFFFFFF
ClrLProfileTxt=0x000000
ClrLProfileBk=0xFFFFFF
ClrLExtTxt=0x000000
ClrLExtBk=0xFFFFFF
ClrGUIBkFrame=0xC0C0C0
ClrGUIBkConfFrame=0xC0C0C0
ClrGUIBkWiFiFrame=0xC0C0C0
ClrBtnFrameDisabled=0xADADAD

Re: Auto Drive Mapping Fails
« Reply #1 on: November 10, 2017, 01:40:13 PM »

bob.omb

  • Chef
  • ***
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 162
You could always use autorun.cmd until someone posts a better answer

Code: [Select]
NET USE N: \\IPaddress\foldername /user:<username> <password>

How to edit end of autorun file in meantime until PENetwork question is answered:
http://theoven.org/index.php?topic=2283.msg24609;topicseen#msg24609
« Last Edit: November 10, 2017, 02:13:18 PM by bob.omb »

Re: Auto Drive Mapping Fails
« Reply #2 on: November 11, 2017, 04:43:20 AM »

ChrisR

  • Moderator, Win7PE SE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 2911
In your PEnetwork.ini, I noticed that you have a different address between the NetPath and the NetDrv.Path
To create network drives in addition to PENetwork.ini you could probably use PeNetwork_After.cmd in "CMDs after startup"
with inside Net Use B: \\192.168.5.33\backup /user:<username> <password> and others.

 

Powered by EzPortal