Jump to content


  • 0
anyweb

How can I capture Windows 7

Question

As this is requested a lot, here's how to make it easier for you to Capture Windows 7. Note that this method is not recommended as you should use the Build and Capture method to capture Windows 7 and the computer should not join the domain, that said, if you still want to capture a domain joined computer and you are willing to deploy that captured image (with registry settings from Domain Joining, gpo's etc...) then read on...

 

Import the following Task Sequence into ConfigMgr by right clicking on the Task Sequences node of Operating System Deployment in ConfigMgr, and choose Import.

 

capture Windows 7 X86.xml

 

Once Imported you will have to supply it with two packages namely your X86 boot image and a new package called AutoLogin_windows7

 

The Autologin_windows7 packgage contains a registry file and a program

 

the Program is as follows:

 

reg import "autologin_windows7.reg"

 

autologin_enable.jpg

 

the properties are as follows:

 

autologin_properties.jpg

 

and the autologin_windows7.reg registry file contains the following

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

"AutoAdminLogon"="1"
"DefaultUserName"="Administrator"
"DefaultPassword"="password"

 

replace password above with the local admin password...

 

once done, make sure to edit your task sequence so that it's using your X86 boot image by right clicking on the Task Sequence, select properties and select the correct boot image,

 

boot image.jpg

 

then make sure that the Task Sequence is using your new autologin package by right clicking on the Task Sequence and choose Edit,

 

autologin via registry.jpg

 

finally advertise it to a capture windows 7 collection and add a computer to that collection using direct membership

 

capture collection.jpg

 

After you've added the computer to the collection, start it up, login to Windows, open control panel, open the RAP (run advertised programs) and kick off the Capture windows 7 task sequence.

 

Side note: you'll need to create a step in your deploy task sequence to remove the registry autologin values otherwise the deployed image will attempt auto login on first boot..

 

Further Reading:

 

1. Auto Login as part of OSD Task Sequence

2. Login Single Domain User for Caching After Imaging via Task Sequence

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

Anyone? :P

 

Hmmm.....Maybe i should manage the computer from workgroup using SLP...looks like they are communicating. Will try the capture when i got some time

 

should work, have you tried it ? just disable the un-needed steps

Share this post


Link to post
Share on other sites

  • 0

the task sequence was for X86 so you'll have to check that in the XML file as your's is for X64... edit your xml file in notepad or whatever and verify/replace the x86 bits with amd64 bits instead, once you have it working please post your sample X6 capture windows 7 Task Sequence here and i'll add it to the first post.

 

 

Hmmm... When I imported the xml file, I made sure I switched to an x64 Boot Image. All other references to x86 appear to be purely descriptive and non-functional, but I made sure I changed them anyway. My question was how to fix the 0x00004005 error which I'm still getting...

Share this post


Link to post
Share on other sites

  • 0

odd, ok tell me at what point it fails because your log didn't reveal anything interesting, however i'll take another look to be sure

 

are you sure you have the configmgr SP2 client installed on the client ?

Share this post


Link to post
Share on other sites

  • 0

Yes it's the SP2 client. The TS is successfully advertised to the client, it runs, reboots, appears to login automatically, runs through the 'preparing configmgr client' stage, then fails on the 'running sysprep command' as the screenshot shows with just the 00004005 error, but nothing useful logged...

Share this post


Link to post
Share on other sites

  • 0

For the life of me i cannot get this capture to work and I think i may have a concussion from pounding my head against my desk. OK so I've loaded Windows 7 ent x86 on a VM, logged in as the local administrator, I change all the settings to my liking and I'm ready to capture. Right?

 

I've imported the TS, supplied it with a x86 boot image and created a autologin package that contains the reg import "autologin_win7.reg" program.

 

autologin_win7.reg =

 

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

 

"AutoAdminLogon"="1"

"DefaultUserName"="Administrator"

"DefaultPassword"="my admin password"

 

 

From my local administrator account which I've configured all my settings I open RAP and run the capture TS. The TS seems to run fine it does the capture but after it finishes Windows 7 starts up at the "Set Up Windows" screen. All of my settings are wiped out and the local admin account is disabled. What am I doing wrong? Someone please help!

Share this post


Link to post
Share on other sites

  • 0

If you didnt already get this fixed try checking "do not reset activation flag" in the task sequence under prepare OS.

 

Got this error and it turns out ive been capturing the same image to many times :)

 

 

Tried this and it doesent work.

You need to add the <SkipRearm>1</SkipRearm> as described here but i dont really know how to add it to the task sequence...

http://support.microsoft.com/kb/929828

Share this post


Link to post
Share on other sites

  • 0

Hi,

 

Followed the steps to capture a windows 7 test laptop but from the RAP on the client I don't see the advertised task. Message on the RAP - "No programs are availabe on the network".

 

Checked the advertised task and this is setup ok. added the laptop into the collection OU.

 

appreciate any advice/assisitance ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.