# Windows Server 2019 – Desktop path for all users redirected to System32 \ SystemProfile \ Desktop

I’ve got a strange request a few days ago regarding users getting a prompt about their Desktop location pointing to…

blog

22 Jan 2019 pl

![Windows Server 2019 – Desktop path for all users redirected to System32 \ SystemProfile \ Desktop](/wp-content/uploads/2019/01/img_5c461d7f65040.png)

[Zobacz obrazy (7)](#pf-content-image-1-0)

I've got a strange request a few days ago regarding users getting a prompt about their **Desktop** location pointing to **C:\Windows\system32\config\systemprofile\Desktop** on freshly installed **Windows Server 2019**. It only happened when the user was using **Save As** functionality.

[!\[Okno Save As w Windows Server 2019 wskazujace sciezke pulpitu C:\Windows\system32\config\systemprofile\Desktop\](/wp-content/uploads/2019/01/img_5c461d7f65040.png)](/wp-content/uploads/2019/01/img_5c461d7f65040.png)

A bigger issue was that this didn't just happen for one user. It was happening for all users, and this was an **RDS server**. It meant that I couldn't just recreate user profile and forget about it. This was an issue every single user had. I started going thru usual suspects in such scenario:

- 💡 Quick check for **Desktop profile** path in File Explorer

[!\[Sprawdzenie sciezki profilu Desktop w Eksploratorze plikow podczas diagnostyki problemu Windows Server 2019\](/wp-content/uploads/2019/01/img_5c461e104bfcc.png)](/wp-content/uploads/2019/01/img_5c461e104bfcc.png)

- 💡 Registry entries verification in `HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders`

[!\[Widok rejestru User Shell Folders uzywany do weryfikacji sciezki Desktop w Windows Server 2019\](/wp-content/uploads/2019/01/img_5c461f708c7a9.png)](/wp-content/uploads/2019/01/img_5c461f708c7a9.png)

- 💡 **Variables verification**

[!\[Sprawdzenie zmiennych srodowiskowych wykonane podczas diagnozowania nieprawidlowej sciezki Desktop dla wszystkich uzytkownikow\](/wp-content/uploads/2019/01/img_5c46201c1abc2.png)](/wp-content/uploads/2019/01/img_5c46201c1abc2.png)

And yet all users including myself had this problem. I've scanned thru google but haven't had any luck. Most of the issues were related to old **Windows 10 1803** faulty patch or generally desktop-based systems, and every lead was a dead end.

### 💡 How do I fix it?

I was a bit out of ideas and was thinking that rebuilding the whole server is my only option. After all, at some point, you start wasting more hours than it takes to build a new server from scratch. Fortunately, I won't have to do it. It seems that **Ransomeware ****protection **is responsible for my misery. It's a new feature in **Windows 2019** and in **Windows 10 1809** but it's also a feature that needs to be configured properly.

[!\[C:\Windows\system32\config\systemprofile\Desktop\](/wp-content/uploads/2019/01/img_5c4626017b412.png)](/wp-content/uploads/2019/01/img_5c4626017b412.png)[!\[Ransomware Proection - C:\Windows\system32\config\systemprofile\Desktop\](/wp-content/uploads/2019/01/img_5c46262358088.png)](/wp-content/uploads/2019/01/img_5c46262358088.png)

By default this feature is disabled, and someone has turned it on with default settings thinking it solves all the problems.

[!\[Ransomware Proection - C:\Windows\system32\config\systemprofile\Desktop\](/wp-content/uploads/2019/01/img_5c4626127c66a.png)](/wp-content/uploads/2019/01/img_5c4626127c66a.png)

Turning it off makes the error of non-existing redirection to **C:\Windows\system32\config\systemprofile\Desktop **go away. I wish Microsoft would give better notification to a user when such a thing happens. It took me a while to understand what is happening and it wasn't that obvious. It was a bit harder because it wasn't me who configured this feature, so I didn't know it's even on. But from now on it's something on my checklist to verify any issues I get with **Windows Server 2019**. New server version brings built-in antivirus and ransomware protection. It's a significant improvement to the system since you don't have to worry about AV anymore. While antivirus works out of the box, ransomware protection requires some configuration. As Microsoft puts it “Most of your apps will be allowed by **Controlled folder access** without adding them here. Apps determined by **Microsoft** as friendly are always allowed.”. So while some apps on the server worked correctly, others didn't, and there was **no clear way to tell why the error happens** from the message presented to the user.

## Powiązane projekty

Projekty powiązane z tagami, kategoriami i treścią tego wpisu.

[Wszystkie projekty](/projekty/)

Trwa dopasowywanie projektów...

[Powrót do bloga](/blog/)

## Powiązane wpisy

- [Check an API write after a PowerShell timeout](/blog/verify-uncertain-api-outcomes-powershell/)
- [Inspect and convert mixed Office archives with PSWriteOffice](/blog/inspect-and-convert-mixed-office-archives-pswriteoffice/)
- [Compose PDF reports and automate page workflows with PSWriteOffice](/blog/automate-pdf-reports-and-page-workflows-pswriteoffice/)

<!-- PowerForge markdown artifact sha256:341549186A81B767EA25902B7D68739C29C392F25D642EA276F8AA3C52360D39 -->
