Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Windows PE NET problems

Featured Replies

Hi,

Thanks for a great forum.

I experience some difficulties when I try to mount a network drive. It seems to me that the networks isn't up and running when the commands are executed.. I use Windows PE, and here is my STARTNET.CMD:

factory -winpe
cls
@echo off
net use x: \\xxx\install
x:
cd I386
format c: /y
winnt32 /unattend:unattend.txt
exit

Simple, but gets the job done.

When running the script I get errormsg 1231: The network location cannot be reached. If I put a pause before the net use command it workes perfectly, but that misses the point of an unattended installation.

Second, I want to use net use x: \\xxx\install /USER:user password which works like a charm when used after everything is loaded, but when I use in startnet.cmd it gives me a different errormsg, even with a pause.

Ideas or solutions?

- ntfs

here is the file that i use that works fine

@echo off
TITLE  CLOSE ME TO REBOOT
START "Installing Components" /MIN OC2.bat
START /MIN taskmgr
factory -winpe
ipconfig /all
net use z: \\SYSEMNAME\SHARE /USER:SYSTEMNAME\USER-NAME /PERSISTENT:NO "PASSWORD HERE"
"x:\program files\Ghost8\ghost32.exe"

  • 2 weeks later...

1. The net could be failing for all sorts of reasons -- usually the retry will fix it though. Change your startnet to do something like:

net use x: \\xxx\install

if %errorlevel% NEQ 0 net use x: \\xxx\install

If you still experience failures you could make it loop until it succeeds

factory -winpe
call NetConnect
[rest of your script goes here]

goto :EOF
:NetConnect
net use x: \\xxx\install
if %errorlevel% NEQ 0 goto NetConnect
goto :EOF

2. WinPE runs in a weird user context -- make sure that when you net use to another system using local credentials that you tell it where to get 'em:

Instead of this:

net use x: \\xxx\install /USER:user password

Do this:

net use x: \\xxx\install /USER:XXX\user password

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.