alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 Could you please attach your reg file and I will make an test with WPI?http://www.msfn.org/board/index.php?app=core&module=attach§ion=attach&attach_id=34496This file by example... I export that key from registry, delete key and try import with WPI, but not work... If run reg file directly work perfect... Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 (edited) 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:00000001Works fine for me!If you have some trouble with some registry keys, you can add a new thread!CheersI search info for "ConsentPromptBehaviorAdmin" and I think my setting value "0" it's correct, not found "5" value from Microsoft... can you tell me it means "5" value...? http://msdn.microsoft.com/en-us/library/cc232762%28v=prot.10%29 Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Value: "ConsentPromptBehaviorAdmin" Type: REG_DWORD Data: This MUST be a value in the following table. Value Meaning 0x00000000 This option SHOULD be used to allow the Consent Admin to perform an operation that requires elevation without consent or credentials. 0x00000001 This option SHOULD be used to prompt the Consent Admin to enter his or her user name and password (or another valid admin) when an operation requires elevation of privilege. 0x00000002 This option SHOULD be used to prompt the administrator in Admin Approval Mode to select either "Permit" or "Deny" an operation that requires elevation of privilege. If the Consent Admin selects Permit, the operation will continue with their highest available privilege. "Prompt for consent" removes the inconvenience of requiring that users enter their name and password to perform a privileged task. Edited June 18, 2012 by alfreire Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 (edited) 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:00000001After 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.txtDébut de l'installation: lundi 18 juin 2012 16:37:13Information WPI: Version=8.5 Exécutable utilisé=true Version d'Internet Explorer=8.0 Connexion Internet=falseSystème d'exploitation Système d'exploitation=Not found ID Edition=Not found Service Pack=0Architecture Nom de l'Architecture=GenuineIntel Chaîne du Nom de l'Architecture=Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz ID Architecture=Intel64 Family 6 Model 37 Stepping 2 Nombre de Processeurs=1 MHz=3159 Type d'Architecture=AMD64 SysArch6432=NOT_DEFINED Bits Architecture=64 64 Bits réel=true Fichier Options=D:\wpi\UserFiles\useroptions.js Fichier Configuration=D:\wpi\UserFiles\config.js Fichier Réseau=D:\wpi\UserFiles\networkoptions.js// Window tab Resolution=0 MainWindowWidth=800 MainWindowHeight=600 MainWindowX=-1 MainWindowY=-1 InstallerWindowX=25 InstallerWindowY=25// General tab NumCols=1 // --- Timer=true Seconds=9 StartBeepAtSecs=10 // --- Language='fr' // --- DefaultInstallPath='%wpipath%' CustomInstallPath=[''] // --- AbortInstallIfFailure=true ExecuteCommandIfFailure=[''] ContinueWhereFailed=false// Features tab ShowExtraButtons=true DoNotShowIfCD=true USSFSilentMode=false VerifyInstallHDD=false AllowCheckForInternet=false LoadDesktopBeforeInstall=true ReOpenAfterInstall=false DisableCatCheckBoxes=false SortWithinCats=false DisableOnDepsNotMet=true AlwaysUseScrollBar=true DontSplitCats=true InstallByCategory=false ReallyForce=false DisableIfDoGray=false InstallFonts=true ShowCommandInInstaller=false ShowInstallerImages=true AlwaysShowOutputWindow=false EjectCDWhenDone=false DoNotShowIfUSB=true DisableHotKeys=false// Tools tab MonitorResolution=0 MonitorDepth=0 MonitorRefresh=0 // --- ExecuteBeforeEnabled=false ExecuteBeforebit64=false ExecuteBefore=[''] ExecuteAfterEnabled=true ExecuteAfterbit64=false ExecuteAfter=['"%systemdrive%\Windows\SETUP\SCRIPTS\clean.vbs"'] // --- RestartComputer=false RestartType=0 RestartSeconds=0 DoNotLoadDesktop=false // --- LogInstallation=true LogPath=['%temp%\WPI_Log.txt']; TimeStampLogFile=true// Audio tab PlayAudioInInstaller=false InstallAudio=[''] Volume=75 Shuffle=false CopyAudioFolder=false CopyAudioPath=[''] DeleteAudioFolder=false// Sounds tab SndWPIStartCB=true SndWPIStart=['"%wpipath%\Audio\SoundsScheme\Alert.wav"']; SndInstallStartCB=false SndInstallStart=['"%wpipath%\Audio\SoundsScheme\AtBeginning.wav"']; SndInstallSuccessCB=false SndInstallSuccess=['"%wpipath%\Audio\SoundsScheme\Yes.wav"']; SndInstallFailCB=false SndInstallFail=['"%wpipath%\Audio\SoundsScheme\No.wav"']; SndInstallFinishCB=false SndInstallFinish=['"%wpipath%\Audio\SoundsScheme\AtEnd.wav"'];// Style tab Theme='Windows7' Skin='SkyBlue' BgPicture='' // --- LayoutStyle=1 // --- ShowToolTips=falseVariables Globales: %OSLANG%= %WPIPATH%=D:\wpi %ROOT%=D: %CDROM%=D: USB= %DOSPATH%= %SYSTEMDRIVE%=C: %WINDIR%=C:\Windows %PROGRAMFILES%=C:\Program Files %TEMP%=C:\Users\Admin\AppData\Local\Temp %SYSDIR%=C:\Windows\System32 %ALLUSERSPROFILE%=C:\ProgramData %USERPROFILE%=C:\Users\Admin %APPDATA%=C:\Users\Admin\AppData\Roaming %COMMONPROGRAMFILES%=C:\Program Files\Common FilesListe des programmes à installer: Tweaks Execute After2 Eléments, 2 Commandes-----lundi 18 juin 2012 16:37:20 Programme: Tweaks ID unique: TWEAKS Ordre: 000023 Catégorie: Applications lundi 18 juin 2012 16:37:21 - cmd1 Succès (Code de retour 0): "C:\Windows\SysWOW64\RegEdit" /S "D:\wpi\Install\Tweaks\PowerMenu.reg" lundi 18 juin 2012 16:37:21 - Installation terminée.-----lundi 18 juin 2012 16:37:21 Programme: Execute After ID unique: EXECUTE_AFTER Ordre: 0 Catégorie: WPI Built In lundi 18 juin 2012 16:37:23 - cmd1 Succès (Code de retour 0): "C:\Windows\SETUP\SCRIPTS\clean.vbs" lundi 18 juin 2012 16:37:23 - Installation terminée.-----Nombre d'installations échouées: 0Installation terminée: lundi 18 juin 2012 16:37:23 Edited June 28, 2012 by myselfidem Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 So, where can be the problem ...? Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 (edited) 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 UACAttached file removed. Edited June 28, 2012 by myselfidem Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 (edited) lunes, 18 de junio de 2012 17:33:49 - cmd1 Enhorabuena (Código devuelto 0): "C:\Windows\SysWOW64\RegEdit" /S "J:\WPI\Install\Tweaks\PowerMenu.reg"Not work with WPI... If I run PowerMenu.reg direclty work ok... Edited June 18, 2012 by alfreire Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 I uploaded a NEW "Tweaks.rar" on my last post, because with the Microsoft values, doesn't works. Please download the new one. Thanks Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 I uploaded a NEW "Tweaks.rar" on my last post, because with the Microsoft values, doesn't works. Please download the new one. ThanksDoesn't work... lunes, 18 de junio de 2012 17:53:41 - cmd1 Enhorabuena (Código devuelto 0): "C:\Windows\SysWOW64\RegEdit" /S "J:\WPI\Install\Tweaks\PowerMenu.reg"Thank's to you by your help... Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 (edited) Maybe you try to add with WPI:DefaultInstallPath='%wpipath%' Edited June 18, 2012 by myselfidem Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 I tried it, but does not work... Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 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 : AdminHTH Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 I'll try...Thank you very much... Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 (edited) 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";------------------------------------------------------------------------------------------------- Edited June 18, 2012 by myselfidem Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 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... ;-) Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 (edited) 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 Edited June 21, 2012 by myselfidem Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now