Jump to content
Piriform Community Forums

tushar321

Members
  • Content count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About tushar321

  • Rank
    Newbie
  1. Thanks, APMichael, now I understood and this solve my problem Thanks, Andavari, I was not aware of that way of cleaning individual app so it is really helpful.
  2. Let me explain more precisely : My requirement is "I want to delete 'MyappName' Key in the registry which is created due to the installation of some specific application, so when I am uninstalling it this key is not detected by built-in registry cleaner of CCleaner so I am using my custom code through .ini file to delete this key" As you can see in code "Default = False" which means it should be un-checked in CClaner GUI - Application tab. But instead of that First time when the application is installed and consequently 'MyappName' key is created, it shows checked in the CCleaner GUI - Application Tab. So every time when I am installing this application I have to go and un-check it from GUI and next time it shows un-checked but that is an extra step which I have to perform every time when I am installing this application and which also means "Default = False" line in the code is not working properly. The logical reason why I need it as un-checked because I want to avoid if I may accidentally delete the Key when the application is installed (in use) and I have to perform cleaning using CCleaner. And I don't think that every time after installation you open CCleaner un-check it and close, so I was asking why CCleaner "Default = False" is not working and I believe it is clear cut a Bug.
  3. I use following command in Winapp2.ini ---------------------------------------------------------------------------------------------------------- [MyappName] LangSecRef=3024 Detect=HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates Default=False RegKey1=HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates ---------------------------------------------------------------------------------------------------------- but when every I open CCleaner I can see in Application tab inside Utilities "MyappName" is checked (Selected) so please tell me is this a bug or I have to write my custom entries in some other file, although there is no file excepts lots of dll in CCleaner installation folder Setup folder is empty and Lang include only lots of .dll files that's it and my Winapp2.ini include the above five lines. do I need to create some other file and writer different commands? please guide me how to make "MappName" entry unchecked at startup of CCleaner.
  4. The reason I am not associating this .bat file to run from task scheduler as this task is not pre-determined when to run and so has to be performed manually on uninstall of certain software so at that time I generally clear registry entries from CCleaner so I was just thinking to perform this task along with that simultaneously but anyway I think this is not possible. I observe that using .ini following command I am able to achieve partial thing what I want : ------------------------------------------------------------------------------------------------------------------------- [MyAppName] LangSecRef=3024 Detect=HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates Default=True RegKey1=HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificate ------------------------------------------------------------------------------------------------------------------------- Adding above command in .ini file will delete 'Certificate' registery key this is shown in CCleaner with an identifier name 'MyAppName' as shown in image : But I think there is no way to delete only subkeys inside 'Certificates', not the 'Certificates' key itself. why I am not able to mention subkeys name as names are unpredictable long string of number and alphabetic which are created every time when I install new software I saw CCleaner has given an option to delete subfolders without knowing their name and number of folders by using : ---------------------------------------------------------------------------------------------------------------------------------------------------------------- · *.* - deletes every file in that folder. Example: %ProgramFiles%\Yahoo!\Messenger\Profiles|*.* · RECURSE - deletes subfolders and their contents. Example: "%ProgramFiles%\Yahoo!\Messenger\Profiles|*.*|RECURSE" (The "Profiles" folder contents will be deleted, but the folder itself will not) ---------------------------------------------------------------------------------------------------------------------------------------------------------------- I saw the following page, but I think this type of provision is not available in CCleaner with regards to Detect and Deleting Sub-keys in a registry. It is only available with files and folders, but not for the registry. How to add your own program for CCleaner to clean I how CCleaner team will soon add a similar provision for registry also.
  5. Yes, Andavari your ides is very good and it didn't come to my mind. I can achieve my goal by running.reg file by adding the following two entries : ------------------------------------------------------------------------------------------------------------------------------------------ Windows Registry Editor Version 5.00 [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates] ------------------------------------------------------------------------------------------------------------------------------------------ The first will delete the 'Certificates' Key which in result will also delete all its sub-keys (as I want to delete these all sub-keys who's names are unpredictable) then the second line will again create 'Certificates' key which I want to persist there. I am running this .reg file through .bat file in order to supress conformation dialogs : certiBat.bat --------------------------------------------------------------------------------------- regedit.exe /S D:\Desktop\createCerti.reg --------------------------------------------------------------------------------------- Is there any way to run or trigger to run this .bat file from CCleaner ? like if I can add a path of this .bat file in .ini file or somewhere from where I can get an option to trigger this file to run form CCleaner GUI interface.
  6. so for this situation, what is the solution. or I can write few commands in .bat or .cmd file and then trigger this file to run from my CCleaner while registry clears up entries. or write directly any specific command in winapp.ini which will be used by CCleaner. so I need that syntax command.
  7. I want to delete subkeys under 'Certificates' parent key every new subkeys under 'Certificates' parent key are generated with a long string of numbers which cannot be predicted in advance and so difficult to write in a command using their names. So, I am looking a command or wild character type thing to delete all subkeys coming under 'Certificates' parent key without knowing their names I am able to delete one key, for example, 'Certificates' using winapp.ini in CCleaner by including the following command : ------------------------------------------------------------------------------------------------------------------------- [RemainOfApp] LangSecRef=3024 Detect=HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates Default=True RegKey1=HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificate ------------------------------------------------------------------------------------------------------------------------- but the problem is this allows to delete one key (which is parented-key for my requirement) not its all subkeys without knowing their names. I tried using * or *.* wild character HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificate\* HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificate\*.* but not working I am also thinking even after getting correct command for deleting all subkeys without knowing their names, I may get an error 'admin privilege required for deleting these subkeys' Please suggest me any solution.
×