coucou Posted May 31, 2011 Share Posted May 31, 2011 Hi maxXPsoft and myselfidem,May I ask a stupid question for my culture What difference between launching prog from <SynchronousCommand...<order and $OEM$\$$\Setup\scripts\SetupComplete.cmd?Which is launched first <SynchronousCommand or SetupComplete.cmd?Do SetupComplete.cmd is launched automaticaly (No external command)? Can I use both <SynchronousCommand and SetupComplete.cmd? Regards Link to comment Share on other sites More sharing options...
myselfidem Posted May 31, 2011 Share Posted May 31, 2011 (edited) It's an interesting question, you know!I use both: Inside Autounattend.xml<FirstLogonCommands> <SynchronousCommand wcm:action="add"> And SetupComplete.cmd inside: $OEM$\$$\Setup\Scripts\SetupComplete.cmdI think SetupComplete.cmd is launched first (which runs after OOBE phase but before first logon) and after the <SynchronousCommand > at first logon! http://social.techne...d4-868cfe0635d7Yes! SetupComplete.cmd is launched automaticaly if existshttp://technet.micro...314(WS.10).aspxhttp://technet.micro...314(WS.10).aspxFirstlogonCommands:http://technet.micro...150(WS.10).aspx Edited May 31, 2011 by myselfidem Link to comment Share on other sites More sharing options...
coucou Posted May 31, 2011 Share Posted May 31, 2011 (edited) It's an interesting question, you know!I use both: The question is not fortuitous.In fact, I noticed, that some of the registry tweaks are not applied with the <SynchronousCommand, especially the here bellow attached Mouse Pointer. On the other hand, that registry is applied when it run under WPI.My next test is to run that registry via SetupComplete.cmd.Pointer Inverted Extra Large.reg Edited May 31, 2011 by coucou Link to comment Share on other sites More sharing options...
myselfidem Posted May 31, 2011 Share Posted May 31, 2011 (edited) Yes, you can use SetupComplete.cmd to add registry keys!Example (You can also add other registry keys!):SetupComplete.cmd@ECHO OFFSET KEY=HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\001 /V 1 /D "REGEDIT /S %systemroot%\Setup\Scripts\Tweaks.reg" /fEXITIf you want you can also inject the keys inside the mounted hives (post #91 and after):http://www.msfn.org/board/topic/139572-ask-your-seven-xml-here/page__st__80 Edited May 31, 2011 by myselfidem Link to comment Share on other sites More sharing options...
coucou Posted May 31, 2011 Share Posted May 31, 2011 I'm starting the tests and let you know later tomorrow Link to comment Share on other sites More sharing options...
coucou Posted May 31, 2011 Share Posted May 31, 2011 (edited) Test made here the rsult...SetupComplete.cmd is launched first is launched widely befor WPI <SynchronousCommand <order>6</order>.This time almost all registries are implemented except the here bellow Mouse Pointer. I think, I'll add the same cursor registry entries to [HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Control Panel\CursorsI tested setAcl works like a charm setAcl is also launched by SetupComplete.cmd I encountered 2 problems.1) During the install after the 1st or second reboot I got the messages "Activate Windows" that I cancelled then I got "This copy of Windows is NOT genuine"... I remind you all my install test are on a VMWare Worstation machine. I made many many test installation before, is the first time i get that genuine message.2) Right clik Desktop, I've "Task Manager" shortcut directing to nowhere.Regards Pointer Inverted Extra Large.reg (3.29K) Edited May 31, 2011 by coucou Link to comment Share on other sites More sharing options...
myselfidem Posted May 31, 2011 Share Posted May 31, 2011 (edited) Test made here the rsult...1) During the install after the 1st or second reboot I got the messages "Activate Windows" that I cancelled then I got "This copy of Windows is NOT genuine"... 1) Have you used the original key or the default key for Windows 7?If you have used LicRestore to save and use Tokens.dat and pkeyconfig.xrm-ms, you need to make a new time for Windows 7 SP1 because the files aren't the same that Windows SP0!Help here also:http://www.msfn.org/.../page__st__14002) It seems the registry key isn't the good one for "Task Manager"! Could you attach the reg file to check?*Edit:I use this one (Task Manager with right click on the Desktop):TaskManager.regWindows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Directory\Background\shell\taskmgr]@="Gestionnaire des tâches""Icon"="taskmgr.exe""Position"="Bottom"[HKEY_CLASSES_ROOT\Directory\Background\shell\taskmgr\command]@="taskmgr.exe" Edited May 31, 2011 by myselfidem Link to comment Share on other sites More sharing options...
coucou Posted May 31, 2011 Share Posted May 31, 2011 (edited) 1) Have you used the original key or the default key for Windows 7?Since allways I'm using the default key.Moreover, I've used that unattended Win7 SP1 since 8 tests with no genuine message during the install. All what I modify is <SynchronousCommand in Autounattend.xml, added $OEM$\$$\Setup\Scripts\SetupComplete.cmd and $OEM$\$$\Setup\Scripts\MyTweaks.reg Regarding TaskManager.reg, the following was missed[HKEY_CLASSES_ROOT\Directory\Background\shell\taskmgr\command] @="taskmgr.exe"Regards Edited May 31, 2011 by coucou Link to comment Share on other sites More sharing options...
myselfidem Posted May 31, 2011 Share Posted May 31, 2011 Could you attach your new Autounattend.xml file, please? Link to comment Share on other sites More sharing options...
coucou Posted May 31, 2011 Share Posted May 31, 2011 Could you attach your new Autounattend.xml file, please?Here ist it Link to comment Share on other sites More sharing options...
myselfidem Posted May 31, 2011 Share Posted May 31, 2011 (edited) I think you need to use the new KB890830 (May) inside your Autounattend.xml file:windows-kb890830-v3.19.exewindows-kb890830-v3.19-delta.exeI don't integrate this update and this one change every month!http://catalog.updat...aspx?q=kb890830http://forums.mydigitallife.info/threads/23139-Not-genuine-after-KB890830-(latest-quot-software-removal-tool-quot-) Edited May 31, 2011 by myselfidem Link to comment Share on other sites More sharing options...
coucou Posted May 31, 2011 Share Posted May 31, 2011 I think you need to use the new KB890830 (May) inside your Autounattend.xml file:I don't integrate this update and this one change every month!TNX for the new KB890830 .I will NOT integrate the delta. What I don't understand is I was using that same KB890830 +delta since 9 install without any genuine problem Link to comment Share on other sites More sharing options...
myselfidem Posted May 31, 2011 Share Posted May 31, 2011 I suggest do not install KB890830 but let Windows Update install this update!It's just my advice!The silent installation is faster whithout KB890830. Link to comment Share on other sites More sharing options...
coucou Posted May 31, 2011 Share Posted May 31, 2011 (edited) I'll made other tests. As a last resort I'll not install KB890830 I let you know further Edited June 2, 2011 by coucou Link to comment Share on other sites More sharing options...
coucou Posted June 2, 2011 Share Posted June 2, 2011 Bonsoir myselfidem,As promised, I made the tests and here the results.1) Regarding the messages I got "Activate Windows" during the install after the 1st or second reboot is due to my installed VMWare Workstation, I had to uninstall and RE-install it. In fact the vmware-vmx.exe file in the VMWare Workstation prog is acting as the BIOS for the virtual machine. That file was failed.So after having my virtual machine Win7 activated, I backup it with this TOOL. I got backup success. I made again some modifications inside my unattended Wi7 and RE-install it, I loose the activation. So Itest that same tool for the restore, this time I got "ERROR: Windows activation info backup is not found" altough the backup exists 2) Except the Mouse Pointer tweak (post #171) evrything works just fine 3) I updated WPI 8.1 to 8.2 it looks more accurate. (I copy from 8.1 to 8.2 config.js; useroptions.js and windowoptions.js).The only problem I've with WPI 8.2 is 2 screens overlaped. In fact my WPI consist of 4 screens of prog to install. When WPI start, everything goes fine. Few minutes later screen 3 and 4 become overlaped and can't check or uncheck any prog to install (see image bellow).I'll appreciate if you can help 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