Quantcast
Channel: Microsoft Deployment Toolkit forum
Viewing all articles
Browse latest Browse all 11297

USMT, exclude program folders in the Start Menu - All Programs

$
0
0

Hi,

I am trying to exclude all software entries in the Start Menu - All Programs for software that is not installed on newly deployed computers but USMT always migrate these folders, i have added the following at the end of my MigUser.xml file but still,...:

<component type="System" context="user">
                <displayName _locID="miguser.User_Exclusions">User Exclusions</displayName>
                <role role="Data">
                        <rules>
                                <unconditionalExclude>
                                        <objectSet>
                                         
                                        <!-- exclude blank links on the desktop-->      
                                                               
                                        <pattern type="File">%CSIDL_DEFAULT_PROGRAMS%\* [*]</pattern>
                                        <pattern type="File">%CSIDL_DEFAULT_STARTMENU%\* [*]</pattern>
                                        <pattern type="File">%CSIDL_DEFAULT_STARTUP%\* [*]</pattern>
                                        <pattern type="File">%CSIDL_PROGRAMS%\* [*]</pattern>                                                    
                                        <pattern type="File">%CSIDL_STARTMENU%\* [*]</pattern>
                                        <pattern type="File">%CSIDL_STARTUP%\* [*]</pattern>
 
                                        </objectSet>
                                </unconditionalExclude>
                        </rules>
                </role>
        </component>
 
        <!-- This component EXCLUDES the following shared User specific stuff-->
        <component type="System" context="System">
                <displayName _locID="miguser.Shared_User_Exclusions">Shared User Exclusions</displayName>
                <role role="Data">
                        <rules>
                                <unconditionalExclude>
                                        <objectSet>
                                                                                                                                     
                                        <pattern type="File">%CSIDL_COMMON_PROGRAMS%\* [*]</pattern>
                                        <pattern type="File">%CSIDL_COMMON_STARTMENU%\* [*]</pattern>
                                        <pattern type="File">%CSIDL_COMMON_STARTUP%\* [*]</pattern>
                                  
                                        <pattern type="File">%CSIDL_PROGRAMS%\* [*]</pattern>                                                    
                                        <pattern type="File">%CSIDL_STARTMENU%\* [*]</pattern>
                                        <pattern type="File">%CSIDL_STARTUP%\* [*]</pattern>
 
                                        </objectSet>
                                </unconditionalExclude>
                        </rules>
                </role>
        </component>



Viewing all articles
Browse latest Browse all 11297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>