Error Loading TWEAKUI.CPL

I loaded TWEAKUI on my system just to check it out.
Unfortunately, my system administrator had disabled it so I couldn't check it out on this machine.  I then needed to uninstall it.  I could not find an uninstall program so I just did a search for TWEAKUI and deleted all folders containing this name.  Now when I boot I get an error box.  The blue title line reads RUNDLL and the message is "Error Loading TWEAKUI.CPL   The system cannot find the file specified".

Now I have two questions.  1. how do I delete the reference to this file so that I do not get this error message on boot?  2. What is the proper procedure to delete Tweakui?

Please do not suggest that I reinstall it and use the proper uninstall procedure as I won't learn much by doing that.

Thanks, You guys are better teachers than my teachers.

Brad
HereIGoAgainAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

alforaihCommented:
Hi...

1. Try searching the Registry for any reference to the file, then deleting it. but before you do that, make sure to make a backup of your untouched registry.

Click START | RUN then type REGEDIT then click OK to open the Registry Editor

In the Editor, click on REGISTRY | EXPORT REGISTRY FILE... now choose the place that you want to keep the in, but make sure that you choose the ALL radio button in the EXPORT RANGE section. (expect the file to be in excess of 5.5MB!!)

Now that you have your backup copy of your registry, begin a search of you registry by clicking EDIT | FIND (or pressing CTRL+F on the keyboard)

insert TWEAKUI in the FIND WHAT window then press the ENTER key.

Delete the entry that you find (press the keyboard's DELETE key), then press the F3 key to find the next entry. Repeat this until you find no more entries.

Reboot the PC, & see if the message appears again.

2. The proper procedure to delete TWEAKUI or any other program is to open the CONTROL PANEL | ADD REMOVE PROGRAMS find the program you want to delete among the selection provided & highlighting it, then click on the ADD/REMOVE... button.

Then, since most programs leave the customizations that you've performed on the program in a folder inside the original installation folder, it is better to use the WINDOWS EXPLORER to remove the original folder created during the installation process. BUT... only do this if you DO NOT want to keep these customizations.

------

I would install TWEAKUI again, then try to uninstall it as per step 2 above to see if it fixed the problem.

Hope this helps.....
alforaihCommented:
If installing TWEAKUI, then following step 2 didn't fix you problem, go for step 1

A word of caution....

Damaging your registry will render your PC useless & require you to install windows again to fix it.
Patricia Siu-Lai HoCommented:
HereIGoAgain, try this.
----For your information to comprehand the mechanism of TweakUI------

Installation of Tweak UI :-

Following files are added to your system Win98 :-

[TweakUI.Files.Sys]
TWEAKUI.CPL       C:\Windows\System  --  control panal extension

[TweakUI.Files.Inf]
TWEAKUI.INF       C:\Windows\inf     --  setup information

[TweakUI.Files.Hlp]
TWEAKUI.HLP       C:\Windows\Help
TWEAKUI.CNT       C:\Windows\Help

[TweakUI.Files.AutoGen]
TWEAKUI.GID       C:\Windows\Help
TWEAKUI.FTS       C:\Windows\Help  

It will create registry edited as:-
[TweakUI.Add.Reg]
(1)    HKLM,%UTWEAK%,DisplayName,,"PowerToy - %TWEAKUI% - Uninstall"
(2)    HKLM,%UTWEAK%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\Tweakui.inf"
(3)    HKLM,%SMWCV%\Run,%TWEAKUI%,,"RUNDLL32.EXE TWEAKUI.CPL,TweakMeUp"

--------Resolution for uninstallation------

If once deleted the "TWEAKUI.CPL" by file deletion and not by Uninstaller of Tweakui, boot error message occurs as "      " :-

Suggest: -  Uninstall Tweak UI

(1)  Go to normal desktop or safe mode.

     At Start-Run , type [Msconfig] in the open box. Click OK.
     At the Startup tab, if you can see the line , then unchecked the box
     [ ] Tweak UI    RUNDLL32.EXE TWEAKUI.CPL,TweakMeUp

     Click OK.  Restart the Pc.

(2)  Make certain all Tweakui old files has been removed.
     
     a> Make sure to exit all running copies of Tweak UI before attempting to uninstall it.
     b> Click here  to run the Add/Remove Programs Control Panel.
     c> Select the "Install/Uninstall" tab if it is not already selected.

     Do you see an entry for "Tweak UI"?

     <Yes>, "Tweak UI" is listed as a program that can be uninstalled.

          Uninstall Tweak UI via Add/Remove Programs
          Double-click the entry for "Tweak UI".

     Restart the Pc.

(3)  After the computer restart to normal desktop.

     At Start-Run , type [regedit] in the open box. Click OK.
     
(3a) Go to the following Registry:-

     My Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

     Name Tweak UI      Data "RUNDLL32.EXE TWEAKUI.CPL,TweakMeUp"
 
     If you see the above "Tweak UI" name and its data exist.
     Then select the name "Tweak UI" and click EDIT-DELETE to delete it.

(3b) Go to the following Registry:-

     My Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\TweakUI
         Name                 Data
         DisplayName          "Tweak UI"
         UnibstallString      "C:\WINDOWS\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 4 C:\WINDOWS\Inf\Tweakui.Inf"

     If you see the above "Uninstall\TweakUI" folder name and its data exist.
     Then select the folder name "Uninstall\Tweak UI" and click EDIT-DELETE to delete it.

     Then, exit registry.

     Restart the Pc.

4)   Counterchecking the Uninstallation of TweakUI

     Go to the control panal, there should be no TweakUI icon.
     Go to the Add/remove programs, Install/Uninstall tab, no "TweakUI" component.
     Use Find to check any name "tweak" exist in your system.
         -- You cannot find those above 6 names tweak files in their directory.
     Go to the regedit, the HKSMWCV\Uninstall , no TweakUI folder
     Go to the regedit, the HKSMWCV\Run ,  no Tweak UI name in the run list.

5)   Then you can leave it uninstall or re-install the TweakUI, if desired.

-----------------
Let me know if you have any queries.          pslh
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

HereIGoAgainAuthor Commented:
alforaih,

Thanks for the response.  It looks to me like either of those solution would work, however, I cannot reload tweakui and my system administrator has disabled regedit on my system.  Is there any way to accomplish this without those abilities?

Brad
Patricia Siu-Lai HoCommented:
HerelGoAgain, if administrator disabled the regedit, you cannot do any edit of registry unless your administrator enabled your user profile to do it.
    Have you tried my suggestion (1)? Can you go to the 'msconfig' without the administrator approval ?    pslh

Patricia Siu-Lai HoCommented:
HereIGoAgain, I wonder why you rejected my proposed answer and did not mention anything? Have you really tried that or are you having some prejudices and I'm sure my proposed did the right track to correct your boot error and uninstall the TweakUI.  Please advise as I've lot of queries why that was being rejected.     pslh
Patricia Siu-Lai HoCommented:
HereIGoAgain, per your initially stated question (1,2) :-

Your problem can be solved as following per your requested:-

----COMMENT (1) For your information to comprehand the mechanism of TweakUI------

Installation of Tweak UI :-

Following files are added to your system Win98 :-

[TweakUI.Files.Sys]
TWEAKUI.CPL       C:\Windows\System  --  control panal extension

[TweakUI.Files.Inf]
TWEAKUI.INF       C:\Windows\inf     --  setup information

[TweakUI.Files.Hlp]
TWEAKUI.HLP       C:\Windows\Help
TWEAKUI.CNT       C:\Windows\Help

[TweakUI.Files.AutoGen]
TWEAKUI.GID       C:\Windows\Help
TWEAKUI.FTS       C:\Windows\Help  

It will create registry edited as:-
[TweakUI.Add.Reg]
(1)    HKLM,%UTWEAK%,DisplayName,,"PowerToy - %TWEAKUI% - Uninstall"
(2)    HKLM,%UTWEAK%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\Tweakui.inf"
(3)    HKLM,%SMWCV%\Run,%TWEAKUI%,,"RUNDLL32.EXE TWEAKUI.CPL,TweakMeUp"

-----COMMENT (2) Resolution for uninstallation------

If once deleted the "TWEAKUI.CPL" by file deletion and not by Uninstaller of Tweakui, boot error message occurs as
"Error Loading TWEAKUI.CPL   The system cannot find the file specified " :-

Suggest: -  Uninstall Tweak UI

(1)  Go to normal desktop or safe mode.

     At Start-Run , type [Msconfig] in the open box. Click OK.
     At the Startup tab, if you can see the line , then unchecked the box
     [ ] Tweak UI    RUNDLL32.EXE TWEAKUI.CPL,TweakMeUp

     Click OK.  Restart the Pc.

(2)  Make certain all Tweakui old files has been removed.
     
     a> Make sure to exit all running copies of Tweak UI before attempting to uninstall it.
     b> Click here  to run the Add/Remove Programs Control Panel.
     c> Select the "Install/Uninstall" tab if it is not already selected.

     Do you see an entry for "Tweak UI"?

     <Yes>, "Tweak UI" is listed as a program that can be uninstalled.

          Uninstall Tweak UI via Add/Remove Programs
          Double-click the entry for "Tweak UI".

     Restart the Pc.

(3)  After the computer restart to normal desktop.

     At Start-Run , type [regedit] in the open box. Click OK.
     
(3a) Go to the following Registry:-

     My Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

     Name Tweak UI      Data "RUNDLL32.EXE TWEAKUI.CPL,TweakMeUp"
 
     If you see the above "Tweak UI" name and its data exist.
     Then select the name "Tweak UI" and click EDIT-DELETE to delete it.

(3b) Go to the following Registry:-

     My Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\TweakUI
         Name                 Data
         DisplayName          "Tweak UI"
         UnibstallString      "C:\WINDOWS\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 4 C:\WINDOWS\Inf\Tweakui.Inf"

     If you see the above "Uninstall\TweakUI" folder name and its data exist.
     Then select the folder name "Uninstall\Tweak UI" and click EDIT-DELETE to delete it.

     Then, exit registry.

     Restart the Pc.

4)   Counterchecking the Uninstallation of TweakUI

     Go to the control panal, there should be no TweakUI icon.
     Go to the Add/remove programs, Install/Uninstall tab, no "TweakUI" component.
     Use Find to check any name "tweak" exist in your system.
         -- You cannot find those above 6 names tweak files in their directory.
     Go to the regedit, the HKSMWCV\Uninstall , no TweakUI folder
     Go to the regedit, the HKSMWCV\Run ,  no Tweak UI name in the run list.

5)   Then you can leave it uninstall or re-install the TweakUI, if desired.


----COMMENT (3) Resolution for a user which has been disabled editing the registry ----

Administrator can disable Tweak UI for a particular user by following ways:-

<1>      Run the Windows Policy Editor.  It can be found on the Windows CD-ROM in the \Admin\Apptools\Poledit folder.

<2>      With the Admin.adm template, open the specified user's policies and go to the System\Restrictions section.  Place a check-mark next to "Disable Registry editing tools".

FOR A USER:   Solving the problem  >>>
 
(1)     Informing the administrator and let the administrator which has the control with password to change the registry and proper uninstallation as the above COMMENT (2).

(2)     If the user was also disabled the editing of "Msconfig" System Configuration Utility.  Then he/she has no way to edit/add/remove any registry of the system due to security safety policy of the administrator.

        If got the error message when booting : "Error Loading TWEAKUI.CPL   The system cannot find the file specified ", the user is suggested to copy back the file "TWEAKUI.CPL" from the Windows98CDrom :

        Copy Win98cdrom:\tools\reskit\powertoy\tweakui.cpl
        paste to C:\windows\system\
        result C:\windows\system\tweakui.cpl is restored in the path that the startup CALL for.
Your bootup problem will be solved.
-------------------------
pslh

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HereIGoAgainAuthor Commented:
pslh,

Oops......  Thank you for being patient enough to post another answer with even more information after I goofed up on your first answer.   Somehow I rejected the wrong answer.  (My wife can't decide if it's Alzheimers or if I'm passive/agressive)  Your first answer was indeed correct.   Going to MSConfig&Control Panel resolved the issue.  Beyond the issue that I wrote about, you addressed my desire to understand what was happening inside the box.  The additional information that you provided was very useful to me.   Thanks again for a GREAT answer.

Brad
Patricia Siu-Lai HoCommented:
Brad, nice to hear it solved. Thank you for your A grade.   ;P <smile>   pslh
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.