Jump to content

7Customizer - a Windows 7 Customization and Deployment tool


Recommended Posts

Does anybody know what text I have to add in my XML file to disable UAC??? It just doesn't function out of 7Customizer!!

And where do I have to add this text? In the OOBE section??

Searching long time now.....

Many thanks

http://www.google.se...ttended.xml+uac

http://www.wincert.n...nattended-mode/

when googling on it i ended up here on msfn's forum so you cant have been lookin for it...

Nevermind......Thanks anyway. Links are useless for me. I'm a noob....

Sure theyre useless ?

<div><br></div><div>here you go: <a href="http://support.microsoft.com/kb/942817">http://support.microsoft.com/kb/942817</a></div>

Edited by grabben
Link to comment
Share on other sites


@crunch81 :rolleyes:

With 7Customizer you can choose to disable UAC with this option inside "System Tab":

UAC Level and choose "Never notify"

Image here:

http://cid-d178ea021b182b88.skydrive.live.com/self.aspx/.Public/MSFN%20Forum/Never%5E_notify.png?lc=4108

Or with a reg file, like grabben says:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000005
"EnableLUA"=dword:00000000
"PromptOnSecureDesktop"=dword:00000001

Put the reg file inside the folder "$OEM$\$$\SETUP\SCRIPTS". :rolleyes:

Edited by myselfidem
Link to comment
Share on other sites

@crunch81 :rolleyes:

With 7Customizer you can choose to disable UAC with this option inside "System Tab":

UAC Level and choose "Never notify"

Image here:

http://cid-d178ea021b182b88.skydrive.live.com/self.aspx/.Public/MSFN%20Forum/Never%5E_notify.png?lc=4108

Or with a reg file, like grabben says:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000005
"EnableLUA"=dword:00000000
"PromptOnSecureDesktop"=dword:00000001

Put the reg file inside the folder "$OEM$\$$\SETUP\SCRIPTS". :rolleyes:

Thank you Myselfidem. I already tried it in 7Customizer, but nothing changes in the XML file and UAC will not be disabled with me...Strange he?

I will try your second solution, that is what I been looking for. Thank you very much!

Link to comment
Share on other sites

Thank you Myselfidem. I already tried it in 7Customizer, but nothing changes in the XML file and UAC will not be disabled with me...Strange he?

I will try your second solution, that is what I been looking for. Thank you very much!

Thanks crunch81! :rolleyes:

With "Autounattend.xml" it's possible to add this line:

<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<EnableLUA>false</EnableLUA>
</component>
</settings>

But I don't now how to make this changes with 7Customizer ! Maybe just before to launch the ISO creation and look for the file and make this changes inside "Autounattend.xml"?

You can find help and examples about Autounattend.xml here:

http://www.msfn.org/board/your-seven-here-t139572.html

Regards. :rolleyes:

Edited by myselfidem
Link to comment
Share on other sites

@crunch81

There is a possibility to see and add changes about "Autounattend.xml":

After the ISO is created with 7Customizer, just expand this one with WinRar and you can see your "Autounattend.xml" customized in the main folder.

If you want make changes you must validate your new Autounattend.xml with WISM (Windows System Image Manager)- it's with WAIK for Windows 7 - ; and after make a new ISO file!

But at first you must load your catalog file: "install_Windows 7 ULTIMATE.clg" (for Windows Ultimate) and load your Autounattend.xml file for changes!

Example with mine made with 7Customizer (no modded):

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SystemLocale>en-us</SystemLocale>
<UserLocale>en-us</UserLocale>
<UILanguage>fr-FR</UILanguage>
<UILanguageFallback>en-us</UILanguageFallback>
<InputLocale>0409:00000409</InputLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserData>
<ProductKey>
<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<Organization>particulier</Organization>
<FullName>FULL NAME</FullName>
<AcceptEula>true</AcceptEula>
</UserData>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ULTIMATE</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Name>Antoine</Name>
<Group>Administrators</Group>
<Password>
<PlainText>true</PlainText>
<Value>xxxxxx</Value>
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>

<ProtectYourPC>1</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UILanguage>fr-FR</UILanguage>
<UserLocale>fr-FR</UserLocale>
<InputLocale>100c:0000100c</InputLocale>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Enabled>true</Enabled>
<Username>Antoine</Username>
<Password>
<PlainText>true</PlainText>
<Value>xxxxxx</Value>
</Password>
<LogonCount>9999999</LogonCount>
</AutoLogon>
<TimeZone>W. Europe Standard Time</TimeZone>
<ComputerName>se7en</ComputerName>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:C:/Win7/sources/install.wim#Windows 7 Édition Intégrale" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Regards. :rolleyes:

Edited by myselfidem
Link to comment
Share on other sites

@pedilover :rolleyes:

I've tested to integrate 3 themes successfully!

There are copied inside "Users\Default\AppData\Local\Microsoft\Windows\Themes"

The folders created are CustomTheme0; CustomTheme1; and CustomTheme2.

A new folder is created inside all these folders: "CustomTheme0\DesktopBackground\".

You can see 2 images here:

My link

My log.txt:

=== 7Customizer Started===

7Customizer verion: 0.4.2a

7Customizer path: C:\7customizer_0.4.2a\7Customizer.exe

Current directory: C:\7customizer_0.4.2a

OS: Microsoft Windows NT 6.1.7600.0

OS architecture: x86

Work folder found: True

Mount folder found: True

Themes folder found: True

Languages folder found: False

Extract utility found: True

Configuration file found: True

bootorder.txt file found: True

Boot sector file found: True

Elevated: True

Getting drive info

Free space: 15,1531791687012 GB

Getting drive info: Done

Saved Imagex path: C:\Program Files\Windows AIK\Tools\x86\imagex.exe

Saved DISM path: C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe

Saved odcdimg path: C:\Program Files\Windows AIK\Tools\x86\oscdimg.exe

Windows source path selected

Sources folder found

install.wim found

install.wim size: 2089 MB

Added: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe">work\testimagex.txt

Testing imagex

Imagex result begin:

Imagex result file created.

ImageX Tool for Windows

Copyright © Microsoft Corp. All rights reserved.

Version: 6.1.7600.16385

Imagex result end.

Added: "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe">work\testdism.txt

Testing dism

dism result begin:

Outil Gestion et maintenance des images de déploiement

Version : 6.1.7600.16385

dism result end.

added: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" /XML /info "C:\Win7\sources\install.wim">work\imagesinfo.xml

Starting imagex

Imagex created imagesinfo.xml Successfully

Reading images information from imagesinfo.xml

First 5 lines of imagesinfo.xml

<WIM>

<TOTALBYTES>2190966414</TOTALBYTES>

<IMAGE INDEX="1">

<DIRCOUNT>9356</DIRCOUNT>

<FILECOUNT>46456</FILECOUNT>

Number of Available Images: 5

Reading image indiceis

Reading image displaynames

Reading image names

Reading image architectures

Reading image edition IDs

Available Images: Begin

Windows 7 Édition Starter

Windows 7 Édition Familiale Basique

Windows 7 Édition Familiale Premium

Windows 7 Professionnel

Windows 7 Édition Intégrale

Available Images: End

Reading info finished

Start button pressed

added: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" /XML /info "C:\Win7\sources\install.wim" 5 >work\imagesinfo.xml

Starting ImageX

Imagex created imagesinfo.xml Successfully

Reading selected image information from imagesinfo.xml

First 5 lines of imagesinfo.xml

<IMAGE INDEX="5">

<DIRCOUNT>9675</DIRCOUNT>

<FILECOUNT>48168</FILECOUNT>

<TOTALBYTES>8343005206</TOTALBYTES>

<CREATIONTIME>

Installed Language: Begin

fr-FR

Installed Language: End

Image default language: fr-FR

Image Architecture: x86

Image Edition:Ultimate

Selected Image name: Windows 7 ULTIMATE

Finished Reading selected image information

Tweaks Enabled

Preparing instructions for registry editing

added reg.exe load HKLM\7user "work\mount\Users\Default\NTUSER.DAT"

added reg.exe load HKLM\7soft "work\mount\Windows\System32\config\SOFTWARE"

added reg.exe load HKLM\7system "work\mount\Windows\System32\config\SYSTEM"

added reg.exe import "work\reg.reg"

added reg.exe unload HKLM\7user

added reg.exe unload HKLM\7soft

added reg.exe unload HKLM\7system

Finished preparing instructions for registry editing

Themes Integration selected

Added: mkdir "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"

Themes files Selected

Added: C:\Themes\CatsEverywhere.themepack

Getting theme name

Theme Name: CatsEverywhere

Added: mkdir "work\Themes\CustomTheme0"

Added: "work\extract.exe" /y /e "C:\Themes\CatsEverywhere.themepack" /l "work\Themes\CustomTheme0"

Exctracting the theme.

Processing the .theme file

Finished Processing .theme file

Added: move /y "work\themes\CustomTheme0" "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"

Themes Integration selected

Added: mkdir "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"

Themes files Selected

Added: C:\Themes\DogsInWinter.themepack

Getting theme name

Theme Name: DogsInWinter

Added: mkdir "work\Themes\CustomTheme1"

Added: "work\extract.exe" /y /e "C:\Themes\DogsInWinter.themepack" /l "work\Themes\CustomTheme1"

Exctracting the theme.

Processing the .theme file

Finished Processing .theme file

Added: move /y "work\themes\CustomTheme1" "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"

Themes Integration selected

Added: mkdir "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"

Themes files Selected

Added: C:\Themes\Tigers.themepack

Getting theme name

Theme Name: Tigers

Added: mkdir "work\Themes\CustomTheme2"

Added: "work\extract.exe" /y /e "C:\Themes\Tigers.themepack" /l "work\Themes\CustomTheme2"

Exctracting the theme.

Processing the .theme file

Finished Processing .theme file

Added: move /y "work\themes\CustomTheme2" "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"

After apply ISO file selected

ISO file: C:\Win7.iso

ISO label: Win7

Added: "C:\Program Files\Windows AIK\Tools\x86\oscdimg.exe" -u2 -m -o -lWin7 -b"work\etfsboot.com" -yo"work\bootorder.txt" "C:\Win7" "C:\Win7.iso"

Apply button pressed

Debug Mode: False

Creating Autounattend.xml

Finished Autounattend.xml

Prepearing instructions to execute

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

Added: "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /unmount-wim /mountdir:"work\mount" /commit

Preparing tweaks file

Finished preparing tweaks file

Starting

Finished Execution

Done. Exiting 7Customizer

I've just copied the .themepack inside a folder and 7Customizer integrate them.

Regards.

Edited by myselfidem
Link to comment
Share on other sites

@Blue :rolleyes:

I see inside the batch file "themes.bat" a command line:

mkdir "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"

During the ISO creation in command prompt I can see that the folder "Themes" already exists.

Maybe it's not usefull to add this line?

Image here:

My link

It's possible to integrate the themepacks inside: Windows\Resources\Themes\?

Thank you Blue. Regards.

Edited by myselfidem
Link to comment
Share on other sites

@Blue :rolleyes:

I see inside the batch file "themes.bat" a command line:

mkdir "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"

During the ISO creation in command prompt I can see that the folder "Themes" already exists.

Maybe it's not usefull to add this line?

Image here:

My link

It's possible to integrate the themepacks inside: Windows\Resources\Themes\?

Thank you Blue. Regards.

Yea it is, all he has to do is to change the path from Work\mount\users\babla to \windows\resources\themes instead.

Link to comment
Share on other sites

Is 7 customizer supposed to work with off the shelf retail versions of Windows 7?

had a RTM build before that customized fine, However I now I have a retail edition which when Creating an ISO in Debug Mode throws up error: 0xc1510111 with the following message:

You do not have permissions to mount and modify this image.

Verify that you have Read/Write permissions or mount the image using the read only option. Note that you cannot commit changes to an image with read only permissions.

Anyone know how to fix this error?

Ta

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...