diff --git a/Battery.txt b/Battery.txt new file mode 100644 index 00000000..243cc3c0 --- /dev/null +++ b/Battery.txt @@ -0,0 +1,83 @@ +# Battery drains too fast. +When your battery on the laptop drains too fast, please perform these steps and report the results back to the Winutil community. + +1. **Check Battery Health:** + - Open a Command Prompt as an administrator. + - Run the following command to generate a battery report: + ```powershell + powercfg /batteryreport /output "C:\battery_report.html" + ``` + - Open the generated HTML report to review information about battery health and usage. + +2. **Review Power Settings:** + - Go to "Settings" > "System" > "Power & sleep." + - Adjust power plan settings based on your preferences and usage patterns. + - Click on "Additional power settings" to access advanced power settings. + +3. **Identify Power-Hungry Apps:** + - Right-click on the taskbar and select "Task Manager." + - Navigate to the "Processes" tab to identify applications with high CPU or memory usage. + - Consider closing unnecessary background applications. + +4. **Update Drivers:** + - Visit your laptop manufacturer's website or use Windows Update to check for driver updates. + - Ensure graphics, chipset, and other essential drivers are up to date. + +5. **Check for Windows Updates:** + - Go to "Settings" > "Update & Security" > "Windows Update." + - Check for and install any available updates for your operating system. + +6. **Reduce Screen Brightness:** + - Adjust screen brightness based on your preferences and lighting conditions. + - Go to "Settings" > "System" > "Display" to adjust brightness. + +7. **Battery Saver Mode:** + - Go to "Settings" > "System" > "Battery." + - Turn on "Battery saver" to limit background activity and conserve power. + +8. **Check Power Usage in Settings:** + - Go to "Settings" > "System" > "Battery" > "Battery usage by app." + - Review the list of apps and their power usage. + +9. **Check Background Apps:** + - Go to "Settings" > "Privacy" > "Background apps." + - Disable unnecessary apps running in the background. + +10. **Use Powercfg for Analysis:** + - Open a Command Prompt as an administrator. + - Run the following command to analyze energy usage and generate a report: + ```powershell + powercfg /energy /output "C:\energy_report.html" + ``` + - Open the generated HTML report to identify energy consumption patterns. + +11. **Review Event Viewer:** + - Open Event Viewer by searching for it in the Start menu. + - Navigate to "Windows Logs" > "System." + - Look for events with the source "Power-Troubleshooter" to identify power-related events. + +12. **Check Wake-up Sources:** + - Open a Command Prompt as an administrator. + - Use the command `powercfg /requests` to identify processes preventing sleep. + - Check Task Scheduler for tasks waking up the computer. + - Use the command `powercfg /waketimers` to view active wake timers. + +13. **Resource Monitor:** + - Open Resource Monitor from the Start menu. + - Navigate to the "CPU" tab and identify processes with high CPU usage. + +14. **Windows Settings - Activity History:** + - In "Settings," go to "Privacy" > "Activity history." + - Turn off "Let Windows collect my activities from this PC." + +15. **Network Adapters:** + - Open Device Manager by searching for it in the Start menu. + - Locate your network adapter, right-click, and go to "Properties." + - Under the "Power Management" tab, uncheck the option that allows the device to wake the computer. + +16. **Review Installed Applications:** + - Manually review installed applications by searching for "Add or remove programs" in the Start menu. + - Check settings/preferences of individual applications for power-related options. + - Uninstall unnecessary or problematic software. + +By following these detailed instructions, you should be able to thoroughly diagnose and address battery drain issues on your Windows laptop. Adjust settings as needed to optimize power management and improve battery life. diff --git a/Error-in-Winutil-MicroWin-during-ISO-mounting.txt b/Error-in-Winutil-MicroWin-during-ISO-mounting.txt new file mode 100644 index 00000000..072c76da --- /dev/null +++ b/Error-in-Winutil-MicroWin-during-ISO-mounting.txt @@ -0,0 +1,39 @@ +# Troubleshoot errors during Microwin usage + +## Error `0x80041031` + +This error code typically indicates an issue related to Windows Management Instrumentation (WMI). Here are a few steps you can try to resolve the issue: + +1. **Reboot Your Computer:** + Sometimes, a simple reboot can resolve temporary issues. Restart your computer and try mounting the ISO again. + +2. **Check for System Corruption:** + Run the System File Checker (SFC) utility to scan and repair system files that may be corrupted. + ```powershell + sfc /scannow + ``` + +3. **Update Your System:** + Make sure your operating system is up-to-date. Check for Windows updates and install any pending updates. + +4. **Check WMI Service:** + Ensure that the Windows Management Instrumentation (WMI) service is running. You can do this through the Services application: + - Press `Win + R` to open the Run dialog. + - Type `services.msc` and press Enter. + - Locate "Windows Management Instrumentation" in the list. + - Make sure to set its status to "Running" and the startup type to "Automatic." + +5. **Check for Security Software Interference:** + Security software can sometimes interfere with WMI operations. Temporarily disable your antivirus or security software and check if the issue persists. + +6. **Event Viewer:** + Check the Event Viewer for more detailed error information. Look for entries related to the `80041031` error and check if there are any additional details that can help identify the cause. + + - Press `Win + X` and select "Event Viewer." + - Navigate to "Windows Logs" -> "Application" or "System." + - Look for entries with the source related to WMI or the application use to mount the ISO. + +7. **ISO File Integrity:** + Ensure that the ISO file you are trying to mount is uncorrupted. Try mounting a different ISO file to see if the issue persists. + +If the problem persists after trying these steps, additional troubleshooting is required. Consider seeking assistance from Microsoft support or community forums for more specific guidance based on your system configuration and the software you use to mount the ISO. diff --git a/docs/assets/ProgramInstall.png b/docs/assets/ProgramInstall.png new file mode 100644 index 00000000..654fcadc Binary files /dev/null and b/docs/assets/ProgramInstall.png differ diff --git a/docs/assets/ProgramInstallButton.png b/docs/assets/ProgramInstallButton.png new file mode 100644 index 00000000..1bfb5cb0 Binary files /dev/null and b/docs/assets/ProgramInstallButton.png differ diff --git a/docs/assets/ProgramUninstall.png b/docs/assets/ProgramUninstall.png new file mode 100644 index 00000000..0f1b8d3d Binary files /dev/null and b/docs/assets/ProgramUninstall.png differ diff --git a/docs/assets/TweaksScreen.PNG b/docs/assets/TweaksScreen.PNG new file mode 100644 index 00000000..6ed96b0e Binary files /dev/null and b/docs/assets/TweaksScreen.PNG differ diff --git a/docs/assets/favicon.png b/docs/assets/favicon.png new file mode 100644 index 00000000..a4f4bc5d Binary files /dev/null and b/docs/assets/favicon.png differ diff --git a/docs/contribute.md b/docs/contribute.md index 87b0e57c..ffe9b4e2 100644 --- a/docs/contribute.md +++ b/docs/contribute.md @@ -2,7 +2,6 @@ ## Testing your changes -* Once you think you are ready to make a PR to the Main WinUtil branch. Test it. You are probably asking how do I test it? * To test to see if your changes work run the command below in a powershell terminal as Admin after changing to the directory where the WinUtil code is located. * `./Compile.ps1` * After running that command and it completeing with no errors run the command below. @@ -10,7 +9,6 @@ * After seeing that your chnages work properly feel free to make a PR and follow the documentation below. ## Making a PR -* Once you think you are ready to make a PR to the Main WinUtil branch and have tested it. You are probably asking how do I make a PR? * To make a PR on your repo under a new branch linking to the main branch a button will show and say Preview and Create pull request. Click that button and fill in all information that is provided on the template. Once all the information is filled in correctly check your PR to make sure there is not a WinUtil.ps1 file attached to the PR. Once everything is good make the PR and wait for Chris (The Maintainer) to accept or deny your PR. Once it is accepted in by Chris you will be able to see your changes in the /windev build. * If you do not see your feature in the main /win build that is fine. As all new changes go into the /windev build to make sure everything is working ok before going fully public. * Congrats you just submitted your first PR. Thank you so much for contributing to WinUtil. \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index f7df3b0e..8f2e5adf 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,9 +2,9 @@ ## Running -There are 2 ways to run WinUtil. The 2 ways goes as follows: +There are 4 ways to run WinUtil. The 4 ways goes as follows: -* `irm christitus.com/win | iex` - Runs WinUtil from ChrisTitus website using main branch. -* `irm https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1 | iex` - Runs WinUtil from github using main branch. -* `irm christitus.com/windev | iex` - Runs WinUtil from ChrisTitus website using dev branch. -* `irm https://github.com/ChrisTitusTech/winutil/releases/latest/download/windev.ps1 | iex` - Runs WinUtil from github using dev branch. \ No newline at end of file +* `irm christitus.com/win | iex` - Runs WinUtil from ChrisTitus's website using the latest Full Releases. +* `irm https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1 | iex` - Runs WinUtil from github using the latest Full Release. +* `irm christitus.com/windev | iex` - Runs WinUtil from ChrisTitus website using the latest Pre-Release. +* `irm https://github.com/ChrisTitusTech/winutil/releases/latest/download/windev.ps1 | iex` - Runs WinUtil from github using the latest Pre-Release. \ No newline at end of file diff --git a/docs/userguide.md b/docs/userguide.md index cafd485d..b4ef638b 100644 --- a/docs/userguide.md +++ b/docs/userguide.md @@ -1,18 +1,76 @@ # User Guide -## Program Installation -* To install programs select the programs you wish to install like the picture below. -![Program Install](img/ProgramInstall.png) +## Overview + +## Program + +### Installation & Updates +* To install programs select the programs you wish to install or update like the picture below. +![Program Install](assets/ProgramInstall.png) * Once you have selected the programs you wish to install click the select Install/Upgrade Selected button as seen below. -![Program Install Button](img/ProgramInstallButton.png) +![Program Install Button](assets/ProgramInstallButton.png) -## Program Updates -* To update programs select the programs you wish to update like the picture below. -![Program Install](img/ProgramInstall.png) -* Once you have selected the programs you wish to update click the select Install/Upgrade Selected button as seen below. -![Program Install Button](img/ProgramInstallButton.png) +### Upgrade All +* Press the button to upgrade all installed programs that are supported by WinGet, there is no selection needed. -## Program Uninstall +### Uninstall * To uninstall programs select the programs you wish to uninstall like the picture below. -![Program Install](img/ProgramInstall.png) -* Once you have selected the programs you wish to uninstall click the select Uninstall Selected button as seen below. \ No newline at end of file +![Program Uninstall](assets/ProgramInstall.png) +* Once you have selected the programs you wish to uninstall click the select Uninstall Selected button as seen below. +![Program Uninstall Button](assets/ProgramUninstall.png) + +### Get Installed +* Checks for installed programs that are supported by WinGet and selects them in the Utility. + +### Clear Selection +* Clears ur current selection so no program is checked. + +## Tweaks + +### Tweaks Addition +* To enable tweaks on your system select Tweaks at the top next to Install. +* Then you can select what tweaks you want adding to your system. We do have some presets you can select from at the top you can see this in the picture below. +![Tweaks Screen](assets/TweaksScreen.PNG) +* After you have chosen your tweaks click the + +### Tweaks Removal +* To disable tweaks on your system select Tweaks at the top next to Install. +* Then you can select what tweaks you want removing from your system. + +### Essential Tweaks + +### Advanced Tweaks - CAUTION + +### O&O Shutup + +### DNS + +### Customize Preferences + +### Performance Plans + +### Shortcuts + + +![Tweaks Screen](assets/TweaksScreen.PNG) + +## Config + +### Features +* Install the most used Windows Features by checking the checkbox and clicking "Install Features" to install them + +### Fixes +* Quick Fixes for your system if you are having Issues. + +- Set Up Autologin +- Reset Windows Update +- Reset Network +- System Corruption Scan +- WinGet Reinstall +- Remove Adobe Creative Cloud + +### Legacy Windows Panels + +## Updates | Not working rn + +## MicroWin \ No newline at end of file diff --git a/overrides/main.html b/overrides/main.html new file mode 100644 index 00000000..853726f6 --- /dev/null +++ b/overrides/main.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block header %} +{{ super() }} +
+ Announcement: This documentation is still in working progress. +
+{% endblock %} \ No newline at end of file