# Install and activate Office for FREE legally

## **Step 1:** Open the command prompt in administrator mode.

Just copy/paste the commands and do not forget to hit Enter to execute them.

```bash
cd /d %ProgramFiles%\Microsoft Office\Office16
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
```

## **Step 2:** Open the location of the Office installed on your PC.

Just copy/paste the commands and do not forget to hit Enter to execute them.

```bash
for /f %x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x"
```

## **Step 3:** Activate your Office using the KMS client key.

Just copy/paste the commands and do not forget to hit Enter to execute them.

```bash
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /unpkey:6MWKP >nul
cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /act
```

<mark>Right now the Office is activated successfully.</mark>

or

### Just copy/paste the commands and do not forget to hit Enter to execute them.

[https://massgrave.dev/](https://massgrave.dev/)

```plaintext
irm https://get.activated.win | iex

irm https://massgrave.dev/get | iex
```
