Jump to content
CCleaner Community Forums
Sign in to follow this  
nicklad

Feature Request

Recommended Posts

The following two features would be exceptionally useful for me:

 

1. The ability to delete the remenance of any roaming profiles from a hard disk. (In the documents and settings folder.)

 

2. The ability to delete any folders in the windows directory that begin with a $. (Such as the $NTUninstall*$ directories and $NtServicePackUninstall$).

 

Cheers and thanks for an awesome program!,

 

Nick

Share this post


Link to post
Share on other sites

#1 is extremely risky because of the rare possibility of deleting a real account... and the difficulty. It's also not something the average user will be doing often (or ever). If you're an administrator and have to do this often, write a script or applet.

 

#2 is not recommended out of sheer principal.

Share this post


Link to post
Share on other sites
1. The ability to delete the remenance of any roaming profiles from a hard disk. (In the documents and settings folder.)

 

2. The ability to delete any folders in the windows directory that begin with a $. (Such as the $NTUninstall*$ directories and $NtServicePackUninstall$).

make these option optional if decided to add into CCleaner... i want to keep my...

Share this post


Link to post
Share on other sites

Can anyone tell me what I have done wrong with this rule? - It doesnt seem to have any effect...

 

[Windows Backups]

LangSecRef=3025

Default=True

FileKey1=%windir%\|$*|RECURSE

Share this post


Link to post
Share on other sites
$* this is not a vaild CCleaner command. You need the full path name.

 

 

 

That shouldn't be the problem.

 

FileKey1=%windir%\|$*|RECURSE

 

Should be:

 

FileKey1=%windir%|$*

Share this post


Link to post
Share on other sites
That shouldn't be the problem.

 

FileKey1=%windir%\|$*|RECURSE

 

Should be:

 

FileKey1=%windir%|$*

 

 

 

 

Still doesnt work :(

 

Does it make a difference that these folders are, by default, hidden, read only and compressed? Or is it the $ character that is confusing CCleaner?

Share this post


Link to post
Share on other sites

This won't work, for security reasons, as the second parameter "$*" only applies to files and not folders.

Share this post


Link to post
Share on other sites

This could be achieved with:

 

 

Public Sub CleanPatchArchive()   On Error Resume Next   Dim fs, f, f1, fc   Set fs = CreateObject("Scripting.FileSystemObject")   Set f = fs.GetFolder(Environ("windir"))   Set fc = f.SubFolders   For Each f1 In fc       If f1.Name Like "$*$" Then           fs.DeleteFolder Environ("windir") & "\" & f1.Name       End If   Next f1End Sub

 

Share this post


Link to post
Share on other sites

I second what DjLizard said!

 

CCleaner is a safe cleaner, having it mess with whole profiles or windows backups would make it an unsafe cleaner that the average user would eventually make a grave mistake because they wouldn't know what they're doing, hell even an experienced user could shoot themself in both foot. I can only image the complaints that would spawn up all over the forum with people saying it deleted a profile, it deleted a Win backup and now a service pack can't be removed, etc.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...