> For the complete documentation index, see [llms.txt](https://n000b3r.gitbook.io/oscp-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://n000b3r.gitbook.io/oscp-notes/configurations/smb-share.md).

# SMB Share

<details>

<summary>Powershell Method</summary>

On Sender:

```
Set-SmbServerConfiguration -EnableSMB2Protocol $true -Force
net share PublicShare=C:\temp /GRANT:Everyone,FULL
```

On Receiver:

```
copy \\appsrv01\PublicShare\mimikatz.exe .
```

</details>

<details>

<summary>GUI Method</summary>

* Right click --> New --> Folder --> name it
  * ![](/files/AUFYxHuQznpyrtDojPfs)<br>
* Right click folder --> Properties --> Sharing --> Advanced Sharing --> Share this folder --> Permissions
  \*

  ```
  <figure><img src="/files/j35HKhURablPdNlgI0WL" alt=""><figcaption></figcaption></figure>
  ```

  \*

  ```
  <figure><img src="/files/1hOYcx2ApUnMKxBWYUlN" alt=""><figcaption></figcaption></figure>

  <figure><img src="/files/sux4ljYU9wBawkSeZnnL" alt=""><figcaption></figcaption></figure>
  ```

  * Set SMB Share permissions (Full Control --> allow for all)
    \*

    ```
    <figure><img src="/files/2y0A2UcbNv5xCOtYi39u" alt=""><figcaption></figcaption></figure>
    ```

    \*

    ```
    <figure><img src="/files/w1udT0K7K5aelQy7bm4j" alt=""><figcaption></figcaption></figure>
    ```

</details>
