Mann Posted April 5, 2004 Share Posted April 5, 2004 is it possible to get rid of softwares shortcuts created on administrator start menu? Link to comment Share on other sites More sharing options...
trev Posted April 5, 2004 Share Posted April 5, 2004 If you are using a non-administrator account and deleting software shortcuts created by an adminstrator, you can't do it! If your on the administrator's account, you would be able to by right clicking on the software shortcut and click delete. Link to comment Share on other sites More sharing options...
big_gie Posted April 5, 2004 Share Posted April 5, 2004 Look also in the Default user folder (%UserProfile%\..\Default User\Desktop, Start menu, etc) their will be some icon wich are created each time a user is created... Link to comment Share on other sites More sharing options...
trev Posted April 5, 2004 Share Posted April 5, 2004 And then right click on the icon and click delete. Link to comment Share on other sites More sharing options...
eirogge Posted April 5, 2004 Share Posted April 5, 2004 And then right click on the icon and click delete.thats what i call a great tip on a medi-pro software board just kidding Link to comment Share on other sites More sharing options...
Mann Posted April 5, 2004 Author Share Posted April 5, 2004 what i meant it's possible in uanattended mode. Link to comment Share on other sites More sharing options...
eirogge Posted April 5, 2004 Share Posted April 5, 2004 you just have to execute a batchfile in GuiRunOnce. there you can use the batch-commands for removing files, directories, creating files and directories and so on. Link to comment Share on other sites More sharing options...
Mann Posted April 5, 2004 Author Share Posted April 5, 2004 you just have to execute a batchfile in GuiRunOnce. there you can use the batch-commands for removing files, directories, creating files and directories and so on.i managed to get rid of shortcuts created at alluser profile start menu but not on administrator.any clue Link to comment Share on other sites More sharing options...
Aaron Posted April 5, 2004 Share Posted April 5, 2004 lol trev, do you know what this forum is for? Link to comment Share on other sites More sharing options...
trev Posted April 5, 2004 Share Posted April 5, 2004 yeah Link to comment Share on other sites More sharing options...
gtaylor Posted April 6, 2004 Share Posted April 6, 2004 In order to remove shortcuts from the Administrator account you need to remove them from the "Default User" profile during the GUI-Mode setup. This is best done using the CMDLINES.TXT file in your $OEM$ folder. I use an INF file to modify the shortcuts however you could also use a batch file or script to do the same thing. Some shortcuts are created when the user first logs on (eg Windows Media Player) using Active Setup. You can disable these by removing the StubPath key from the ActiveSetup portion of the Windows registry.I have attached a copy of the INF I use to remove the shortcuts I don't want from the Start menu. Here is a sample of my CMDLINES.TXT calling the INF files.;cmdlines.txt;;Commands placed in this file are run during GUI mode setup.[Commands]"rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\ActiveSetup.inf""rundll32 setupapi,InstallHinfSection AddGroups 128 .\Shortcuts.inf""rundll32 setupapi,InstallHinfSection DelShortcuts 128 .\Shortcuts.inf"Here is the INF file to disable Active Setup:;ActiveSetup.inf[Version]Signature=$CHICAGO$[DefaultInstall]DelReg=ActiveSetup.Delete;Disable Active Setup Items[ActiveSetup.Delete]HKLM, "%ActiveSetup%\{5945c046-1e7d-11d1-bc44-00c04fd912be}","Stubpath" ;Windows MessengerHKLM, "%ActiveSetup%\{89820200-ECBD-11cf-8B85-00AA005B4383}","Stubpath" ;Internet Explorer 6HKLM, "%ActiveSetup%\{6BF52A52-394A-11d3-B153-00C04F79FAA6}","Stubpath" ;Windows Media PlayerHKLM, "%ActiveSetup%\{44BBA840-CC51-11CF-AAFA-00AA00B6015C}","Stubpath" ;Outlook ExpressHKLM, "%ActiveSetup%\>{881dd1c5-3dcf-431b-b061-f3f88e8be88a}","Stubpath" ;Outlook ExpressHKLM, "%ActiveSetup%\>{26923b43-4d38-484f-9b9e-de460746276c}","Stubpath" ;Internet ExplorerHKLM, "%ActiveSetup%\>{22d6f312-b0f6-11d0-94ab-0080c74c7e95}","Stubpath" ;Windows Media Player[strings]RunOnce = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" ActiveSetup = "SOFTWARE\Microsoft\Active Setup\Installed Components"Shortcuts.inf Link to comment Share on other sites More sharing options...
gosh Posted April 6, 2004 Share Posted April 6, 2004 nice job gtaylor.-gosh Link to comment Share on other sites More sharing options...
Mann Posted April 6, 2004 Author Share Posted April 6, 2004 thanks gtaylor although I'm not familiar with INF file i did managed to get rid of most of the shortcuts using CMDLINES.TXT file. Link to comment Share on other sites More sharing options...
WwTIPPYwW Posted April 7, 2004 Share Posted April 7, 2004 I've got these - maybe they'll help...ECHO.ECHO Removing Useless ShortcutsECHO Please wait...DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk" Link to comment Share on other sites More sharing options...
farte Posted April 7, 2004 Share Posted April 7, 2004 just a quick questionwhere do you put the inf file? 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