Skip to content

Latest commit

 

History

103 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Scripts — VladiMIR Bulantsev (GinCz)

Platform Language Version License Scripts

= Rooted by VladiMIR + AI | v.2026.08.16 | github.com/GinCz =

A production-grade collection of self-elevating Windows utility scripts for system optimization, deep cache cleaning, Windows Update repair, diagnostics, and Samba SMB network drive management.

By VladiMIR Bulantsev (GinCz) — Linux sysadmin · DevOps · IPGuard · Cloudflare · Samba · XRAY VPN · CrowdSec · Czech Republic


#WindowsScripts #SystemOptimization #WindowsUpdateFix #CentBrowser #SysAdmin #PowerShell #BatchScript #CyberSecurity #Performance


Table of Contents


Scripts Overview

System Optimization & Sweepers

# Script Description Admin Delay/Mode
1 CLEAN.cmd High-performance system & user cache cleaner + security persistence sweeper YES Startup / Fast
2 CentBrowser_CLEAN.bat Universal multi-profile cache cleaner for CentBrowser & Chromium (scans 1 to 500+ profiles) YES Manual / Auto
3 Error_80070002_AI.cmd Ultra-fast Windows Update error 0x80070002 / 0x80070003 reset & repair tool (~5s) YES Immediate
4 Nox_AdBlock.cmd Blocks NoxPlayer ads, promo popups & telemetry while keeping Google Play 100% OK YES Immediate
5 CMD_setting.bat Sets CMD font to Consolas 20pt, UTF-8 encoding, buffer size 120x9001 globally via registry YES Immediate
6 WIN_Optimize.bat 15-step deep optimizer: reserved storage, hibernation, services, SSD TRIM, visual effects, temp/disk cleanup, network, power plan, telemetry, DISM, WinSxS, SFC, CompactOS YES Immediate
7 AntiVir_OFF.bat Toggle Windows Defender real-time protection ON/OFF interactively YES Interactive

Diagnostics & Benchmarking

# Script Description Admin
7 MemTest_7z.bat Hardware stress test via 7-Zip benchmark: auto-installs 7-Zip, 10 passes, 256MB dictionary, 4 threads YES
8 SMB_Test.bat Live SMB network benchmark: 50MB/5GB modes, measures upload/download speed with MD5 integrity check YES

Software Installers

# Script Description Admin
9 Install_7zip_Universal.bat Auto-detects architecture (x64/arm64/x86), fetches latest 7-Zip, silently installs YES
10 Telegram_Setup.bat Downloads and launches latest Telegram Desktop x64 installer via BITS transfer no
11 MEGA_x64_x86_Setup.bat Downloads and launches latest MEGAsync x64/x86 installer no
12 TeraBox_Setup.bat Downloads and launches TeraBox PC installer no
13 Google_Drive_Setup.bat Downloads and launches Google Drive for Desktop installer no
14 Heaven_Benchmark_Setup.bat Downloads and launches UNIGINE Heaven Benchmark 4.0 GPU stress test no

SMB Network Drives

# Script Description Admin
15 SMB_Connect.bat Connects all 10 Samba servers as network drives (A: – Y:) in parallel with status report YES

Detailed Script Documentation

1. CLEAN.cmd — System & Security Sweeper

CLEAN.cmd is a self-elevating, standalone batch-PowerShell hybrid script engineered for boot-time and manual deep cleaning of junk files, temporary system caches, and known malware persistence artifacts.

Key Features

  • Zero Dependencies: Single-file architecture with embedded PowerShell runtime.
  • Auto-Elevation (UAC): Automatically requests Administrator privileges without requiring right-click.
  • Boot Delay Mode (-Startup): Provides a clean 30-second countdown at Windows boot to let core system services initialize first (skippable with any key).
  • Malware & Threat Persistence Sweeper: Safely searches and purges known rogue persistence drops (wendos, fake wuauclt1.exe miners, disguised %TEMP%\*.vbe/*.jse scripts, template droppers).
  • Data Safety Guarantee: Never empties the Recycle Bin, does not alter personal client browser profiles, and preserves system drivers.

Cleaned Scopes (10 Zones)

  1. User Temporary Files: %LOCALAPPDATA%\Temp, %USERPROFILE%\AppData\Local\Temp
  2. Windows System Temp: C:\Windows\Temp
  3. Malware & Persistence Sweeper: System32\wendos, SysWOW64\wendos, wuauclt1.exe, svchost1.exe, rogue VBS/JSE autoruns
  4. Crash Dumps & Telemetry: %LOCALAPPDATA%\CrashDumps, Windows Error Reporting (WER) Queues & Reports
  5. Windows Update Cache: SoftwareDistribution\Download, Delivery Optimization P2P fragments
  6. System Web Cache: INetCache\IE, INetCache\Low\IE
  7. Runtime Caches: Java Deployment Cache (Sun/Oracle), Adobe Acrobat/Reader caches
  8. GPU & DirectX Shader Cache: D3DSCache, AMD DxCache, NVIDIA DXCache, Intel ShaderCache
  9. BSOD & Debug Logs: C:\Windows\Minidump, C:\Windows\Debug
  10. System Diagnostics: C:\Windows\Logs\DISM, C:\Windows\Panther
# Run immediately (Manual Mode):
CLEAN.cmd -Fast

# Run in Startup Mode (30-second delay):
CLEAN.cmd -Startup

2. CentBrowser_CLEAN.bat — Multi-Profile Cache Cleaner

CentBrowser_CLEAN.bat is an automated cache sweeper specifically built for multi-profile client environments (supporting from 1 to 500+ separate user profiles).

Key Features

  • Universal Multi-Profile Discovery: Automatically scans containers such as D:\UTIL\N E T\CHROME_temp, %LOCALAPPDATA%\CentBrowser\User Data, %LOCALAPPDATA%\Google\Chrome\User Data, Brave, and Edge.
  • Zero Data Loss: Preserves all passwords, saved logins, session cookies, browsing history, bookmarks, tabs, and extensions.
  • Targeted Purging: Cleans only transient render caches:
    • Disk Cache & Cache_Data
    • Code Cache (V8 compiled JS/WASM)
    • GPUCache, GrShaderCache, GraphiteDawnCache
    • Service Worker\CacheStorage & ScriptCache
    • Crashpad\reports and blob_storage
  • High Performance: Purges dozens of gigabytes across 80+ profiles in less than 1 second.

3. Error_80070002_AI.cmd — Windows Update Fast Repair Tool

Error_80070002_AI.cmd is a rapid, non-destructive repair tool for Windows Update error codes (0x80070002, 0x80070003, 0x80240020, 0x80070057) caused by corrupted download manifests or interrupted download states.

Execution Pipeline (~5 Seconds)

  1. Service Suspension: Gracefully stops wuauserv, bits, cryptsvc, dosvc, and msiserver.
  2. Payload Purge: Wipes corrupted downloaded update packages in C:\Windows\SoftwareDistribution\Download.
  3. Metadata Reset: Resets the local update catalog database in C:\Windows\SoftwareDistribution\DataStore.
  4. Signature Catalog Refresh: Refreshes cryptographic catalog cache in C:\Windows\System32\catroot2.
  5. BITS Queue Reset: Clears stalled downloader jobs in qmgr*.dat.
  6. Binary Re-Registration & Network Reset: Re-registers essential update libraries (wups2.dll, wuaueng.dll, urlmon.dll, atl.dll) and resets the Winsock network catalog.
  7. Service Activation: Re-enables and starts all update services.
  8. Immediate Detection: Triggers a clean scan via Windows Update Orchestrator (usoclient StartScan).

4. Nox_AdBlock.cmd — NoxPlayer AdBlock & Privacy Tool

Nox_AdBlock.cmd blocks intrusive advertising, sponsored game icons, popup recommendations, and analytics telemetry from NoxPlayer while strictly keeping Google Play Services and app downloads fully operational.

Key Features

  • DNS Sinkhole Blocking: Redirects 13 known BigNox ad, popup, and telemetry domains (advert.bignox.com, hotgames.bignox.com, res06.bignox.com, stat.bignox.com, etc.) to 0.0.0.0 in the Windows hosts file.
  • Google Play Compatibility: Does NOT touch Google servers, Google Play Services, or APK repositories. Apps install and update without interruption.
  • Config Hardening: Patches conf.ini to disable loadingpage_show, collect_behavior_enable, and app_notice_enable.
  • Ad Cache Purge: Cleans all accumulated promo images in app_images, loading, preview, and app_notice_list.

SMB Network Drives — SMB_Connect

SMB_Connect.bat connects 10 Samba servers simultaneously as Windows network drives.

[  OK  ]  A:  AWS_12       18.195.117.12
[  OK  ]  E:  IONOS_38     82.223.116.38
[  OK  ]  I:  ILYA_176     146.103.110.176
[  OK  ]  N:  PILIK_33     195.63.138.33
[  OK  ]  O:  4TON_237     144.124.228.237
[  OK  ]  Q:  SO_38        144.124.233.38
[  OK  ]  T:  TATRA_9      144.124.232.9
[  OK  ]  V:  SHAHIN_227   144.124.228.227
[  OK  ]  W:  STOLB_24     144.124.239.24
[  OK  ]  Y:  ALEX_47      109.234.38.47

All servers run Samba on Ubuntu 24 LTS with IPGuard triple-layer security. See the full server-side setup in 👉 GinCz/Linux_Server_Public.


Requirements & Usage

  • Operating System: Windows 10 / Windows 11 (x64 / x86 / ARM64)
  • Shell: Standard CMD / PowerShell 5.1+
  • Privileges: Scripts automatically request UAC elevation when administrator privileges are required.
  • Usage: Simply double-click any script or run via terminal with supported arguments.

Code Conventions

Convention Value
Language English only
Encoding UTF-8 (chcp 65001)
Elevation Failsafe fltmc elevation check with PowerShell RunAs
Versioning vYYYY.MM.DD format
Signature `= Rooted by VladiMIR
Performance Suppressed stdout directory iteration, parallel file removal

Author

VladiMIR Bulantsev (GinCz) — Linux SysAdmin, DevOps & Security Engineer, Czech Republic

= Rooted by VladiMIR | AI = | v.2026.08.16 | github.com/GinCz =


Tested on Windows 10 & Windows 11 — Production Ready

About

VladiMIR Bulantsev (GinCz) — Windows CMD/BAT/PowerShell: system optimization, diagnostics, SMB/Samba drives, benchmarking, software install. Sysadmin toolkit.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages