Edited by johnhc, 27 October 2012 - 09:33 AM.
Login to Account Create an Account
[Resolved] Get rid of Start Menu items after install?
Posted 22 October 2012 - 06:48 PM
Posted 23 October 2012 - 08:43 AM
User Policy\Admin Templates\Start Menu and Taskbar - Clear the recent programs list for new users.
My test PC has Home Premium on it right now so I can't test it myself.
Posted 23 October 2012 - 09:34 AM
Posted 23 October 2012 - 01:19 PM
EDIT: After some time trying to figure out what part of the .reg file is required I am at a loss. It contains HKEY_USERS keys which I assume cannot be injected into the wim file. I have tried stripping them out ad importing the reg file on my VM after disabling the Group Policy. The file imports OK but does not enable the policy. I hope someone will offer some help. Thanks and enjoy, John.
EDIT: I am removing the attached .reg file since it contains many unneeded keys. The solution is below.
Edited by johnhc, 27 October 2012 - 09:34 AM.
Posted 24 October 2012 - 05:58 AM
Number of Recent programs to display
Number of Recent items to display in jump lists
I set at 0
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Start_MinMFU"=dword:00000000 "Start_JumpListItems"=dword:00000000
Posted 24 October 2012 - 08:48 AM
Posted 24 October 2012 - 09:15 AM
Can either of you or anyone suggest a way to implement the Group Policy change during W7 installation? Thanks maxXPsoft and Tripredacus for your time. Enjoy, John.
Posted 24 October 2012 - 02:41 PM
Anyways, I think mostly everything in Local Security Policy is actually stored in the registry, but that it is easier to set it using the snap-in.
HKEY_USERS should be able to be put in the WIM file but it isn't exact since Windows changes how the registry is used in online vs offline modes. There are two ideas I have just now:
1. Boot into a PE and look at the offline registry hives for these settings. Export those reg files and test import them into a mounted registry from the WiM and test.
2. This reg file you exported from the running OS, add FirstLogonCommands to merge the .reg file during OOBE.
Posted 24 October 2012 - 03:52 PM
EDIT: Earlier today I injected one line of maxXPsoft's file into my .wim and installed it on VM. It had no effect on the the Start Menu.
Edited by johnhc, 24 October 2012 - 05:20 PM.
Posted 25 October 2012 - 08:19 AM
My idea is if you make the change in the Default, it should apply to all users. Otherwise, it looks like the regular HKEY_USERS is stored in NTUSER.DAT. I did a quite look and I'm not sure where that file is, then again I'm not even sure how to use it either.
Posted 25 October 2012 - 09:05 AM
I agree. Think I tried this a long time ago and and never could beat it so went to 0 and 0 cause I pin a bunch of my common programs on Start so I have a clear desktop
I don't think you can empty the list before the first login, when it is pre-populated by Microsoft entries.My link
Start_JumpListItems refers to recent items by a single program. Example I set at 2
Start_JumpListItems.png 15.31KB 1 downloads
Posted 25 October 2012 - 11:41 AM
Thanks also maxXPsoft. I may well end up as you and as I mentioned above.
Thanks and enjoy, John.
EDIT: Here are all the NTUSER.DAT files in the .wim file. There is one in the config folder:
C:\Fast\Mount\Users\Administrator\NTUSER.DAT C:\Fast\Mount\Users\Default\NTUSER.DAT C:\Fast\Mount\Windows\ServiceProfiles\LocalService\NTUSER.DAT C:\Fast\Mount\Windows\ServiceProfiles\NetworkService\NTUSER.DAT C:\Fast\Mount\Windows\System32\config\systemprofile\ntuser.datI will investigate these on my VM.
Edited by johnhc, 25 October 2012 - 02:07 PM.
Posted 25 October 2012 - 02:59 PM
That is default user and inside install.wim
You mount the image then Load the registry like this
reg load HKEY_USERS\WIM_Default "D:\zMountdir\Windows\system32\config\default"
reg unload HKEY_USERS\WIM_Default
Dismount Image saving it
default.PNG 27.28KB 5 downloads
loaded.PNG 11.51KB 5 downloads
Edited by maxXPsoft, 25 October 2012 - 03:30 PM.
Posted 25 October 2012 - 03:32 PM
Posted 26 October 2012 - 08:05 AM
Posted 26 October 2012 - 09:10 AM
I removed both those in HKEY_USERS and rebooted and they reappear so they are populated from somewhere else
Also the listing in that Muicache is for an icon not a link @comres.dll,-2450
HKEY_USERS\.DEFAULT is the Default user in the registry and the Default file matches it closely, but as you can see there is not much you can change there
Edited by maxXPsoft, 26 October 2012 - 09:12 AM.
Posted 26 October 2012 - 09:34 AM
Posted 27 October 2012 - 12:54 AM
I use Win Toolkit to slipstream below key as .WA addon.
This is what I have when I first get to the desktop. (on win7x86)
As my Autounattend.xml contains some existing link, just to let you know it has no affect and is unable to add new item even if you have entries to <StartPanelLinks>.
Also my Autounattend.xml creates 2 users. I check the second user start menu. No item is pinned too.
Currently. I'm exploring how to pin my own program to the start menu. If I find something, I let you know.
Hope this is useful,
Windows Registry Editor Version 5.00 [HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Start_MinMFU"=dword:00000000 "Start_JumpListItems"=dword:00000000
Edited by Geej, 27 October 2012 - 03:27 AM.
Posted 27 October 2012 - 09:27 AM
[HKEY_LOCAL_MACHINE\WIM_Default\Software\Microsoft\Windows\CurrentVersion\Policies] [HKEY_LOCAL_MACHINE\WIM_Default\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "ClearRecentProgForNewUserInStartMenu"=dword:00000001I injected this code into the install.wim using:
reg.exe load HKEY_LOCAL_MACHINE\WIM_Default "%Mount%\Users\Default\NTUSER.DAT"Ran the ISO on a VM and there is an empty Start Menu but if I run Paint (for example) it is placed in the menu. I have some exploring to do to fully understand what I have learned. I will remove the attached .reg file above since it contains many unneeded things. Where the HKEY_USERS keys came from I do not know. It may have been due to some other activity after shot one and before shot two of RegShot. I did several other RegShots and never saw the HKEY_USERS keys again. A red herring that really confused me (perhaps easy to do). The epiphany came from a search of MS TechNet for "Clear the recent programs list for new users" - here. Thank you Tripredacus and maxXPsoft for your help and time.
Geej, I ran the same test as you and got the same results. I have a command file and VBS file that will pin/unpin items for the Start Menu and Taskbar. Found the solution searching the Internet. If you cannot find it quickly, then please start another thread and I will post my files there.
Posted 27 October 2012 - 10:44 AM
I think you could use and mount the Software file from Mountdir\Windows\system32\config\Software. That represents the HKLM\Software
I'll have to try it next time around.
This is how I do 'pinned to start menu' http://www.msfn.org/...620#entry938620
This did not work on Win 8 VM so far, I installed that Windows 7 explorer for Windows 8 and my items are not pinned. I'll be looking into that.
Posted 27 October 2012 - 12:49 PM
Posted 30 January 2013 - 12:03 AM
Windows Registry Editor Version 5.00 ;I don't want these in my Start Menu! [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\Notepad.exe] "NoStartPage"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\WinRAR.exe] "NoStartPage"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\cmd.exe] "NoStartPage"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\Wupdmgr.exe] "NoStartPage"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\migwiz.exe] "NoStartPage"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\regedit.exe] "NoStartPage"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\msmsgs.exe] "NoStartPage"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\wmplayer.exe] "NoStartPage"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\calc.exe] "NoStartPage"=""
Edited by DarkBringer, 30 January 2013 - 12:05 AM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users