当前位置:网站首页>Why does the path obtained by the remote server echo%temp% have a number of 1, 2, 3, etc

Why does the path obtained by the remote server echo%temp% have a number of 1, 2, 3, etc

2022-06-24 01:55:00 shawyang

remote server echo %temp% Why does the obtained path have 1、2、3 Equal number , Examples are as follows

This is the default feature of remote services , Just look at these documents

https://serverfault.com/questions/1035959/windows-server-2019-windows-installer-temp-path-session-id

https://docs.microsoft.com/en-us/troubleshoot/windows-server/shell-experience/temp-folder-with-logon-session-id-deleted

Then I don't want the following numbers ?

The items circled in the figure below , English path is Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Temporary folders

The Chinese path is gpedit.msc Open group policy , Computer configuration → Manage templates → Windows Components → Remote desktop service → Remote Desktop Session host → Temporary folder → Do not use temporary folders per session

This item is not configured by default , hold “ Do not use temporary folders per session ” Enable the following , Then restart the machine

The effect after restart is as follows :

原网站

版权声明
本文为[shawyang]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/11/20211109213559507y.html