Sysprep windows 7

We need to run sysprep on all our windows 7 project latop as far as running it it's looks like fine
and runs OK. But we need to know how we can add a program to run once sysprep finishes it
and I have no idea what to do. I played around with WAIK can't figure out how to do it
any one hav any idea
Who is Participating?
teomcamConnect With a Mentor Commented:

The GuiRunOnce in Windows XP is equivalent to SynchronousCommand in Windows Vista or later.
Please follow the link
RartemassAuthor, martial arts coach, IT ConsultantCommented:
You should be able to use the GUIRunOnce section of sysprep.inf

Example, you want to execute C:\Windows\app1.exe
Use something like:

; Once the computer has rebooted and we log in, execute these commands

You should be able to run multiple commands by using Command1, Command2, etc.
Or you could run a batch file that runs multiple commands.
RartemassAuthor, martial arts coach, IT ConsultantCommented:
This article should assist with options:
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

RartemassConnect With a Mentor Author, martial arts coach, IT ConsultantCommented:
Another options is the cmdlines.txt file. Details here:

This will run the command earlier in the Windows installation, so certain features and tools may not be loaded (like network connections), and only some dos commands are available.
wajhiuddinAuthor Commented:
i don't think sysprep.inf exists in windows 7 does it? I don't see GUIRunOnce in answer file?
wajhiuddinAuthor Commented:
OK finally foud the solutino which is for windwos 7
On the PC you are going to be running sysprep on, you need to create a folder called scripts in this directory: %WINDIR%\Setup\. Now you are going to create a CMD file within the %WINDIR%\Setup\Scripts directory. Right click and make a new text file called SetupComplete.txt. Remove the .txt extension and replace that with .cmd. You now have a SetupComplete.cmd file which windows will read the first time it boots up from the sysprep
wajhiuddinAuthor Commented:
Wasn't the answer I was looking
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.