Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please fix "Windows Shadow Copies" script and Windows.old script #18

Open
aquila-XP opened this issue Oct 17, 2020 · 2 comments
Open

Please fix "Windows Shadow Copies" script and Windows.old script #18

aquila-XP opened this issue Oct 17, 2020 · 2 comments

Comments

@aquila-XP
Copy link

aquila-XP commented Oct 17, 2020

Hi Belim ,

When I run Cleanmgr+, I see many windows popping up for short period of time.
But still two of them requires to interact with them.
Please fix these 2 scripts:

  • Windows Shadow Copies. In my machine I disabled this service and because of this I get a window in CMD generated by the command "vssadmin - Volume Shadow Copy Service administrative command-line tool" with this message No items found that satisfy the query. The script should first check if the service is activated and only then could run the command vssadmin list shadows.
  • Windows.old script that performs this command-line cacls %SystemDrive%\Windows.old\*.* /C /T /grant administrators:F is popping up the following message Are you sure (Y/N)?. This script should have a parameter or switch to not display this message. I guess File1=Detect|%SystemDrive%\windows.old don't work properly because I do not have the folder C:\Windows.old on my system.

Also, after I updated to a new version I discovered that "Windows Downloads" is enabled by default despite being disabled previously.

@aquila-XP aquila-XP changed the title Please fix "Windows Shadow Copies" script and another one Please fix "Windows Shadow Copies" script and Windows.old script Oct 17, 2020
@Belim
Copy link
Member

Belim commented Oct 19, 2020

Hi,

  1. Please replace the current script with the following code here
    (x64-bit ONLY)

  2. Just add a /Q parameter for suppressing the confirmation prompt.
    This File1=Detect|%SystemDrive%\windows.old part is used to check for existence of Windows.old directory. I haven't tested this optional script since Win10/1809 and I am not sure if it works at all.

Regarding the Windows Downloads folder, I can say that I did not touch it in the last update 😬

@ladiko
Copy link

ladiko commented Oct 14, 2021

I have a problem with Windows Shadow Copies.csc on Windows 11, maybe have a look at #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants