Sysprep and GuiRunOnce

A

Aaron Wright

We have several Ghost images in our company, one for each model
computer. In sysprep.inf, we have several custom things set up. We
have the admin password set, AutoLogon=Yes, and AutoLogonCount=1. In
the GuiRunOnce section, Command0 mounts a network drive to a drive
letter using an unprivileged username and password. Then Command1 runs
a VB script from that mounted network drive.

This setup has worked fine for all our images so far. But I just
created an image for a new model laptop we started getting. Everything
is working except the GuiRunOnce section. It gets the correct machine
name, it joins the domain, and it logs in as the local administrator.
But it doesn't not run Command0 or Command1. I'm not sure what is
causing this, and I've exhausted all my ideas. Can anyone offer some
insight as to why this might be happening? What other information can
I provide?

Thanks for your help!
Aaron
 
G

Gordon Fecyk

Everything
is working except the GuiRunOnce section. It gets the correct machine
name, it joins the domain, and it logs in as the local administrator.
But it doesn't not run Command0 or Command1.

I read in the XP OPK that this section only gets used if you use Mini-Setup
instead of Windows Welcome. To use mini-setup you either turn on "Use
Mini-Setup" in Sysprep's GUI (if you're using one that has a GUI) or you use
sysprep -mini on the command line.

Can anyone else verify this behaviour? I'd have stuck with mini-setup
myself except XP Home doesn't support it. Or at least the mini-setup option
isn't available to me when I run Sysprep on XP Home, though it is available
on XP Pro.
 
A

Aaron Wright

Yes, I am using the -mini switch. I should have mentioned that in my
post.

I think I figured out this specific problem. I added a sleep statement
before it mounts the network drive, and that seems to have fixed the
problem. I'm having another problem, but I'm going to start a new post
for it.

Thanks!
Aaron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top