MSFN Forum: Help importing reg file, please... - MSFN Forum

Jump to content


  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Help importing reg file, please... Rate Topic: -----

#41 User is offline   myselfidem 

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

Posted 18 June 2012 - 10:14 AM

Check if you have not another reg file with the same values for UAC, and use my first example to disable UAC.
After many tests, I see it's the only reg file working fine for me!
You can try also to change the Administrator name to : Admin
HTH


#42 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 10:18 AM

I'll try...
Thank you very much... ;)

#43 User is offline   myselfidem 

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

Posted 18 June 2012 - 12:51 PM

Here is the new reg file about Power Options right-click:

1 - First its' needed to remove this uneeded key:

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Power Menu]
"MUIVerb"="Alimentation"
"SubCommands"="lock;logoff;switch;sleep;hibernate;restart;shutdown"
"Icon"="shell32.dll,215"
"Position"="bottom"



2 - Final reg key working fine:

Windows Registry Editor Version 5.00

;-----------------------------------------------------------------------------
; - Disable UAC -
;-----------------------------------------------------------------------------

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"UacDisableNotify"=dword:00000001

;--------------------------------------------------
; Add Power Options on right-click on the Desktop -
;--------------------------------------------------

[HKEY_CLASSES_ROOT\Directory\Background\Shell\Power Menu]
"MUIVerb"="Alimentation"
"SubCommands"="lock;logoff;switch;sleep;hibernate;restart;shutdown"
"Icon"="shell32.dll,215"
"Position"="bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock]
@="Verrouiller"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock\command]
@="Rundll32 User32.dll,LockWorkStation"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff]
@="Fermer la session"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff\command]
@="Shutdown -l"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\switch]
@="Changer d'utilisateur"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\switch\command]
@="tsdiscon.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep]
@="Mettre en veille"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep\command]
@="rundll32.exe powrprof.dll,SetSuspendState Sleep"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hibernate]
@="Mise en veille prolongée"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hibernate\command]
@="Shutdown -h"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart]
@="Redémarrer"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart\command]
@="Shutdown -r -f -t 00"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown]
@="Arrêter"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown\command]
@="Shutdown -s -f -t 00"

;-------------------------------------------------------------------------------------------------


This post has been edited by myselfidem: 18 June 2012 - 02:48 PM


#44 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 02:19 PM

View Postmyselfidem, on 18 June 2012 - 12:51 PM, said:

Here is the new reg file about Power Options right-click:

1 - First its' needed to remove this uneeded key:

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Power Menu]
"MUIVerb"="Power"
"SubCommands"="lock;logoff;switch;sleep;hibernate;restart;shutdown"
"Icon"="shell32.dll,215"
"Position"="bottom"




Yes, it's necesary for add too at right context to My PC...

I wil try make a new Win 7 AIO without tweaks integrated to view if afect to registry...

Regards... ;-)

Attached File(s)



#45 User is offline   myselfidem 

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

Posted 18 June 2012 - 02:47 PM

Yes, of course, this regestry part can be keeped!

It seems works better using, like this:

cmds[pn]=['REGEDIT /S %wpipath%\\Install\\Tweaks\\PowerMenu.reg'];


Cheers

This post has been edited by myselfidem: 21 June 2012 - 04:49 AM


#46 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 03:02 PM

I tried that too, but does not work ... The point is that if the keys are HKCU in file.reg imported perfectly, but the keys HKLM not... :no:

I tried a Win 7 x64 clean install without previous tweaks with the same result... I don't know what I can make... :}

This post has been edited by alfreire: 18 June 2012 - 03:59 PM


#47 User is offline   myselfidem 

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

Posted 19 June 2012 - 12:38 AM

Maybe you can use this workaround.

Create folders inside: .\Distribution_Folder\sources\$OEM$\$$\Setup\scripts

Inside the folder: "scripts" set your "Tweaks.reg" and a batch file batch.cmd (example)

Use WPI to launch the batch

batch.cmd
@ECHO OFF
REGEDIT /S "%systemroot%\Setup\Scripts\Tweaks.reg"
ECHO.
REGEDIT /S "%systemroot%\Setup\Scripts\Attributs.reg"
WScript.exe "%systemroot%\Setup\Scripts\notepad.vbs"
EXIT


This post has been edited by myselfidem: 19 June 2012 - 12:40 AM


#48 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 June 2012 - 01:03 AM

I tried that with batch and vbs files, not work...

If I run batch or vbs files directly work perfect... but trough WPI don't work... :no:

#49 User is offline   myselfidem 

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

Posted 19 June 2012 - 02:18 AM

You mean WPI can't install tweaks.reg with HKLM...But the OS is installed and also programs with WPI?
Do you use an Autounattend.xml (needed inside boot.wim 2 with an USB Pendrive) ?

This post has been edited by myselfidem: 19 June 2012 - 02:19 AM


#50 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 June 2012 - 02:33 AM

Yes, all programs are installed trough WPI, an other reg files work perfect (without HKLM values)...
My autounattended file (inside boot.wim) is this:
<?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"> 
            <SetupUILanguage> 
                <UILanguage>es-ES</UILanguage> 
            </SetupUILanguage> 
            <InputLocale>040a:0000040a</InputLocale> 
            <SystemLocale>es-ES</SystemLocale> 
            <UILanguage>es-ES</UILanguage> 
            <UserLocale>es-ES</UserLocale> 
        </component> 
        <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
            <SetupUILanguage> 
                <UILanguage>es-ES</UILanguage> 
            </SetupUILanguage> 
            <InputLocale>040a:0000040a</InputLocale> 
            <SystemLocale>es-ES</SystemLocale> 
            <UILanguage>es-ES</UILanguage> 
            <UserLocale>es-ES</UserLocale> 
        </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"> 
      <ImageInstall>
        <OSImage>
          <InstallToAvailablePartition>false</InstallToAvailablePartition>
          <WillShowUI>OnError</WillShowUI>
        </OSImage>
      </ImageInstall>
      <UserData>
        <ProductKey>
          <Key />
          <WillShowUI>OnError</WillShowUI>
        </ProductKey>
        <AcceptEula>true</AcceptEula>
      </UserData>
        </component> 
        <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">  
      <ImageInstall>
        <OSImage>
          <InstallToAvailablePartition>false</InstallToAvailablePartition>
          <WillShowUI>OnError</WillShowUI>
        </OSImage>
      </ImageInstall>
      <UserData>
        <ProductKey>
          <Key />
          <WillShowUI>OnError</WillShowUI>
        </ProductKey>
        <AcceptEula>true</AcceptEula>
      </UserData>
        </component>  
    </settings> 
    <settings pass="specialize"> 
        <component name="Microsoft-Windows-Security-SPP-UX" 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"> 
            <SkipAutoActivation>true</SkipAutoActivation> 
        </component> 
        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
            <SkipAutoActivation>true</SkipAutoActivation> 
        </component> 
        <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"> 
            <TimeZone>Romance Standard Time</TimeZone> 
        </component> 
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
            <TimeZone>Romance Standard Time</TimeZone> 
        </component> 
    </settings> 
    <settings pass="oobeSystem"> 
      	<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"> 
            <InputLocale>040a:0000040a</InputLocale> 
            <UserLocale>es-ES</UserLocale> 
            <UILanguage>es-ES</UILanguage> 
        </component> 
        <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
            <InputLocale>040a:0000040a</InputLocale> 
            <UserLocale>es-ES</UserLocale> 
            <UILanguage>es-ES</UILanguage> 
        </component> 
        <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 />
        <AdministratorPassword>
          <Value />
        </AdministratorPassword>
      </UserAccounts>
      <AutoLogon>
        <Password>
          <Value />
        </Password>
        <Enabled>true</Enabled>
        <LogonCount>9999</LogonCount>
        <Username>Administrator</Username>
      </AutoLogon>
      <OOBE>
        <NetworkLocation>Home</NetworkLocation>
        <HideEULAPage>true</HideEULAPage>
        <ProtectYourPC>1</ProtectYourPC>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <SkipMachineOOBE>true</SkipMachineOOBE>
        <SkipUserOOBE>true</SkipUserOOBE>
      </OOBE>
      <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
      <TimeZone>Romance Standard Time</TimeZone>
	  <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /q /c start %windir%\Temp\Instalar.cmd</CommandLine>
                    <Description>WPI</Description>
                    <Order>1</Order>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
       </FirstLogonCommands>
        </component> 
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" 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 />
        <AdministratorPassword>
          <Value />
        </AdministratorPassword>
      </UserAccounts>
      <AutoLogon>
        <Password>
          <Value />
        </Password>
        <Enabled>true</Enabled>
        <LogonCount>9999</LogonCount>
        <Username>Administrator</Username>
      </AutoLogon>
      <OOBE>
        <NetworkLocation>Home</NetworkLocation>
        <HideEULAPage>true</HideEULAPage>
        <ProtectYourPC>1</ProtectYourPC>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <SkipMachineOOBE>true</SkipMachineOOBE>
        <SkipUserOOBE>true</SkipUserOOBE>
      </OOBE>
      <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
      <TimeZone>Romance Standard Time</TimeZone>
        </component> 
    </settings> 
</unattend>



And instalar.cmd is this:
@ECHO OFF
SETLOCAL
(SET USB=)
FOR /F "USEBACKQ TOKENS=2 DELIMS==" %%# IN (`WMIC DATAFILE WHERE^
 "PATH='\\WPI\\' AND FILENAME='WPI' AND EXTENSION='exe'"^
 GET Name /VALUE^|FIND "="`) DO SET "USB=%%~d#"&SET "FPATH=%%#"

START "" "%USB%\WPI\WPI.exe"
exit


I use temp folder because I clean at WPI final...

Attached File(s)


This post has been edited by alfreire: 19 June 2012 - 02:48 AM


#51 User is offline   myselfidem 

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

Posted 19 June 2012 - 04:29 AM

Have you the same trouble installing Windows 7 x86?

#52 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 June 2012 - 04:42 AM

Don´t remember... I'll check...

#53 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 June 2012 - 05:02 AM

Work in x86, at least in VMWare...

#54 User is offline   myselfidem 

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

Posted 19 June 2012 - 05:34 AM

About Windows 7 AIO and Autounattend.xml using FirstLogonCommand:

Here is your Autounattend.xml improved with two FirstLogonCommand using different bacth files: Instalar.cmd and Instalar_1.cmd

About Autounattend.xml AIO files with FirstLogonCommand:

http://www.wincert.n...64/page__st__80

<?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="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
     <SetupUILanguage>                 
                 <UILanguage>es-ES</UILanguage>             
            </SetupUILanguage>             
            <InputLocale>040a:0000040a</InputLocale>             
            <SystemLocale>es-ES</SystemLocale>             
            <UILanguage>es-ES</UILanguage>             
            <UserLocale>es-ES</UserLocale>         
        </component>                  
        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">       
            <Diagnostics>
                <OptIn>false</OptIn>
            </Diagnostics>
            <DiskConfiguration>
                <WillShowUI>OnError</WillShowUI>
                <Disk wcm:action="add">
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                    <!--System partition-->
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Type>Primary</Type>
                            <Size>100</Size>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>2</Order>
                            <Type>Primary</Type>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>system</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <!--Windows partition-->
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>SEVEN</Label>
                            <Letter>C</Letter>
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>2</PartitionID>
                    </InstallTo>
                    <WillShowUI>OnError</WillShowUI>
                    <InstallToAvailablePartition>false</InstallToAvailablePartition>
                </OSImage>
            </ImageInstall>
            <UserData>
                <AcceptEula>true</AcceptEula>
            </UserData>
            <EnableFirewall>true</EnableFirewall>
        </component>
    </settings>     
    <settings pass="specialize">         
        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <SkipAutoActivation>true</SkipAutoActivation>         
        </component>         
        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <SkipAutoActivation>true</SkipAutoActivation>         
        </component>         
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <ComputerName>*</ComputerName>
            <TimeZone>Romance Standard Time</TimeZone>         
        </component>         
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <ComputerName>*</ComputerName>
            <TimeZone>Romance Standard Time</TimeZone>         
         </component>    
     </settings>     
    <settings pass="oobeSystem">         
        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <InputLocale>040a:0000040a</InputLocale> 
            <SystemLocale>es-ES</SystemLocale>            
            <UserLocale>es-ES</UserLocale>             
            <UILanguage>es-ES</UILanguage>         
        </component>         
        <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <InputLocale>040a:0000040a</InputLocale>
            <SystemLocale>es-ES</SystemLocale>             
            <UserLocale>es-ES</UserLocale>             
            <UILanguage>es-ES</UILanguage>         
        </component>         
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <TimeZone>Romance Standard Time</TimeZone>
            <OOBE>        
                <NetworkLocation>Home</NetworkLocation>        
                <HideEULAPage>true</HideEULAPage>        
                <ProtectYourPC>1</ProtectYourPC>        
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>        
                <SkipMachineOOBE>true</SkipMachineOOBE>             
            </OOBE>
            <FirstLogonCommands>                
                <SynchronousCommand wcm:action="add">                    
                    <CommandLine>cmd /q /c start %windir%\Temp\Instalar.cmd</CommandLine>                    
                    <Description>WPI</Description>                    
                    <Order>1</Order>                    
                    <RequiresUserInput>false</RequiresUserInput>                
                </SynchronousCommand>       
             </FirstLogonCommands>    
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value></Value>
                            <PlainText>true</PlainText>
                        </Password>
                        <DisplayName>Administrator</DisplayName>
                        <Name>Administrator</Name>
                        <Group>Administrators</Group>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>          
         </component>         
         <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">       
             <TimeZone>Romance Standard Time</TimeZone>
             <OOBE>        
                 <NetworkLocation>Home</NetworkLocation>        
                 <HideEULAPage>true</HideEULAPage>        
                 <ProtectYourPC>1</ProtectYourPC>        
                 <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>        
                 <SkipMachineOOBE>true</SkipMachineOOBE>             
             </OOBE> 
             <FirstLogonCommands>                
                <SynchronousCommand wcm:action="add">                    
                    <CommandLine>cmd /q /c start %windir%\Temp\Instalar_1.cmd</CommandLine>                    
                    <Description>WPI</Description>                    
                    <Order>1</Order>                    
                    <RequiresUserInput>false</RequiresUserInput>                
                </SynchronousCommand>       
             </FirstLogonCommands>         
             <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value></Value>
                            <PlainText>true</PlainText>
                        </Password>
                        <DisplayName>Administrator</DisplayName>
                        <Name>Administrator</Name>
                        <Group>Administrators</Group>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>                 
         </component>     
    </settings> 
</unattend>



Example:

Instalar.cmd (x86 pass)
Add first inside the batch file:
@echo off
echo.
if not exist "%SystemRoot%\SysWOW64\cmd.exe" if not defined PROCESSOR_ARCHITEW6432 goto :Cpu86
goto :exit
echo.
:Cpu86
rem your command here
:exit



Instalar_1.cmd (amd64 pass)
@echo off
echo.
if exist "%SystemRoot%\SysWOW64\cmd.exe" goto :Cpu64
goto :exit
echo.
:Cpu64
rem your command here
echo.
:exit



HTH

*Edit:
About: <SkipMachineOOBE>true</SkipMachineOOBE>

We can read inside "Unattended Windows Setup Reference for Windows 7.chm"

Quote

Important:
This setting is deprecated.

SkipMachineOOBE should be used only in a test environment, and you should never ship a computer with the SkipMachineOOBE setting configured to true.

If you use this setting, Windows Welcome will be skipped, and any settings that a user selects during Windows Welcome will not be configured. For example, user-account creation, language, and time-zone settings will not be configured. Some Windows features may not function, as they depend on Windows Welcome values such as ProtectYourPC, which does not include a default value.

This post has been edited by myselfidem: 23 June 2012 - 03:57 PM


#55 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 June 2012 - 06:55 AM

View Postmyselfidem, on 19 June 2012 - 05:34 AM, said:

About Windows 7 AIO and Autounattend.xml using FirstLogonCommand:

Here is your Autounattend.xml improved with two FirstLogonCommand using different bacth files: Instalar.cmd and Instalar_1.cmd

About Autounattend.xml AIO files with FirstLogonCommand:

http://www.wincert.n...64/page__st__80

<?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="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
     <SetupUILanguage>                 
                 <UILanguage>es-ES</UILanguage>             
            </SetupUILanguage>             
            <InputLocale>040a:0000040a</InputLocale>             
            <SystemLocale>es-ES</SystemLocale>             
            <UILanguage>es-ES</UILanguage>             
            <UserLocale>es-ES</UserLocale>         
        </component>                  
        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">       
            <Diagnostics>
                <OptIn>false</OptIn>
            </Diagnostics>
            <DiskConfiguration>
                <WillShowUI>OnError</WillShowUI>
                <Disk wcm:action="add">
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                    <!--System partition-->
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Type>Primary</Type>
                            <Size>100</Size>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>2</Order>
                            <Type>Primary</Type>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>system</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <!--Windows partition-->
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>SEVEN</Label>
                            <Letter>C</Letter>
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>2</PartitionID>
                    </InstallTo>
                    <WillShowUI>OnError</WillShowUI>
                    <InstallToAvailablePartition>false</InstallToAvailablePartition>
                </OSImage>
            </ImageInstall>
            <UserData>
                <AcceptEula>true</AcceptEula>
            </UserData>
            <EnableFirewall>true</EnableFirewall>
        </component>
    </settings>     
    <settings pass="specialize">         
        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <SkipAutoActivation>true</SkipAutoActivation>         
        </component>         
        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <SkipAutoActivation>true</SkipAutoActivation>         
        </component>         
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <ComputerName>*</ComputerName>
            <TimeZone>Romance Standard Time</TimeZone>         
        </component>         
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <ComputerName>*</ComputerName>
            <TimeZone>Romance Standard Time</TimeZone>         
         </component>    
     </settings>     
    <settings pass="oobeSystem">         
        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <InputLocale>040a:0000040a</InputLocale> 
            <SystemLocale>es-ES</SystemLocale>            
            <UserLocale>es-ES</UserLocale>             
            <UILanguage>es-ES</UILanguage>         
        </component>         
        <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <InputLocale>040a:0000040a</InputLocale>
            <SystemLocale>es-ES</SystemLocale>             
            <UserLocale>es-ES</UserLocale>             
            <UILanguage>es-ES</UILanguage>         
        </component>         
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">             
            <TimeZone>Romance Standard Time</TimeZone>
            <OOBE>        
                <NetworkLocation>Home</NetworkLocation>        
                <HideEULAPage>true</HideEULAPage>        
                <ProtectYourPC>1</ProtectYourPC>        
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>        
                <SkipMachineOOBE>true</SkipMachineOOBE>             
            </OOBE>
            <FirstLogonCommands>                
                <SynchronousCommand wcm:action="add">                    
                    <CommandLine>cmd /q /c start %windir%\Temp\Instalar.cmd</CommandLine>                    
                    <Description>WPI</Description>                    
                    <Order>1</Order>                    
                    <RequiresUserInput>false</RequiresUserInput>                
                </SynchronousCommand>       
             </FirstLogonCommands>    
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value></Value>
                            <PlainText>true</PlainText>
                        </Password>
                        <DisplayName>Administrator</DisplayName>
                        <Name>Administrator</Name>
                        <Group>Administrators</Group>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>          
         </component>         
         <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">       
             <TimeZone>Romance Standard Time</TimeZone>
             <OOBE>        
                 <NetworkLocation>Home</NetworkLocation>        
                 <HideEULAPage>true</HideEULAPage>        
                 <ProtectYourPC>1</ProtectYourPC>        
                 <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>        
                 <SkipMachineOOBE>true</SkipMachineOOBE>             
             </OOBE> 
             <FirstLogonCommands>                
                <SynchronousCommand wcm:action="add">                    
                    <CommandLine>cmd /q /c start %windir%\Temp\Instalar_1.cmd</CommandLine>                    
                    <Description>WPI</Description>                    
                    <Order>1</Order>                    
                    <RequiresUserInput>false</RequiresUserInput>                
                </SynchronousCommand>       
             </FirstLogonCommands>         
             <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value></Value>
                            <PlainText>true</PlainText>
                        </Password>
                        <DisplayName>Administrator</DisplayName>
                        <Name>Administrator</Name>
                        <Group>Administrators</Group>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>                 
         </component>     
    </settings> 
</unattend>



Example:

Instalar.cmd (x86 pass)
Add first inside the batch file:
@echo off
echo.
if not exist "%SystemRoot%\SysWOW64\cmd.exe" if not defined PROCESSOR_ARCHITEW6432 goto :Cpu86
goto :exit
echo.
:Cpu86
rem your command here
:exit



Instalar_1.cmd (amd64 pass)
@echo off
echo.
if exist "%SystemRoot%\SysWOW64\cmd.exe" goto :Cpu64
goto :exit
echo.
:Cpu64
rem your command here
echo.
:exit



HTH


I do not understand this, why I need two cmd files to start WPI...? WPI start perfectly in two architectures with the current values...

I test now in Win 7 Pro x86 and reg files import perfecty trough WPI... the issue it's in Win 7 x64... :wacko:

#56 User is offline   myselfidem 

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

Posted 19 June 2012 - 10:15 AM

I have no more idea, at this time, because I don't use an USB Pendrive to install Windows 7.
Works fine for me with an iso image (Windows 7 AIO) or DVD with WPI, using the Autounattend.xml file I given above!

*Edit: Try to add more time before launching WPI, after the Desktop is loading !

This post has been edited by myselfidem: 19 June 2012 - 10:25 AM


#57 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 June 2012 - 10:34 AM

If I find a solution, I'll tell... It's a problem I want to solve for quite some time... thank you very much for your time and your help...
Regards... :)

#58 User is offline   myselfidem 

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

Posted 19 June 2012 - 11:44 AM

However, you can try to add inside the reg file for Windows 7 64-bit, to disable UAC:

Windows Registry Editor Version 5.00

;-------------------------------------------------------
; - Disable UAC on Windows 7 64-bit OS -
;-------------------------------------------------------

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"UacDisableNotify"=dword:00000001

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


This post has been edited by myselfidem: 19 June 2012 - 11:45 AM


#59 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 June 2012 - 01:01 PM

For disable UAC I included in other file:
Windows Registry Editor Version 5.00

;Disable HomeGroup in Explorer
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}]
@="Other Users"

;Disable User Account Control (UAC)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000000 
"ConsentPromptBehaviorUser"=dword:00000000
"EnableInstallerDetection"=dword:00000000
"EnableLUA"=dword:00000000
"EnableUIADesktopToggle"=dword:00000000
"EnableSecureUIAPaths"=dword:00000000
"PromptOnSecureDesktop"=dword:00000000
"ValidateAdminCodeSignatures"=dword:00000000
"FilterAdministratorToken"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"UacDisableNotify"=dword:00000001

;Disable IE9 Welcome Screen
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main]
"DisableFirstRunCustomize"=dword:00000001

;Disable Libraries in Explorer
[-HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031E4825-7B94-4dc3-B131-E946B44C8DD5}]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{2112AB0A-C86A-4ffe-A368-0DE96E47012E}]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{491E922F-5643-4af4-A7EB-4E7A138D8174}]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7b0db17d-9cd2-4a93-9733-46cc89022e7c}]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A302545D-DEFF-464b-ABE8-61C8648D939B}]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A990AE9F-A03B-4e80-94BC-9912D7504104}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
“{031E4825-7B94-4dc3-B131-E946B44C8DD5}”=-

;Deshabilitar Barra de Lenguaje
[HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar]
"ShowStatus"=dword:00000003

;Larger Taskbar previews
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband]
"MinThumbSizePx"=dword:00000190

;Mostrar achivos y carpetas ocultos
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Hidden"=dword:00000001
"ShowSuperHidden"=dword:00000001

;Administrar (sólo para ordenar el menú alfabéticamente, añade un 0 antes del nombre)
[-HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage]

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\0Manage]
@=hex(2):40,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\
  00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\
  79,00,63,00,6f,00,6d,00,70,00,75,00,74,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
  00,34,00,30,00,30,00,00,00
"MUIVerb"=hex(2):40,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,\
  6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
  00,6d,00,79,00,63,00,6f,00,6d,00,70,00,75,00,74,00,2e,00,64,00,6c,00,6c,00,\
  2c,00,2d,00,34,00,30,00,30,00,00,00
"SuppressionPolicy"=dword:4000003c
"HasLUAShield"=""

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\0Manage\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,43,00,6f,00,\
  6d,00,70,00,4d,00,67,00,6d,00,74,00,4c,00,61,00,75,00,6e,00,63,00,68,00,65,\
  00,72,00,2e,00,65,00,78,00,65,00,00,00

;Administrador de Dispositivos
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\1DevMgr]
@="Administrador de Dispositivos"
"icon"="control.exe"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\1DevMgr\command]
@="mmc /s devmgmt.msc"

;Administrador de discos
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\2DiskMgmt]
@="Administrador de Discos"
"Icon"="dmdskres.dll"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\2DiskMgmt\command]
@="mmc /s diskmgmt.msc"

;Services
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Services]
@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
  00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,\
  68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,32,\
  00,32,00,30,00,35,00,39,00,00,00
"SuppressionPolicy"=dword:4000003c
"HasLUAShield"=""
"Icon"=hex(2):66,00,69,00,6c,00,65,00,6d,00,67,00,6d,00,74,00,2e,00,64,00,6c,\
  00,6c,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Services\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,\
  63,00,2e,00,65,00,78,00,65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,\
  00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,\
  74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,\
  00,73,00,2e,00,6d,00,73,00,63,00,00,00

;Task Manager  
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Task Manager]
"Icon"=hex(2):74,00,61,00,73,00,6b,00,6d,00,67,00,72,00,2e,00,65,00,78,00,65,\
  00,00,00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Task Manager\command]
@="taskmgr.exe"

;MSConfig
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\MSConfig]
"Icon"=hex(2):6d,00,73,00,63,00,6f,00,6e,00,66,00,69,00,67,00,2e,00,65,00,78,\
  00,65,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\MSConfig\command]
@="msconfig.exe"

;Command Prompt
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\CMD]
@="Command Prompt"
"icon"="cmd.exe"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\CMD\command]
@="cmd.exe"

;Regedit
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Regedit]
@="Regedit"
"icon"="regedit.exe"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Regedit\command]
@="regedit.exe"

;Desinstalar Programas
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Add/Remove Programs]
@="Desinstalar Programas"
"Icon"=hex(2):77,00,65,00,78,00,74,00,72,00,61,00,63,00,74,00,2e,00,65,00,78,\
  00,65,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Add/Remove Programs\command]
@="control appwiz.cpl"

;Notepad++
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Notepad]
"icon"="C:\\Program Files (x86)\\Notepad++\\notepad++.exe"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Notepad\command]
@="Notepad++.exe"

;Windows Update
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Windows Update]
"Icon"=hex(2):77,00,75,00,63,00,6c,00,74,00,75,00,78,00,2e,00,64,00,6c,00,6c,\
  00,00,00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Windows Update\command]
@="wuapp.exe"

;Abrir CMD en el Explorador con el botón derecho
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Abrir CMD aquí"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""




I'll keep trying... :yes:

This post has been edited by alfreire: 19 June 2012 - 01:01 PM


#60 User is offline   myselfidem 

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

Posted 19 June 2012 - 01:51 PM

About Internet Settings, you can add inside your Autounattend.xml file:

<settings pass="specialize">
        <component name="Microsoft-Windows-IE-InternetExplorer" 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">
            <DisableFirstRunWizard>true</DisableFirstRunWizard>
            <DisableWelcomePage>true</DisableWelcomePage>
        </component>>


This post has been edited by myselfidem: 19 June 2012 - 01:53 PM


Share this topic:


  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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