Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Script static IP setup at first boot

Posted on 2013-12-10
4
Medium Priority
?
301 Views
Last Modified: 2013-12-11
Greetings all,

I have dozens of systems that I will be imaging with win 7 64 bit that currently have windows XP 32 bit on them.  These systems will be wiped and reloaded from a .wim image.

Some of these systems are in controlled areas where it is difficult to gain direct physical access.

Because these are in place upgrades on production systems we can not use an automated push of the new OS So SCCM and WDT are out as options.  This must be done remotely and  manually as we check to see if a user is on the system before beginning the work.  My plan is to copy WIN PE startup and image files to a newly created volume manually set it to active and have my scripts install the image without user intervention.  

I have a script that will set the IP, Gateway, Subnet, DNS and WINS.  My hangup is I need a way to "inject" that script into the first boot sequence to set the IP so that we can regain remote access to the unit and finish adding to domain.

Any suggestions?
0
Comment
Question by:bschiel
  • 2
4 Comments
 
LVL 9

Expert Comment

by:gt2847c
ID: 39709584
Have you considered doing a DHCP reservation instead?  That will allow each machine to get the specific address you want without having to inject anything.
0
 

Author Comment

by:bschiel
ID: 39709625
This network does not have one available and the time it takes to get one approved is not acceptable.
0
 
LVL 14

Accepted Solution

by:
Ram Balachandran earned 1500 total points
ID: 39711182
Probably you can make use of SetupComplete.cmd, calling your script from there.

Refer : http://www.tech-recipes.com/rx/21558/how-to-run-commands-after-windows-7-deployment-using-setupcomplete-cmd/
0
 

Author Closing Comment

by:bschiel
ID: 39711650
That was the key I needed to get this done.  Thank you
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question