It only takes a minute to sign up. Connect and share knowledge within a single location that is structured and easy to search.
I have low space on the C: drive C: drive is 12 GB. I hear somewhere on the net that you can actually delete the install files of Windows updates. How can I delete them? Where are they located? Is deleting these files going to damage Windows or remove the installed security patches?
These subdirectories contain the uninstall files for updates. Deleting these directories removes your ability to uninstall the updates that created them. I tend not to delete these directories because I prefer to have the flexibility to back-off an update, if need be.
In a couple dire situations I've moved these directories to another volume for "safe keeping" to free up space but I wouldn't recommend deleting them. If it has grown very large, then yes, you can delete it by stopping the Windows Automatic Updates service and then delete the folder and restarting the Windows Automatic Updates service.
It's definitely not best practice, since it deletes the cache and install history and upon the next check of updates will have to catalog everything again to see what is and isn't installed, but sometimes the folder does get bloated beyond what it should. There will probably be a prompt asking if you want to remove that directory. If so, just type "y" and hit enter. And that's it! That should be everything you need to know to remove files and folders in the Windows Command Prompt.
All of these commands should work in PowerShell, which is basically Command Prompt version 2. Did these commands help you? Are there any other commands that you find useful? Either way, let me know over on Twitter. If you read this far, tweet to the author to show them you care. Tweet a thanks. I will try again and see. Without it, the directory won't be removed if there's anything in it.
Perl is cross platform. Philip Durbin Philip Durbin 1, 2 2 gold badges 15 15 silver badges 24 24 bronze badges. That will certainly work but will be a bit slower than doing a wildcard delete from the command line.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked Related 3. Hot Network Questions. Question feed. Server Fault works best with JavaScript enabled. Join our community to see this answer!
Unlock 5 Answers and 6 Comments. Andrew Hancock - VMware vExpert. See if this solution works for you by signing up for a 7 day free trial. What do I get with a subscription? With your subscription - you'll gain access to our exclusive IT community of thousands of IT pros.
We can't always guarantee that the perfect solution to your specific problem will be waiting for you.
0コメント