Broken Shortcut

J

jim

Win-7/P, 64-bit. When I right-click Computer-Manage nothing happens. Somehow
I broke this shortcut. How do I fix it?
 
G

Gene E. Bloch

Win-7/P, 64-bit. When I right-click Computer-Manage nothing happens. Somehow
I broke this shortcut. How do I fix it?
One way:
Type manage in the Start menu search bos, right click on the shortcut to
Computer Management that appears, choose properties, copy the target,
paste it into the bad shortcut.

There are other ways, but for me right now, that was the easiest one to
describe.
 
W

...winston

Computer Management is an option under Administrative Tools via the Control
Panel or the All Programs menu.

From a Win7 32 bit or 64bit system the shortcut used is:

%windir%\system32\compmgmt.msc /s

Try a Google or Bing Search using the following string for more (if needed)
Windows 7 shortcut Run Command

--
....winston
msft mvp mail


"jim" wrote in message
Win-7/P, 64-bit. When I right-click Computer-Manage nothing happens. Somehow
I broke this shortcut. How do I fix it?
 
N

Nil

Win-7/P, 64-bit. When I right-click Computer-Manage nothing
happens. Somehow I broke this shortcut. How do I fix it?
It's possible that it's already running but not displaying for some
reason. Have you tried logging out then back in, or rebooting?
 
D

Dave-UK

jim said:
Win-7/P, 64-bit. When I right-click Computer-Manage nothing happens. Somehow
I broke this shortcut. How do I fix it?
When you right-click Computer > Manage this reg key is run:

HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage\command

and this is the data:
(Default) REG_EXPAND_SZ %SystemRoot%\system32\CompMgmtLauncher.exe

Maybe there's something wrong there.
(That's my 32 bit Win7, I think 64 bit is the same.)
 
J

jim

Thanks for the answer. Still could not get the file to run. In case
something hammered that file, I have a new W7 install in case of emergencies
so I copied the file from that and it still would not work (on my current
system). I had no patience with this issue so I found an inelegant solution
on Microsoft Answers. Thanks for all the help.


"Dave-UK" wrote in message


jim said:
Win-7/P, 64-bit. When I right-click Computer-Manage nothing happens.
Somehow I broke this shortcut. How do I fix it?
When you right-click Computer > Manage this reg key is run:

HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage\command

and this is the data:
(Default) REG_EXPAND_SZ %SystemRoot%\system32\CompMgmtLauncher.exe

Maybe there's something wrong there.
(That's my 32 bit Win7, I think 64 bit is the same.)
 
N

Nil

Thanks for the answer. Still could not get the file to run. In
case something hammered that file, I have a new W7 install in case
of emergencies so I copied the file from that and it still would
not work (on my current system). I had no patience with this issue
so I found an inelegant solution on Microsoft Answers. Thanks for
all the help.
Is the solution a secret?
 
J

jim

Make a simple 2 line bat file:

Start C:\Windows\system32\compmgmt.msc
Exit

Obviously save as a bat file and not as a text file in c:\Windows\System32
and start regedit and go to key:

HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage\command

Mouse on left panel "command" and right panel will read under Data
%SystemRoot%\System32\CompMgmtLauncher.exe

Change to CompMgmtLauncher.bat

Close regedit.

I told ya it was inelegant but it works.



"Nil" wrote in message
Thanks for the answer. Still could not get the file to run. In
case something hammered that file, I have a new W7 install in case
of emergencies so I copied the file from that and it still would
not work (on my current system). I had no patience with this issue
so I found an inelegant solution on Microsoft Answers. Thanks for
all the help.
Is the solution a secret?
 
N

Nil

Thank you. Someone else may one day be looking in the archives for the
same answer, and it's good to have the benefit of your experience
available.
 
D

Desk Rabbit

Make a simple 2 line bat file:

Start C:\Windows\system32\compmgmt.msc
Exit

Obviously save as a bat file and not as a text file in
c:\Windows\System32 and start regedit and go to key:

HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage\command


Mouse on left panel "command" and right panel will read under Data
%SystemRoot%\System32\CompMgmtLauncher.exe

Change to CompMgmtLauncher.bat

Close regedit.

I told ya it was inelegant but it works.
So basically in the registry change
%SystemRoot%\System32\CompMgmtLauncher.exe

to

%SystemRoot%\System32\compmgmt.msc
 
D

Dave-UK

Desk Rabbit said:
So basically in the registry change
%SystemRoot%\System32\CompMgmtLauncher.exe

to

%SystemRoot%\System32\compmgmt.msc
No that won't work, you can't run an msc file directly from the registry.
You get a 'Not a valid Win32 application' error. That's why the default
reg command calls CompMgmtLauncher.exe to run compmgmt.msc.

The program that handles msc files is mmc.exe. So you could
call the compmgmt.msc file by running mmc.exe with the switch:

%SystemRoot%\System32\mmc.exe compmgmt.msc

Also, you could roll your own console by opening mmc.exe and
from the File menu > Add\Remove Snap-in...
Add what you want from the left pane and Save As giving it a name.
The new console will be saved with an msc extension.
For example, I've created a console called test.msc.
It's got:
Device Manager
Disk Management
Event Viewer
Services
Task Scheduler
Windows Firewall
And to call it via the right-click Manage option this is the reg command:
%SystemRoot%\System32\mmc.exe test.msc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top