# Move WSL2 things to D:/WSL
> In Windows 10 version 1903 (April 2019 Update) or late
## Check distribution
```.ps1
wsl -l -v
```
> 
## Moving to D:/WSL
```.ps1
wsl --shutdown
```
```.ps1
# mkdir D:\WSL
wsl.exe --export Ubuntu D:\WSL\Ubuntu.tar
```
```.ps1
wsl.exe --unregister Ubuntu
```
```.ps1
wsl --import Ubuntu D:\WSL\Ubuntu D:\WSL\Ubuntu.tar
```
so as `docker-desktop-data`
> :-1: I had moved docker-desktop distro. It went back to `~\AppData\Local\Docker\wsl\distro` after it has updated. shit :heart:
## Special needs (expect for dockers)
1. go to `WIN`+R and type `regedit`
2. go to `Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss\` and find your target distro
3. edit `DefaultUid` to `1000(dec)`