we like a clean desktop in our environment which means we don't want icons in the start menu.  We only access icons from the desktop.
Is there any way to clean/remove the icons from the start menu using K1000 in windows 7 64bit.

Below is the screen shot of what I am doing.  Kace added the bat file to dependency.

Answer Summary:
1 Comment   [ + ] Show Comment


  • I've used this method but fails ???

    • can you modify your question and include a screen shot of your script or at least the tasks
Please log in to comment

Answer Chosen by the Author

try it this way

use launch a program

Answered 01/08/2016 by: SMal.tmcc
Red Belt

  • BINGO !!!! This worked. i thought I tried it this way before but I may have left out the quotes in parameters. Thank you very much and I hope this helps someone else.
Please log in to comment


you can delete the links in the all user directory.  IE: c:\programdata\microsoft\windows\stat menu\programs
Answered 01/07/2016 by: SMal.tmcc
Red Belt

Please log in to comment
You probably do not have rights to rename that since at is a critical MS directory, have you tied to rename that via explorer and does that works?  what you may have to do is move everything out of their to somewhere else. You may also just need to take ownership of that prior to the rmdir.  Have you ever tried this I would think this may break windows all together.

you may want to search google for these

windows 7 disable start menu

windows 7 disable all programs
Answered 01/08/2016 by: SMal.tmcc
Red Belt

Please log in to comment
one error in your batch I noticed is there is a space in the dir name so you need double quotes around the path

rmdir "c:\programdata\microsoft\windows\stat menu" /s /q
Answered 01/08/2016 by: SMal.tmcc
Red Belt

  • Here is the activity log.

    I can do this manually without crashing windows. If a new program is installed it just adds the directory again.

    Running as SYSTEM
    Directory DOES exist: C:\ProgramData\Microsoft\windows\start menu\programs
    C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\63>rmdir C:\ProgramData\Microsoft\windows\start menu\programs /S /Q
    The system cannot find the file specified.
    The system cannot find the path specified.
    Creating process returned non-zero: C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\63\kace1356.bat : (0) The operation completed successfully.
    Error Code: 0
    Status Code: 3
Please log in to comment
This sounds like something you should probably do from group policy. You could set a group policy setting to remove the All Programs/Programs menu. This doesn't delete anything, it just doesn't allow it to be displayed.

Otherwise, you could make sure that you're using a user account with admin rights to delete the file. If there are any files in use that could pose an issue as well.
Answered 01/08/2016 by: Drave
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja