Quantcast
Channel: Remote Desktop Services (Terminal Services) Forumu
Viewing all articles
Browse latest Browse all 27533

[UDP] finding SID or username from attached disk on terminal server

$
0
0

I started as a system administrator at a company where i didn't set up the network and servers. This is the situation

There are two Terminal Servers with a broker. The VHDX files are on the fileserver. When an user logs in to the Terminal Server he or she should get its profile via de VHDX file. When he logs of the VHDX file should be dismount. The VHDX has a max of 1 gb.

Sometimes a user logs out but the VDHX stays attached. When the user logs back in he gets a temporary profile. Sometimes the VDHX shows its full but only 400 mb files are in it.

This is what i do:

- Log in as administrator on the Terminal Server and open diskmanagement
- Go to the security tab on the properties of disk one and check the users. -> if wrong repeat at disk two (50 users)
- If right, open PowerShell and find the SID of the user
- Log in to the fileserver and attach VHDX
- Copy files
- Dismount VHDX and delete it

- When the user logs in again he gets a new VHDX and i transfer the files to him.

You can understand that step two is taking forever. Is there a simpel thing to do to get the user/sid of every attached VHDX?


Viewing all articles
Browse latest Browse all 27533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>