/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Removing start menu icons k1000

01/07/2016 1198 views
Hello,

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

Comments

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

    https://support.software.dell.com/k1000-systems-management-appliance/kb/148142
    • can you modify your question and include a screen shot of your script or at least the tasks

Answer Chosen by the Author

0
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.

All Answers

1
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

1
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

1
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
0
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
Purple Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ