hauntweb/posts/gorilazada.md

41 lines
1.5 KiB
Markdown
Raw Normal View History

2024-02-18 06:28:49 +00:00
title:🦍 Gorilazadah
date: 2024-02-18 23:00
tags: projects
summary: Awesome script for update and clean Windows
---
Awesome Script for Clean and Update your Windows
---
> Para a versão em português clique [🇧🇷](https://github.com/cristiancmoises/gorilazadah/blob/main/LEIA-ME.md)
![go](/images/go.png)
___________________
#### You dont have time for checking windows updates and softwares every time?
### This script is for you!
# Download
## [Gorilazada](/download/gorilazadah.ps1)
## [Clean](/downlaod/clean.bat)
## Usage:
In the windows gui perform the following steps:
1.) Open the Local Group Policy Editor by hitting "Win + R" and typing: **gpedit.msc** followed by **Ctrl + Shift + Enter**.
2.) Navigate to Computer **Configuration\Windows Settings\Scripts (Startup/Shutdown).
3.) In the results pane, double-click Shutdown.
4.) Select the powershell tab
5.) In the Shutdown Properties dialog box, click **Add**.
6.) In the Script Name box, type the path to the script, or click Browse to search **gorilazadah.ps1** in the Netlogon shared folder on the domain controller.
7.) Now add the **clean.bat** into scripts (Configuration\Windows Settings\Scripts)(double-click Shutdown).
All cache are cleaned by the **clean.bat** (Include all temp from Microsoft Teams)
Now all an administrator has to do is reboot the computer to perform windows updates smoothly.
The same steps can be performed in GPO to acomplish the same thing on multiple Windows machines at the same time. **#profit**