aboutsummaryrefslogtreecommitdiffstats
path: root/posts/gorilazada.md
blob: 31ca3d2274c776cd092651b157bcb4bc37d6d54e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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**