Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Debut unattended W7 setup woes


  • Please log in to reply
32 replies to this topic

#26
Mikka

Mikka

    Junior

  • Members
  • Pip
  • 80 posts
  • OS:none specified
  • Country: Country Flag
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.


How to remove advertisement from MSFN

#27
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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

Edited by myselfidem, 15 September 2010 - 04:01 PM.


#28
Mikka

Mikka

    Junior

  • Members
  • Pip
  • 80 posts
  • OS:none specified
  • Country: Country Flag

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
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag


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

Edited by myselfidem, 16 September 2010 - 08:01 AM.


#30
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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?

Edited by myselfidem, 16 September 2010 - 10:25 AM.


#31
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Hello Mikka!
I've updated the French guide: How to use DISM for Windows 7.
Regards

#32
Mikka

Mikka

    Junior

  • Members
  • Pip
  • 80 posts
  • OS:none specified
  • Country: Country Flag

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

Edited by Mikka, 29 September 2010 - 04:09 AM.


#33
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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!

Edited by myselfidem, 30 September 2010 - 10:54 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN