?
Solved

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

Posted on 2013-05-22
1
Medium Priority
?
461 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

752 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