MSFN Forum: Debut unattended W7 setup woes - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Debut unattended W7 setup woes

#21 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 14 September 2010 - 12:36 PM

Mikka!
You can have more help inside "Unattended Windows Setup Reference for Windows 7.chm"

Quote

FullName
FullName specifies the name of the end user.

Values
User_name
Specifies the name of the end user. User_name is a string with a maximum length of 63 characters.

This string type does not support empty elements. Do not create an empty value for this setting.

Rgards

This post has been edited by myselfidem: 14 September 2010 - 12:36 PM



#22 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 September 2010 - 12:10 AM

Hello!

How to Enable/Disable Features and how to Remove/Add Packages:
Windows 7
Mr Jinje DISM Tool
Regards

#23 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 September 2010 - 02:11 AM

Mikka!

If you want use DISM yourself, you can have some help here:
DiverPacks.net
Enable or Disable a feature from a Wim Image using DISM

Reference.chm for Windows 7

Quote

Windows 7 Packages
If a package is enabled, all of its parent hierarchy must also be enabled. To view the entire hierarchy, see the individual package topics.
Use the command to enable or to disable the Windows feature in a Command Prompt window. The command is case-sensitive.


As an example for Windows 7 Ultimate x86: Using DISM

If you have only one Image, use: /index:1

Use Command with Admin rights!
Browse to "Servicing\DISM" to your needs: "x86\Servicing\Dism.exe" or "amd64\Sevicing\Dism.exe"

Example with x86!
-----------------
First create an temp folder: Example here: "C:\test"
Mount your Image with DISM:

C:\Program Files\Windows AIK\Tools\x86\Servicing>Dism.exe /mount-wim /wimfile:"C:\Win7\sources\install.wim" /index:5 /mountdir:"C:\test"


Get Packages Info about your Image:
C:\Program Files\Windows AIK\Tools\x86\Servicing>Dism.exe /Image:C:\test /Get-Packages >C:\Packages.txt


Get Features Info about your Image:
C:\Program Files\Windows AIK\Tools\x86\Servicing>Dism.exe /Image:C:\test /Get-Features /Format:List >C:\Features.txt


Example for Disable-Feature:
C:\Program Files\Windows AIK\Tools\x86\Servicing>Dism.exe /Image:C:\test /Disable-Feature /?



Disable "InboxGames" Feature:
C:\Program Files\Windows AIK\Tools\x86\Servicing>Dism.exe /Image:C:\test /Disable-Feature /FeatureName:InboxGames


Example: Remove Package:
C:\Program Files\Windows AIK\Tools\x86\Servicing>Dism.exe /Image:C:\test /Remove-Package /?


Unmount and Commit your Image:
C:\Program Files\Windows AIK\Tools\x86\Servicing>Dism.exe /unmount-wim /mountdir:"C:\test" /commit

Regards

*Edit: I will make an French guide using DISM for Windows 7! ;)

This post has been edited by myselfidem: 16 September 2010 - 08:03 AM


#24 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 72
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 15 September 2010 - 09:06 AM

View Postmyselfidem, on 15 September 2010 - 02:11 AM, said:

*Edit: I will make an French guide using DISM for Windows 7! ;)


I don't mind reading francophone tutorials as long as they're good. ;)

In the meantime I injected some registry settings into the install.wim, which results in a much better default user account. I have to get used to the DISM Tool, but will first try out your given examples.

Thanks a bunch for your help!

Greetings,
Mikka

#25 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 September 2010 - 12:29 PM

Hello Mikka! :rolleyes:
Here is the French guide about DISM

Thanks to tell me if it's needed some changes, or add more informations!
Regards

This post has been edited by myselfidem: 15 September 2010 - 12:30 PM


#26 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 72
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 15 September 2010 - 02:18 PM

What's the main audience?
It's quite colourful, with many font types and highlighting, therefore I ask.

Anyhow, I find it easy to follow.

#27 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 September 2010 - 03:03 PM

View PostMikka, on 15 September 2010 - 02:18 PM, said:

What's the main audience?
It's quite colourful, with many font types and highlighting, therefore I ask.

Anyhow, I find it easy to follow.

Thanks for your advice! :rolleyes:
The main audiance is useful for me, at first, because sometimes I forgot some tweaks, tips and commands. It's like a book, you know!
In six months, I'd be happy to find an explanation that I have forgotten, do not waste time searching and give help for few people interested!
Believe me, I read my owns tutorials when I need to refresh my memory!!

Yes, I like colors! :rolleyes:

Btw, how did you find to integrate "HKCU.reg" or reg files, inside wim image?
With: reg.exe load and DISM?

Regards

This post has been edited by myselfidem: 15 September 2010 - 04:01 PM


#28 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 72
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 16 September 2010 - 05:08 AM

View Postmyselfidem, on 15 September 2010 - 03:03 PM, said:

Btw, how did you find to integrate "HKCU.reg" or reg files, inside wim image?
With: reg.exe load and DISM?

Basically, I followed the instructions given in this blog article.
For a start I didn't cram all my settings into it, so I selected a few that I inserted by hand via Regedit.

Of course, as this turned out to work flawlessly, I ponder on some semi-automatic solution for importing prepared reg files instead of manual manipulations, allowing to easily apply a HKCU.reg and a HKLM.reg.
This is a by far better practice than messing around with an existing default user profile in an unknown and potentially unstable state.

By the way, maybe an addition for your tutorial:
I noticed that for unknown reasons unmounting of the folder might throw an irritating error (the commit action itself succeeds, though).
Got this twice yesterday. My install.wim had been successfully modified and performed well in the VM.

Another issue, which came into my mind is the DISM Tool™ of Mr Jinje:
Currently it has one annoying bug occuring on non-english Windows 7 installations leading to an error when opening the W7 setup files directory. As a workaround the developer stated that one should copy the install.wim to the partition's root, for instance C:\, to circumvent it. Unfortunately this erroneous behaviour is not documented yet ...

#29 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 September 2010 - 05:25 AM

View PostMikka, on 16 September 2010 - 05:08 AM, said:

View Postmyselfidem, on 15 September 2010 - 03:03 PM, said:

Btw, how did you find to integrate "HKCU.reg" or reg files, inside wim image?
With: reg.exe load and DISM?

Basically, I followed the instructions given in this blog article.

By the way, maybe an addition for your tutorial:
I noticed that for unknown reasons unmounting of the folder might throw an irritating error (the commit action itself succeeds, though).
Got this twice yesterday. My install.wim had been successfully modified and performed well in the VM.

Thanks for your informations! :rolleyes:
About "unmounting", maybe you've used the commands inside my last post! I've made an error inside and I've fixed that! Sorry!
I've no trouble with the correct path!

Examples for Windows 7 Ultimate.
The correct path is for an computer with OS x86 based:
C:\Program Files\Windows AIK\Tools\x86\Servicing>Dism.exe /mount-wim /wimfile:"C:\Win7\sources\install.wim" /index:5 /mountdir:"C:\test"

I've forgottten to write correctly and it's an error (fixed inside my last post) : it's not the good one for DISM: missing the correct path for x86 or amd64
C:\Program Files\Windows AIK\Tools\Servicing>Dism.exe /mount-wim /wimfile:"C:\Win7\sources\install.wim" /index:5 /mountdir:"C:\test"


Change to your needs for amd64 with an computer 64-bits:
C:\Program Files\Windows AIK\Tools\amd64\Servicing>Dism.exe /mount-wim /wimfile:"C:\Win7\sources\install.wim" /index:4 /mountdir:"C:\test"

And "unmounting" and "commit":
C:\Program Files\Windows AIK\Tools\amd64\Servicing>Dism.exe /unmount-wim /mountdir:"C:\test" /commit


If we don't want apply the changes (discard):
C:\Program Files\Windows AIK\Tools\amd64\Servicing>Dism.exe /unmount-wim /mountdir:"C:\test" /discard

I will add more informations inside the French guide for DISM.
All is fine for me and I've no errors with the correct path!
Maybe it's needed different parameters (Like SysWOW64) for computer based 64-bits!
I will make some search about this question!
I will make tests with my computer 64-bits based and I tell you later!
Thanks!
Regards

This post has been edited by myselfidem: 16 September 2010 - 08:01 AM


#30 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 September 2010 - 06:30 AM

Mikka!
I've made the test and I've disable 3 Features with DISM, on my computer 64-bits based, and all is OK!
No errors "Unmounting" and "commit" with the correct "mounted" path for DISM:

Example with Windows 7 Ultimate 64-bits:
C:\Program Files\Windows AIK\Tools\amd64\Servicing>Dism.exe /mount-wim /wimfile:"C:\Win7\sources\install.wim" /index:4 /mountdir:"C:\test"

If there is an error it's needed to Dismount and remount the Image you want!
You can see informations inside your computer: "Windows\Logs\DISM\dism.log"
Regards

*Edit: What is your OS installed on your Computer to create your Windows 7 Professional unattended?

This post has been edited by myselfidem: 16 September 2010 - 10:25 AM


#31 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 21 September 2010 - 11:34 AM

Hello Mikka!
I've updated the French guide: How to use DISM for Windows 7.
Regards

#32 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 72
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 29 September 2010 - 04:09 AM

View Postmyselfidem, on 21 September 2010 - 11:34 AM, said:

Hello Mikka!
I've updated the French guide: How to use DISM for Windows 7.
Regards

Salut!

Thank you very much for your effort. It was a tough operation but I finally succeeded in installing my customized version of W7 (first version) on the laptop.
(However, although Dism appears to behave somewhat better than the terrible ImageX - on a 64 bit installation at least - I had to take several attempts before I knew how to handle it.)

And this guy was absolutely correct about the irritating thing with the one window solely showing up in the VM(ware) environment. Quite vexing but true. It even turned out that it isn't needed assigning a password to the default Administrator, it worked flawlessly without also.

I crammed all the Dism stuff in a text file to review it later, maybe assembling something similar that you did. For W7 installation to come ...

Best greetings to Geneva!
Mikka

This post has been edited by Mikka: 29 September 2010 - 04:09 AM


#33 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 30 September 2010 - 05:52 AM

Thanks!
Salut Mikka! :rolleyes:
Maybe there is an patch for VMware to solve this issue!
I haven't this trouble with Sun VirtualBox!
Yes ImageX.exe gives some troubles for mounting the image at first time!
It's better to use Dism.exe to do that!
But to delete unwanted images, ImageX.exe works very fine!
Cheers and greetings!

This post has been edited by myselfidem: 30 September 2010 - 10:54 AM


Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

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



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