Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sysprep windows 7

Posted on 2011-03-17
7
Medium Priority
?
1,077 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

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 500 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Assume you have an outside contractor who comes in seasonally or once a week to do some work in your office, but you only want to give him access to the programs and files he needs and keep all other documents and programs private. Can you do this o…
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
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…

715 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