[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Batch File to delete link from start menu of all user accounts

Posted on 2013-05-22
1
Medium Priority
?
464 Views
Last Modified: 2013-06-22
Do you have an example that I can use to create a batch file that will delete a link from the start menu of all users?
0
Comment
Question by:SDJ_1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 25

Accepted Solution

by:
Coralon earned 2000 total points
ID: 39189723
A lot depends on *where* the user profile is.  

Assuming it is local and on Windows 7:

cd %systemdrive%\users
for /d %f in (*) do del "%f\Microsoft\Windows\Start Menu\Programs\<folder>\<linkfile>

Open in new window


If you have a profile share, you'd do the same for command from the roaming profile directory.

This is all based on people having the link in their own start menu.  If it is in the All User's menu, it would be in %systemdrive%\programdata\Microsoft\windows\start menu\programs

Coralon
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question