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.

Connect to network during audit phase ...

Featured Replies

Hi guys,

did a search for +audit +network but did not come up with any results so I guess noone has tried this before. I am trying to get the Vista installation to check if a share exists during audit phase and if it does, to install from network instead of DVD. However, it does not seem to work. The share exists and has read rights for the user "everyone", if I try the script from within Windows, it works but during audit user phase it always defaults to installation from DVD instead. The network drivers are installed already (they are slipstreamed into the image), the network cable is connected but the PC does not seem to get an IP during audit phase (checked ipconfig /all) during audit phase.

Here´s the script:

@echo off
SETLOCAL ENABLEEXTENSIONS

if exist "\\server\share" goto servermode
ECHO Running Installation from DVD Drive ...

ping -n 5 127.0.0.1>nul
start "" /wait "%DVDRoot%\install.cmd"

exit

:servermode

PUSHD \\server\share
ECHO Running Installation from Server ...

ping -n 5 127.0.0.1>nul

FOR %%j IN (Z Y X W V U T S R Q P O N M L K J I H G F E D) DO IF EXIST "%%j:\Installation\install.cmd" set DRIVE=%%j

start "" /wait "%DRIVE%:\Installation\install.cmd"
POPD

exit

Do you guys have any ideas how to solve that problem ?

Thanks,

Alex

Edited by midiboy


  • Author

Hi guys,

a short update on this. I am now testing inside a VMWare machine with the vmware network drivers integrated into the Vista image so it has network working during audit phase.

I was wrong the first time. Windows does get an IP and I can ping the server. It seems to be a rights issue. If I open a cmd during audit phase and try to do this:

net use Z: \\server\share

I get asked for a username and password.

So for testing, I then added the user anonymous to the share and NTFS rights on the server and gave it read rights but "net use" still asks for a user/password.

How can I mount this drive without writing a user/password combination into the cmd on the disc ?? Any ideas ? It would be ok if the user/pw would be encrypted somehow but how can a password be encrypted for the net use command in a cmd ??

Thanks for your help !

Alex

Edited by midiboy

this is to do with your network.

create a seperate account

i use:

net use n: \\server\share /user:USER PASSWORD

<EDIT> got a bit too far ahead of myself here, i'll read a bit more thouroughly next time </EDIT>

Edited by Atheros

  • Author

Hi Atheros,

thanks for replying. However I would like to avoid using net use because I would either have to add the passwort in cleartext into the cmd or I would get prompted for the password which interrupts the unattended installation.

I have seen that WSIM allows credentials to be added to a synchronous command. However, contrary to the password for the administrator which can also be set in the autounattend.xml, the password cannot be encoded and is also written in cleartext which I don´t want.

So what other way is there ? Any ideas ?

Thanks for your help,

Alex

have you tried messing about with WMIC?

most of the commands in there are out of my league but it looks promising.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

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.