Solved

Sysprep windows 7

Posted on 2011-03-17
7
1,031 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:wajhiuddin
  • 3
  • 3
7 Comments
 
LVL 18

Expert Comment

by:Rartemass
ID: 35162245
You should be able to use the GUIRunOnce section of sysprep.inf

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

[GUIRunOnce]
; Once the computer has rebooted and we log in, execute these commands
;
Command0="C:\WINDOWS\app1.exe"

You should be able to run multiple commands by using Command1, Command2, etc.
Or you could run a batch file that runs multiple commands.
0
 
LVL 18

Expert Comment

by:Rartemass
ID: 35162251
This article should assist with options:
http://technet.microsoft.com/en-us/library/cc961065.aspx
0
 
LVL 18

Assisted Solution

by:Rartemass
Rartemass earned 250 total points
ID: 35162284
Another options is the cmdlines.txt file. Details here:
http://support.microsoft.com/kb/238955
http://unattended.msfn.org/unattended.xp/view/web/14/

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.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:wajhiuddin
ID: 35162656
i don't think sysprep.inf exists in windows 7 does it? I don't see GUIRunOnce in answer file?
0
 
LVL 8

Accepted Solution

by:
teomcam earned 250 total points
ID: 35173033
Hi,

The GuiRunOnce in Windows XP is equivalent to SynchronousCommand in Windows Vista or later.
Please follow the link http://technet.microsoft.com/en-us/library/cc766494%28WS.10%29.aspx
0
 

Author Comment

by:wajhiuddin
ID: 35189602
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

http://theitbros.com/sysprep-a-windows-7-machine-%E2%80%93-start-to-finish
0
 

Author Closing Comment

by:wajhiuddin
ID: 35189624
Wasn't the answer I was looking
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

773 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