Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Adding Program To Control Panel

- - - - -

  • Please log in to reply
11 replies to this topic

#1
Denney

Denney

    *shrug*

  • Member
  • PipPipPipPip
  • 685 posts
  • Joined 11-September 03
I need some help adding a program to the contol panel. I've created a Startup Manager program and have added it to the control panel with the following registry entries:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{373419B5-F3F9-4D20-9A45-6D4898CE9E04}]
@="Startup Manager"
"InfoTip"="Manages all programs that startup with a computer."

[HKEY_CLASSES_ROOT\CLSID\{373419B5-F3F9-4D20-9A45-6D4898CE9E04}\DefaultIcon]
@="%programfiles%\\Mantra Software Australia\\StartupManager\\StartupManager.exe,0"

[HKEY_CLASSES_ROOT\CLSID\{373419B5-F3F9-4D20-9A45-6D4898CE9E04}\Shell\Open\command]
@="%programfiles%\\Mantra Software Australia\\StartupManager\\StartupManager.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{373419B5-F3F9-4D20-9A45-6D4898CE9E04}]
@="Startup Manager"
It appears, but the problem is when I try and run it from the control panel, I get an "Access is Denied" error.

Does anyone have any information on this or any way to fix it?


How to remove advertisement from MSFN

#2
Denney

Denney

    *shrug*

  • Member
  • PipPipPipPip
  • 685 posts
  • Joined 11-September 03
Nevermind. I fixed it.

I placed the StartupManager.exe file in the system32 directory and now it works.

Obviously the "Program Files" folder doesn't have the required permission to run programs via the control panel.

#3
MCT

MCT

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,291 posts
  • Joined 19-May 04
  • OS:none specified
  • Country: Country Flag
really? thats kinda weird (ive never tried it)

what if u are in the admin account? (i dunno if u are)
Posted Image Posted Image
Windows 7 32Bit 2GB Ram 120GB HDD (Laptop), Windows 8 4GB Ram 1TB HDD (Desktop) Windows XP SP3 VM with enhancements!

#4
Denney

Denney

    *shrug*

  • Member
  • PipPipPipPip
  • 685 posts
  • Joined 11-September 03
Yeah. No matter what account you use, you'll get an "Access is denied" error.

system32 is the only folder so far that works properly. Ahwell, I don't mind... I only have one exe file so just placing it in the system32 directory doesn't matter.

#5
MCT

MCT

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,291 posts
  • Joined 19-May 04
  • OS:none specified
  • Country: Country Flag
what if u add a *.lnk 2 system32 & link it 2 the program? adding your *.lnk file to control panel?
Posted Image Posted Image
Windows 7 32Bit 2GB Ram 120GB HDD (Laptop), Windows 8 4GB Ram 1TB HDD (Desktop) Windows XP SP3 VM with enhancements!

#6
Denney

Denney

    *shrug*

  • Member
  • PipPipPipPip
  • 685 posts
  • Joined 11-September 03
Nup... I get a new error now...

(null) is not a valid Win32 application.

#7
prathapml

prathapml

    Follow the rules please :-)

  • Patrons
  • 6,791 posts
  • Joined 14-November 03
  • OS:Windows 8 x64
  • Country: Country Flag
Maybe you can modify this to your purpose.
Examples of a similar sort of add to CPL:
;Show TweakUI at Control Panel
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}]
@="TweakUI XP"
"InfoTip"="Starts the TweakUI program which, allows you to customize advanced options and Settings in Windows to your liking"
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\DefaultIcon]
@="%SystemRoot%\\\\System32\\\\tweakui.exe,0"
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell\Open\command]
@="tweakui.exe"
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\ShellFolder]
"Attributes"=dword:00000030
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}]
@="Tweak UI

;Clipboard (becomes clipbook) Control Panel Icon
[HKEY_CLASSES_ROOT\CLSID\{4de05bc9-69f6-4bfc-8094-5e1069f2f51f}]
@="Clipboard"
"InfoTip"="Starts the Clipboard"
[HKEY_CLASSES_ROOT\CLSID\{4de05bc9-69f6-4bfc-8094-5e1069f2f51f}\DefaultIcon]
@="%SystemRoot%\\\\System32\\\\clipbrd.exe,0"
[HKEY_CLASSES_ROOT\CLSID\{4de05bc9-69f6-4bfc-8094-5e1069f2f51f}\Shell\Open\command]
@="clipbrd.exe"
[HKEY_CLASSES_ROOT\CLSID\{4de05bc9-69f6-4bfc-8094-5e1069f2f51f}\ShellFolder]
"Attributes"=dword:00000030
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{4de05bc9-69f6-4bfc-8094-5e1069f2f51f}]
@="Add Clipboard to the Control Panel"
Hoping this helps....
Posted ImageCheers !!!   Donate to MSFN and Help Keep This Site Running
||Please Read the Forum Rules||  Etiquette   || Welcome to MSFN - Forum Basics || Before posting
prathapml :: MSFN Supermod :: Private Message me if you ever have a problem while at MSFN

#8
Denney

Denney

    *shrug*

  • Member
  • PipPipPipPip
  • 685 posts
  • Joined 11-September 03
@prathapml: Take note of my second post... I fixed it... :P

Just meant that I needed to have the program in "system32" directory rather than the "Program Files" directory.

#9
dougiefresh

dougiefresh

    Junior

  • Member
  • Pip
  • 94 posts
  • Joined 30-October 04
The only way I've found to add programs to the Control Panel is to use CMD or BAT files with "REG ADD" commands in it. It ensures that the correct path to the program is expanded before it is put in the registry. For example, this is how I add the "Volume Control" applet to the Control Panel:
echo Adding "Volume Control" application to Control Panel....
set CLSID={A27BAB2C-1EF5-4009-B6DA-53F58DEAEAA3}
reg add hkcr\clsid\%CLSID% /v "" /t REG_SZ /d "Volume Control" /f > nul
reg add hkcr\clsid\%CLSID% /v InfoTip /t REG_SZ /d "Allows user to adjust the volume of the sound card" /f > nul
reg add hkcr\clsid\%CLSID%\DefaultIcon /v "" /t REG_SZ /d "\"%systemroot%\system32\sndvol32.exe\"" /f  > nul
reg add hkcr\clsid\%CLSID%\Shell\Open\Command /v "" /t REG_SZ /d "\"%systemroot%\system32\sndvol32.exe\"" /f  > nul
reg add %NameSpace%\%CLSID% /v "" /t REG_SZ /d "Volume Control" /f > nul


#10
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,890 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
google for a program called CPL maker it will make cpl extensions for any program. I have a registered version for any that want a cpl made...

#11
dougiefresh

dougiefresh

    Junior

  • Member
  • Pip
  • 94 posts
  • Joined 30-October 04

google for a program called CPL maker it will make cpl extensions for any program. I have a registered version for any that want a cpl made...

<{POST_SNAPBACK}>

Could you provide a link to the software? I can't find it! :}

#12
k0pect8

k0pect8

    Take yer medicine...

  • Member
  • PipPip
  • 114 posts
  • Joined 12-October 04
yep, control panel looks in \system32 folder.
I copy the DirectX applet (directx.cpl) there
\$OEM$\$$\System32\directx.cpl
for my unattended CD...
A Guide to Atlanta, Ga.
Some people are like slinkies:
Not really good for anything, but they still bring a smile to your face when you push them down a flight of stairs.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users