Jump to content

myselfidem

Member
  • Posts

    2,515
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Switzerland

Everything posted by myselfidem

  1. Maybe you can use a vbs script to hide the command batch prompt, like this(example and adapt to your needs): ' Hide the batch file (clean.cmd) Set WshShell = WScript.CreateObject("WScript.Shell" ) WshShell.Run "%SystemRoot%\Setup\Scripts\clean.cmd" ,SH_WIDE ,true HTH
  2. Why not ask the question directly? Maybe you can attach your command? I don't know if it's possible to do like you want.
  3. Yes. Why don't wait the cmd isexecuted?
  4. *Edit: Here is my reg file working fine: Windows Registry Editor Version 5.00 ; French language. Adapt to your language [-HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage] @=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\Manage\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 [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage] "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 "HasLUAShield"="" "SubCommands"="msconfig;regedit;diskmgmt;devmgr;taskmgr;runas;programs;services;wu" [HKEY_CLASSES_ROOT\Directory\Background\Shell\Manage] "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 "HasLUAShield"="" "Position"="Top" "SuppressionPolicy"=dword:4000003c "SubCommands"="msconfig;regedit;diskmgmt;devmgr;taskmgr;runas;programs;services;wu" ; Gestionnaire de périphériques [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\devmgr] @="Gestionnaire de périphériques" "Icon"=hex(2):64,00,65,00,76,00,6d,00,67,00,72,00,2e,00,64,00,6c,00,6c,00,2c,\ 00,34,00,00,00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\devmgr\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,44,00,65,00,76,00,4d,\ 00,67,00,6d,00,74,00,2e,00,6d,00,73,00,63,00,00,00 ; Gestion des disques [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\diskmgmt] @="Gestion des disques" "Icon"="dmdskres.dll" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\diskmgmt\command] @="mmc /s diskmgmt.msc" ; Services [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\services] @="Services" "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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\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,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 ; Gestionnaire des tâches [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\taskmgr] @="Gestionnaire des tâches" "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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\taskmgr\command] @="taskmgr.exe" ; Configuration du système [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\msconfig] @="Configuration du système" "Icon"="msconfig.exe,-0" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\msconfig\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,73,00,\ 63,00,6f,00,6e,00,66,00,69,00,67,00,2e,00,65,00,78,00,65,00,00,00 ; Editeur du registre [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\regedit] @="Editeur du registre" "Icon"="regedit.exe,-0" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\regedit\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,72,00,65,00,67,00,65,00,64,00,69,00,74,00,2e,00,65,00,78,00,65,00,\ 00,00 ; Programmes et fonctionnalités [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\programs] @="Programmes et fonctionnalités" "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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\programs\command] @="control appwiz.cpl" ; Windows Update [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\wu] @="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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\wu\command] @="wuapp.exe" ; Invite de commande Administrateur [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\runas] @="Invite de commande" "Icon"="UserAccountControlSettings.exe,-0" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\runas\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,63,00,6d,00,\ 64,00,2e,00,65,00,78,00,65,00,00,00 About Notepad++ inside your reg file, it's only available with Windows 7 64-bit. About the order, you can change this one with the SubCommands order: "SubCommands"="msconfig;regedit;diskmgmt;devmgr;taskmgr;runas;programs;services;wu" Enjoy
  5. It is solved now about reg files with Windows 7 64-bits?
  6. 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>>
  7. 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
  8. 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 !
  9. 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"
  10. Have you the same trouble installing Windows 7 x86?
  11. 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) ?
  12. 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
  13. 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
  14. 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" ;-------------------------------------------------------------------------------------------------
  15. 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
  16. Maybe you try to add with WPI: DefaultInstallPath='%wpipath%'
  17. I uploaded a NEW "Tweaks.rar" on my last post, because with the Microsoft values, doesn't works. Please download the new one. Thanks
  18. Maybe you can try this reg file! Same folder you used: "WPI\Install\Tweaks\PowerMenu.reg" *Edit: After testing the reg file I given with the MS values...Doesn't work! The problem is Disabling UAC Attached file removed.
  19. Yes, you are right, it's better to use the correct values: Windows Registry Editor Version 5.00 ;-------------------------------------------------------------- ; - Désactiver le contrôle des comptes d'utilisateurs ( UAC ) - ;-------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] "ConsentPromptBehaviorAdmin"=dword:00000000 "EnableLUA"=dword:00000000 "PromptOnSecureDesktop"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center] "UacDisableNotify"=dword:00000001 After a new test, all reg files are successfully installed with, BUT WITH MY REG FILE TO DISABLE UAC: cmd1 Succès (Code de retour 0): "C:\Windows\SysWOW64\RegEdit" /S "D:\wpi\Install\Tweaks\PowerMenu.reg" WPI_Log.txt
  20. Could you please attach your reg file and I will make an test with WPI?
  21. Like I can see, you have no error inside your last test using WPI!
  22. All my keys works fine...But it seems you are trying to install with an USB key. Or I'm wrong?
  23. You are asking about a new question without answered about the first question and your new key isnt'correct!
  24. To disable the UAC, I use: Windows Registry Editor Version 5.00 ;-------------------------------------------------------------- ; - Désactiver le contrôle des comptes d'utilisateurs ( 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 Works fine for me! If you have some trouble with some registry keys, you can add a new thread! Cheers
×
×
  • Create New...