Jump to content

Cant Access Network Unless Network Wizard Is Run


Recommended Posts

Not sure what kind of info you need from me, but after running my UA install, I cant access other pcs over my network unless I run the 'Network Setup Wizard' 1st. Ive tested and verified this a few times.

Any ideas?

Thanks!

Link to comment
Share on other sites


You haven't really given us a whole lot to go on.

What version of Windows XP? (Home or Professional)

What type of network (home or corporate, workgroup or domain)?

Is your network card being detected correctly during setup?

What entries have you made in your answer file to configure the network?

Link to comment
Share on other sites

What version of Windows XP? (Home or Professional)
Professional
What type of network (home or corporate, workgroup or domain)?
home, workgroup
Is your network card being detected correctly during setup?
Yes.
What entries have you made in your answer file to configure the network?
[Identification]
JoinWorkgroup = MSHOME

[Networking]
InstallDefaultComponents = Yes

[params.MS_TCPIP.Adapter1]
SpecificTo=Adapter1
DHCP=No
IPAddress = 192.168.1.100
SubnetMask = 255.255.255.0
DefaultGateway = 192.168.1.1
DNSServerSearchOrder = 24.31.152.116,24.25.161.3
WINS = No

[WindowsFirewall]
Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
Mode = 0

[Homenet]
EnableICS = No
ShowTrayIcon = Yes

[TerminalServices]
  AllowConnections=1

durex, yes that's right.

It happens when OOBE is disabled (that is, when unattendswitch=yes).

So youre saying everyone who does a UA install experiences this? No way to get around it?

Thanks for the replies!

Link to comment
Share on other sites

Maybe a solution could be to automate the execution of the Network Setup Wizard, after finishing the Windows installation. Is this possible?  :blink:

Actually its a good idea and I even know the command-line to call it. But it has to finish silently without needing input from us - that's what I dunno how it can happen unattended.
Link to comment
Share on other sites

Well, I havent been able to get the method working outlined in that other thread.. so in the meantime, I wrote a VBScript which launches the Network Setup Wizard, steps through it screen by screen, leaving the defaults on pretty much every one. It then turns the firewall off as the wizard turns it on for some dumb reason.

Dim FSO, WshShell

Set FSO = CreateObject("Scripting.FileSystemObject")
Set WshShell = WScript.CreateObject("WScript.Shell")


WshShell.Run ("rundll32 hnetwiz.dll HomeNetWizardRunDll")

Do until WshShell.AppActivate ("Network Setup Wizard")
   WScript.Sleep 2000
Loop

' Hit N for Next at Welcome Wizard
WshShell.SendKeys "%N"
WScript.Sleep 500


' Hit N for Next at Before you continue...
WshShell.SendKeys "%N"
WScript.Sleep 500


' Hit N for Next at Select connection method
WshShell.SendKeys "%N"
WScript.Sleep 500


' Hit N for Next at Computer Description
WshShell.SendKeys "%N"
WScript.Sleep 500


' Hit N for Next for Network name
WshShell.SendKeys "%N"
WScript.Sleep 5000


' Hit N for Next for File and printer sharing
WshShell.SendKeys "%N"
WScript.Sleep 500


' Hit N for Next for Ready to apply network settings
WshShell.SendKeys "%N"
WScript.Sleep 5000


' Hit J for Just finish the wizard, then N for next
WshShell.SendKeys "%J"
WScript.Sleep 500
WshShell.SendKeys "%N"
WScript.Sleep 500


' Hit Enter to finish wizard
WshShell.SendKeys "{ENTER}"
WScript.Sleep 2000


'Turn off Firewall
WshShell.RegWrite
"HKLM\SYSTEM\\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\Standard
Profile\EnableFirewall", 0, "REG_DWORD"


WScript.Quit

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...