zeezam Posted April 23, 2010 Share Posted April 23, 2010 I have several images uploaded to my wds server and two different unattend file, one to the image and one for the whole wds.After I have installed the image to a new computer I get prompted with user account and computer name. I only want to get prompted with computer name, not any creation of local account. Link to comment Share on other sites More sharing options...
MrJinje Posted April 23, 2010 Share Posted April 23, 2010 Just to be sure, are you talking about this page. Or is it a different page you see from WDS Link to comment Share on other sites More sharing options...
zeezam Posted April 23, 2010 Author Share Posted April 23, 2010 Just to be sure, are you talking about this page. Or is it a different page you see from WDS Exactly. Link to comment Share on other sites More sharing options...
MrJinje Posted April 23, 2010 Share Posted April 23, 2010 (edited) Exactly.Bad news, that section of the GUI is a combined page, it is all or none. You cannot separate them, this is a limitation of the windows 7 installation GUI. Your best bet is to fully automate both settings with your unattend.xml, then run a VBS script during SetupComplete.cmd using the old InputBox to enter a computer name.Rename.vbsstrRename = InputBox("Enter new computer name")strComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")Set colComputers = objWMIService.ExecQuery _ ("Select * from Win32_ComputerSystem")For Each objComputer in colComputers err = objComputer.Rename(strRename)NextYou also need to schedule a reboot before it will take effect. Edited April 23, 2010 by MrJinje Link to comment Share on other sites More sharing options...
zeezam Posted April 23, 2010 Author Share Posted April 23, 2010 Exactly.Bad news, that section of the GUI is a combined page, it is all or none. You cannot separate them, this is a limitation of the windows 7 installation GUI. Your best bet is to fully automate both settings with your unattend.xml, then run a VBS script during SetupComplete.cmd using the old InputBox to enter a computer name.Rename.vbsstrRename = InputBox("Enter new computer name")strComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")Set colComputers = objWMIService.ExecQuery _ ("Select * from Win32_ComputerSystem")For Each objComputer in colComputers err = objComputer.Rename(strRename)NextYou also need to schedule a reboot before it will take effect.Ok, because I creat local accounts in unattend.xml. I thought I had a setup before where I just get prompted with the computer name and after that were able to log in with my created account. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now