coRpSE's System Info/Cleanup Utility Batch file
Select messages from # through # Forum FAQ
[/[Print]\]
Goto page 1, 2  Next  :| |:
HeadShot Extreme -> PC & Codeing Talk

#1: No icon coRpSE's System Info/Cleanup Utility Batch file Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Wed Jun 17, 2020 1:10 am
    —
CleanUp v2
Windows 10 Only



A few years ago, I had made a post that allowed you to copy some code I put together into a ".bat" file and you could
run it to help delete any temp files your computer may have created. Well, I went a bit further with the script and I hope it helps you a little bit.
There is a ton of stuff I have done to this system and for me, its a good system to have around when i need to do something fast.

Features of the script:
  1. Full Menu navigation
  2. Checking system to see if you ran it as Administrator or not
  3. 2 types of cleaning possible
  4. Can display basic system info and advanced system info for you
  5. Check and repair Windows 10, (More info below)
  6. Opens your host file for easy editing
  7. Opens Disk Cleanup for you
  8. Network Check
  9. Flush DNS along with dump and renew your DHCP assigned addresses if you like to have that done.
  10. Port Listing
  11. Ping & Traceroute
  12. Certain sections allows you to save the information to text file, (Good for when dealing with support, and you need that information.)
  13. Create a .bat file that will automatically clean your Windows temp folder upon system boot.
  14. Windows 10 clean temp files on startup of PC
  15. Windows 10 Color Calibration
  16. Create a GodMode shortcut
  17. Rebuild Icon Cache
  18. Recover your Windows 10 product code
  19. Two ways to uninstall programs, possibly ones Windows make a little hard to.


Mind you, that I am still somewhat new to it and this was more of a fun side thing I wanted to do for my self and figured I would share
what I have been working on for the last couple of days.

The "Recover your Windows 10 product code" feature was put in because now, most computers you buy from places like iBuyPower, CyberPower, Dell, ect... do not give you a sticker with your Windows 10 license, but instead will sometimes give it to you in an email, or attach it to your profile on their site, and other times, like in my case, they don't give it. There are a few programs out there to get it, but I found a Command Prompt code I could use, and I figured I would put it into this script for everyone to easily use.

I mentioned above about the Windows 10 check and repair, well that uses the built-in checking system that win 10 offers, as long as you know the command for it. Here, its as simple as typing a number and hitting enter.

Is this a replacement for something like Glary Utilities?
Absolutely not, but, in this script, I can run daily and run Glary Utilities once a week or once every other week.
Glary Utilities is free, check it out.

Please login to see this link
Get registered or Log in


**NOTE**
Some of you may get a warning of potential harm or something by your antivirus, it's a false positive.
The code is visible to all just by right-clicking on the file and selecting edit, or open with a code editor or notepad.




How to use:
  1. Download the attached file to your desktop
  2. Extract the CleanUp_v2.bat file from the .zip file to your desktop
  3. Right-click on the CleanUp_v2.bat and select "Run as administrator"
  4. Enjoy...


Not really hard, is it.



If you want to resize how big your cmd prompt displays every time you open it,
Follow the instructions in this repeating animated image.
Expand



Here are a few screenshots:
Expand  Expand   Expand



If you prefer to create your own batch file, here is this source code as of now.

Please login to see this link
Get registered or Log in


You can create this into your own batch file.
All you need to do is paste the code into a text file, then change the file type to .bat instead of .txt.
Please note, this is being given out freely, but don't try passing this off as your own work. Leave the copyrights as is.




Icon Image Here:
Please login to see this link
Get registered or Log in
Last edited by coRpSE on Mon Oct 04, 2021 8:04 pm; edited 23 times in total

#2: No icon Re: coRpSE's System Info/Cleanup Batch file Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sun Jun 21, 2020 11:17 pm
    —
Big update today.
I have added in a bunch of new features. I have updated my first post as well as reset the download.

Changes over the previous version:


Overall, this system is just a fun project that I have been having fin with and if anything. I am putting this together for my self.
I was originally going to do this in Powershell, but I know some may have some issues with running that, and I haven't messed with .bat files in a long time, so I wanted to have some fun.
Use this however you like. This Utility script has a bunch going for it that can and possibly will come in handy for you, unless you know all the commands.

Any questions, feel free. If someone would like me to do a basic tutorial on this, let me know and I will do one up asap.

#3: No icon Re: coRpSE's System Info/Cleanup Utility Batch file Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Fri Jun 26, 2020 10:56 pm
    —
New update today.
Some minor changes in various areas.

New Addition:
New section will automatically allow you to create or delete a "AutoClean.bat" file in your Windows 10 Startup folder.
What this does, is, that it will automatically delete your temp files found in the %temp% folder upon you booting into your Windows 10.
Most tutorials tell you how to manually create this, and in this script, not only will it check to see if you have one, it will create
the file for you with all the code in it, and if you don't want it anymore, then it will delete it for you.
I have built in checks and if it fails to create, or if it fails to delete, it will tell you.

Additional info:
The location of the temp folder can be see if you go to your search bar on your windows, (Cortana search bar), can type
"run", but without the quotes, then select open.

Now, to see the folder where the temp files are and that will be cleaned every boot, just type
%temp% into the "run".

If you want to see where the AutoClean.bat file will be created or has been, depending on if you have created it your self or ran the script already.
Just open the "run" like before and type shell:Startup

Download and the .txt file have both been updated.

#4: No icon Re: coRpSE's System Info/Cleanup Utility Batch file Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Thu Aug 27, 2020 7:09 pm
    —
Another update today. The things that have been added:


Updates done:


Doesn't seem like much, but a lot was done just for those few things.

#5: No icon Re: coRpSE's System Info/Cleanup Utility Batch file Author: zardosLocation: North west of England PostPosted: Fri Aug 28, 2020 2:37 pm
    —
Nice work coRpSE, thank you  zwinkern

#6: No icon Re: coRpSE's System Info/Cleanup Utility Batch file Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Fri Aug 28, 2020 6:10 pm
    —
No problem. zwinkern

#7: No icon Re: coRpSE's System Info/Cleanup Utility Batch file Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Thu Sep 03, 2020 7:31 pm
    —
Okay, Update again today. This is probably my last update. (I know I have said that to some of you already).
I did post up on diff checker the exact changes that have been made from the last version to this version.

Check it out here >>
Please login to see this link
Get registered or Log in
<<

I added in 2 new options and 1 new feature. It originally started as one new feature, then I kept going with it.



I also removed all reference to CCleaner from the system. I am about to write a news article on it. I know I am a little late to that party, but not as late as you are. zunge zeigen
Unless if you already knew this then dang it, why didn't you tell me. big grin

#8: No icon Re: coRpSE's System Info/Cleanup Utility Batch file Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sun Nov 22, 2020 8:57 pm
    —
Okay, new update coming.

I have added in a new option that targets testing your memory. This is a little bit of an extension of the already option of "System Info", where this one is specific to the memory and you can export that to its own file, but also, at the end, you can schedule a memory diagnostic either now or upon the next restart using the built-in Windows Memory Diagnostic tool.

#9: No icon Re: coRpSE's System Info/Cleanup Utility Batch file Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Thu Mar 18, 2021 8:33 am
    —
Okay, New update added today. Just a single new feature.

#18 - Recover your Windows 10 product code

This was added after I realized that I couldn't find my Win 10 product key for my computer, and come to find out that they don't do the stickers really anymore for it is too easy for people to steal them, to they embed it into the hardware/software when built. Some companies will send you and email or attach it to your account on their site, but, some don't. So this is a way to get your Win 10 serial without needing to install a 3rd party program, (since this not a program and does not get installed).

#10: No icon Re: coRpSE's System Info/Cleanup Utility Batch file Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Mon Jul 12, 2021 11:55 am
    —
Small update, I noticed today when I was checking my system info of my PC, I left out a very basic system that is part of windows to show a bit more advanced information about my PC, like if I have Secure Boot State on or off. The option has not changed on the system, it was just added to what is already there.

To see the new changed, run it like your supposed to, then from the menu, choose #3 and let that run. Then you will get an option to export to a file, you can, or you don't have to. After that, you will get an option to open the file to view it, again, it's up to you. Last, you will get the new option which will open up the "Windows System Information". Of course, this could be easily opened with a CMD and typing msinfo, or, doing a search on Windows for system information, but I figured, it should be with this as well.



HeadShot Extreme -> PC & Codeing Talk


output generated using printer-friendly topic mod. All times are GMT - 7 Hours

Goto page 1, 2  Next  :| |:
Page 1 of 2