grabben Posted April 18, 2010 Posted April 18, 2010 (edited) 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 thankshttp://www.google.se...ttended.xml+uachttp://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 April 18, 2010 by grabben
myselfidem Posted April 18, 2010 Posted April 18, 2010 (edited) @crunch81 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=4108Or 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:00000001Put the reg file inside the folder "$OEM$\$$\SETUP\SCRIPTS". Edited April 18, 2010 by myselfidem
pedilover Posted April 18, 2010 Posted April 18, 2010 Hi BlueThe folder with the themes is empty.I hope you can find the bug.I have a german Win 7 Prof 64-bit and the themes are english.
crunch81 Posted April 18, 2010 Posted April 18, 2010 @crunch81 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=4108Or 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:00000001Put the reg file inside the folder "$OEM$\$$\SETUP\SCRIPTS". 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!
crunch81 Posted April 18, 2010 Posted April 18, 2010 @ Grabben:<div><br></div><div>here you go: <a href="http://support.microsoft.com/kb/942817">http://support.microsoft.com/kb/942817</a></div>Yes, I already saw this article. but it applies to Vista. That was the reason why I thought that it was useless. Appreciate your feedback, thanks.
myselfidem Posted April 18, 2010 Posted April 18, 2010 (edited) 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! 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.htmlRegards. Edited April 18, 2010 by myselfidem
myselfidem Posted April 19, 2010 Posted April 19, 2010 (edited) @crunch81There 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. Edited April 19, 2010 by myselfidem
myselfidem Posted April 19, 2010 Posted April 19, 2010 (edited) @pollopThanks a lot! (Tout le plaisir est pour moi!)! Edited April 19, 2010 by myselfidem
myselfidem Posted April 19, 2010 Posted April 19, 2010 (edited) @pedilover 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 linkMy log.txt:=== 7Customizer Started===7Customizer verion: 0.4.2a7Customizer path: C:\7customizer_0.4.2a\7Customizer.exeCurrent directory: C:\7customizer_0.4.2aOS: Microsoft Windows NT 6.1.7600.0OS architecture: x86Work folder found: TrueMount folder found: TrueThemes folder found: TrueLanguages folder found: FalseExtract utility found: TrueConfiguration file found: Truebootorder.txt file found: TrueBoot sector file found: TrueElevated: TrueGetting drive infoFree space: 15,1531791687012 GBGetting drive info: DoneSaved Imagex path: C:\Program Files\Windows AIK\Tools\x86\imagex.exeSaved DISM path: C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exeSaved odcdimg path: C:\Program Files\Windows AIK\Tools\x86\oscdimg.exeWindows source path selectedSources folder foundinstall.wim foundinstall.wim size: 2089 MBAdded: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe">work\testimagex.txtTesting imagexImagex result begin:Imagex result file created.ImageX Tool for WindowsCopyright © Microsoft Corp. All rights reserved.Version: 6.1.7600.16385Imagex result end.Added: "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe">work\testdism.txtTesting dismdism result begin:Outil Gestion et maintenance des images de déploiementVersion : 6.1.7600.16385dism result end.added: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" /XML /info "C:\Win7\sources\install.wim">work\imagesinfo.xmlStarting imagexImagex created imagesinfo.xml SuccessfullyReading images information from imagesinfo.xmlFirst 5 lines of imagesinfo.xml<WIM> <TOTALBYTES>2190966414</TOTALBYTES> <IMAGE INDEX="1"> <DIRCOUNT>9356</DIRCOUNT> <FILECOUNT>46456</FILECOUNT>Number of Available Images: 5Reading image indiceisReading image displaynamesReading image namesReading image architecturesReading image edition IDsAvailable Images: BeginWindows 7 Édition StarterWindows 7 Édition Familiale BasiqueWindows 7 Édition Familiale PremiumWindows 7 ProfessionnelWindows 7 Édition IntégraleAvailable Images: EndReading info finishedStart button pressedadded: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" /XML /info "C:\Win7\sources\install.wim" 5 >work\imagesinfo.xmlStarting ImageXImagex created imagesinfo.xml SuccessfullyReading selected image information from imagesinfo.xmlFirst 5 lines of imagesinfo.xml<IMAGE INDEX="5"> <DIRCOUNT>9675</DIRCOUNT> <FILECOUNT>48168</FILECOUNT> <TOTALBYTES>8343005206</TOTALBYTES> <CREATIONTIME>Installed Language: Begin fr-FRInstalled Language: End Image default language: fr-FRImage Architecture: x86Image Edition:UltimateSelected Image name: Windows 7 ULTIMATEFinished Reading selected image informationTweaks EnabledPreparing instructions for registry editingadded 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\7useradded reg.exe unload HKLM\7softadded reg.exe unload HKLM\7systemFinished preparing instructions for registry editingThemes Integration selectedAdded: mkdir "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"Themes files SelectedAdded: C:\Themes\CatsEverywhere.themepackGetting theme nameTheme Name: CatsEverywhereAdded: mkdir "work\Themes\CustomTheme0"Added: "work\extract.exe" /y /e "C:\Themes\CatsEverywhere.themepack" /l "work\Themes\CustomTheme0"Exctracting the theme.Processing the .theme fileFinished Processing .theme fileAdded: move /y "work\themes\CustomTheme0" "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"Themes Integration selectedAdded: mkdir "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"Themes files SelectedAdded: C:\Themes\DogsInWinter.themepackGetting theme nameTheme Name: DogsInWinterAdded: mkdir "work\Themes\CustomTheme1"Added: "work\extract.exe" /y /e "C:\Themes\DogsInWinter.themepack" /l "work\Themes\CustomTheme1"Exctracting the theme.Processing the .theme fileFinished Processing .theme fileAdded: move /y "work\themes\CustomTheme1" "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"Themes Integration selectedAdded: mkdir "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"Themes files SelectedAdded: C:\Themes\Tigers.themepackGetting theme nameTheme Name: TigersAdded: mkdir "work\Themes\CustomTheme2"Added: "work\extract.exe" /y /e "C:\Themes\Tigers.themepack" /l "work\Themes\CustomTheme2"Exctracting the theme.Processing the .theme fileFinished Processing .theme fileAdded: move /y "work\themes\CustomTheme2" "work\mount\Users\Default\AppData\Local\Microsoft\Windows\Themes"After apply ISO file selectedISO file: C:\Win7.isoISO label: Win7Added: "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 pressedDebug Mode: FalseCreating Autounattend.xmlFinished Autounattend.xmlPrepearing instructions to executeAdded: "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" /commitPreparing tweaks fileFinished preparing tweaks fileStartingFinished ExecutionDone. Exiting 7CustomizerI've just copied the .themepack inside a folder and 7Customizer integrate them.Regards. Edited April 19, 2010 by myselfidem
myselfidem Posted April 19, 2010 Posted April 19, 2010 (edited) @Blue 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 linkIt's possible to integrate the themepacks inside: Windows\Resources\Themes\?Thank you Blue. Regards. Edited April 19, 2010 by myselfidem
grabben Posted April 19, 2010 Posted April 19, 2010 @Blue 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 linkIt'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.
myselfidem Posted April 19, 2010 Posted April 19, 2010 Yes it is, all he has to do is to change the path from Work\mount\users\babla to \windows\resources\themes instead.No comment!
netwave Posted April 19, 2010 Posted April 19, 2010 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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now