MSFN Forum: No keyboard and mouse after deploying a syspreped image - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

No keyboard and mouse after deploying a syspreped image Rate Topic: -----

#1 User is offline   mindless 

  • Group: Members
  • Posts: 4
  • Joined: 06-November 05

Posted 06 November 2005 - 02:58 AM

Hi,

To prepare my image I have set up a VMWare Workstation (4.5) virtual machine and installed Windows XP SP2 and some applications. I then syspreped (-reseal -mini -pnp) and ghosted this installation to an image.

When I try to deploy the image to a IBM Thinkpad A20m, the mini-setup starts fine, but when the first window appears where I need to press the NEXT button, I figure out that I have neither mouse nor keyboard control :-(

any ideas?

bye
Marcus.

This post has been edited by mindless: 07 November 2005 - 03:51 PM



#2 User is offline   Scrapple 

  • Newbie
  • Group: Members
  • Posts: 46
  • Joined: 19-June 05

Posted 06 November 2005 - 06:42 AM

3 ways of doing this:

1) the driver for the mouse and keyboard pc is probably not in the image, so you should include them and set their paths in oempnpdriverspath (sysprep.inf) before sysprepping...
(use the boards' search-function if you don't know how to do this)

2) you could also install the drivers before sysprepping with setupcopyoeminf.exe. That way makes sure windows driver-database knows about them.

3) If you want to have the drivers working really early in the boot-up process, you should make the settings under the [SysprepMassStorage] section. Yes, this will work with other drivers than massstorage too!
(just like when you would add a mass-storage driver manually in sysprep)

This post has been edited by Scrapple: 06 November 2005 - 06:44 AM


#3 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 06 November 2005 - 07:16 AM

Did you remove some drivers with nLite? (Or did you forget to add the correct drivers?)

#4 User is offline   mindless 

  • Group: Members
  • Posts: 4
  • Joined: 06-November 05

Posted 06 November 2005 - 09:39 AM

Hi,

Well, I didn't remove anything. What I did, I made a sysprep -clean before the reseal.

What really confuses me ist the fact that standard keyboard and mouse devices are used. In the VMWare as well as on the Thinkpad. Usually no special drivers are needed - so I wonder why these drivers are not present when booting the mini setup....

Anyhow, how can I include them in the image? How are the drivers called and where would I find them (they are part of the standard Windows XP installation)?

bye
Marcus.

View PostScrapple, on Nov 6 2005, 01:42 PM, said:

3 ways of doing this:

1) the driver for the mouse and keyboard pc is probably not in the image, so you should include them and set their paths in oempnpdriverspath (sysprep.inf) before sysprepping...
(use the boards' search-function if you don't know how to do this)

2) you could also install the drivers before sysprepping with setupcopyoeminf.exe. That way makes sure windows driver-database knows about them.

3) If you want to have the drivers working really early in the boot-up process, you should make the settings under the [SysprepMassStorage] section. Yes, this will work with other drivers than massstorage too!
(just like when you would add a mass-storage driver manually in sysprep)


This would mean that I need 3rd party drivers. But the Thinkpads Keyboard and mouse usually work with the standard PS/2 drivers that come with Windows XP. I am wondering why these drivers are not included in the image as they are also in use within VMWare where I created the master copy. I am also not sure how to add drivers that are actually part of Windows XP (no idea where they are located, I guess they are already somewhere in c:\windows\system32)

bye
Marcus.

#5 User is offline   Scrapple 

  • Newbie
  • Group: Members
  • Posts: 46
  • Joined: 19-June 05

Posted 06 November 2005 - 04:33 PM

Do not use sysprep -clean before resealing.

What that does is remove all -non present hardware- drivers from the critical driver section in the registry, so they won't load on boot.
You should only do a -clean in runonce when the image is already deployed.

Besides that, I think I know what your problem is. I've had this problem before myself when I built my master-image in VirtualPC. It worked fine on a normal pc when I didn't include the virtual pc additions, but when I installed them in the virtual pc I wouldn't have working keyb/mouse on the deployed machine.

I don't know VMWare, but I suspect it has some kind of additional feature -like the additions in VPC- which will install it's own virtual keyboard/mouse drivers/service, but for which there is no hardware-emulator present on the real deployed pc!

So it's probably not the case that your input-drivers are not present in the image, but there's actually a virtual mouse/key driver loaded that wants to handle it. There's a driver/service too much!!!

The likely solution is to NOT-install or just remove the additional easy-input functionality at all in the virtual machine, before you sysprep and clone it. That way the virtual input driver is not present and not loaded in the deploy pc.

Let us know if it worked.

This post has been edited by Scrapple: 06 November 2005 - 06:05 PM


#6 User is offline   mindless 

  • Group: Members
  • Posts: 4
  • Joined: 06-November 05

Posted 07 November 2005 - 11:40 AM

Hi,

First of all, thanks for your help!

Unfortually I was not very successful yet. I removed the "sysprep -clean" command from my script, but it did not change anything on not having any mouse or keyboard after restoring the image.

About the special drivers: I never installed the VMWare tools which is the VMWare equivalent of what you mentioned above. I left them out on purpose to make sure I am not running into these kind of driver problems...

Any further ideas?

Thanks in advance,
bye
Marcus.

#7 User is offline   mindless 

  • Group: Members
  • Posts: 4
  • Joined: 06-November 05

Posted 07 November 2005 - 03:50 PM

SOLVED!

It seems that he didn't like the -pnp parameter. Actually I am not quite sure why it works now without this parameter, but when I just use -reseal -mini it works fine!

Thanks for all of you participating in my problem!

bye
Marcus.

#8 User is offline   Scrapple 

  • Newbie
  • Group: Members
  • Posts: 46
  • Joined: 19-June 05

Posted 07 November 2005 - 05:18 PM

Glad you solved it.

The "-pnp" switch is only necessary when you want to detect non-pnp (legacy) hardware.

I don't know why this switch stopped the driver loading for key/mouse...
If anyone have any idea why that happens, please tell.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy