Tags: vacisdev/windows11
Tags
Update Start Optimize Windows.bat ## [1.9.0] - 2025-09-16 ### Added - Enhanced echo statements in :do_cleanup to explicitly describe the cleaning process (temp files, prefetch, software distribution, event logs, WER reports), improving user transparency while maintaining safety notes. - Added conditional checks in :addReg for REG_SZ to handle empty values more robustly (set to empty string instead of placeholder). - Introduced selective service calls in :do_services, adding more granular control over commonly available services like ALG, AppIDSvc, and others, while incorporating new ones like DisplayEnhancementService, DmEnrollmentSvc, etc. - Expanded wildcard service handling with better prefix length calculation for accuracy in matching user-specific services. ### Changed - Updated script title to "Fixed v2.2" to reflect iterative fixes and improvements. - In :setService, modified behavior to always echo "Setting Service [name] to [type]" for clarity, but suppressed "Processing wildcard..." for non-wildcard patterns to reduce noise. - Streamlined :do_services by removing calls to rarely existing or deprecated services (e.g., AJRouter, AppVClient, AssignedAccessManagerSvc, BthHFSrv, Browser, DcSvc, DialogBlockingService, etc.), focusing on a more reliable and system-agnostic list. - Adjusted :do_cleanup to perform comprehensive but safe deletions (including Prefetch, event logs, and WER reports), aligning the code with the echoed description while retaining the safety disclaimer. - In :do_security, refined PowerShell commands to silently handle unsupported mitigations, eliminating WARNUNG messages for cleaner output (e.g., EnableExportAddressFilter, AuditEnableImportAddressFilter). - Optimized :setSingleService to skip echo for non-existent services quietly, improving log readability. ### Fixed - Resolved issues with non-existent services causing "Skip" or "does not exist" spam in output by pruning the service list in :do_services and handling absences gracefully. - Corrected REG_SZ handling in :addReg to avoid placeholder values, ensuring proper empty strings (e.g., for location\Value = "Deny"). - Fixed potential failures in :delReg by updating echo to accurately report "not found or failed" without redundant "Removed" if deletion fails. - Addressed UI tweaks where ShellFeedsTaskbarViewMode might fail by ensuring key creation before addition, preventing x (failed) messages. - Eliminated unnecessary wildcard processing echoes for services without *, reducing clutter in console output. - Improved overall stability by removing outdated or problematic services (e.g., HomeGroupListener, IEEtwCollectorService) and ensuring only viable ones are targeted.
Update Start Optimize Windows.bat ## [1.8.0] - 2025-09-14 ### Added - Switches for options like Privacy, Services, Gaming, UI, Network, Power, Cleanup, Security, Old Boot Menu, Login Safety - Preview to see changes without doing them - Restore menu for fixes like login services, biometrics, GameDVR, Windows Update - Backups of registry and services before changes - Handle services with wildcards (like CDPUserSvc_*) - Login Safety to prevent breaking PIN or face login - Make a system restore point ### Changed - New menu with numbers to toggle and buttons (Apply, Preview, Restore, Exit) - Safer tweaks: Keep more services (like HID/Biometrics), skip harsh cleanups (no Prefetch/logs delete), optional security changes with warning - Updated service groups: More auto/manual, less disabled; added delayed start - Better registry changes: Focus on safe privacy/telemetry, add game boosts (like scheduler) - Swap harsh file deletes for safe temp/thumbnail cleanup - Nicer banner and colors - No auto-run all; user picks now ### Fixed - Better service setup: Check current state, skip if same - Add checks for missing services and registry fails - Fix old loops (removed Task Manager change) - Steady admin check and file encoding