mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 15:40:23 +00:00
39 lines
3.1 KiB
Markdown
39 lines
3.1 KiB
Markdown
|
?????????? ???????? ????? # RDP
|
||
|
|
||
|
?? ?????? ???????????? ??? RDP-?????????? ? XPipe ??? ???????? ??????? ?????????? ? ????????. ?????? ??-?? ???????????? RDP ???? ???????? ??????????????? ?????? ??????????? ????????? ?????????? ?? ????? ???????, ????? ??? ?????????. ????? ????, ??? ????? ????????? ???????????? ????? ?????? ? ????? ??? ?????????? ????? ???????? ?? ????????? ???????.
|
||
|
|
||
|
?? ????? ?????? ?? ?????? ????? ? ?????? ???????????? XPipe ??? ??????? RDP-???????, ?? ???????? ??????? ??????????? ??????? ?????????? ? ??????? ??????.
|
||
|
|
||
|
## ?????? ?????????? RDP
|
||
|
|
||
|
?????? RDP ?????????? ????????? ??????? ?????????? ??? ????????? ??????? ??????????. ?? ????, ??? ????????, ??? ???? ?????? ?????????? ?? ???????? ??? ?????????? ?????????? ?? ???? ???? ????????? ? ?????? ??????????, ?????? ????? ????????? ?????????? ???????? ????? ?????????.
|
||
|
|
||
|
?? ?????? ????? ????????? ??????????????? ?????? ? ??????? ?????? ??????? ?? ?????? `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList`.
|
||
|
|
||
|
### ?????????? ???? ??????????
|
||
|
|
||
|
?? ?????? ????????? ?????? ??????????, ????? ????????? ?????? ???? ????????? ?????????? ????? ?? XPipe. ??? ????? ?? ?????? ????????? ????????? ??????? ?? ????? ??????? ? PowerShell: `Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList' -Name "fDisabledAllowList" -Value 1`.
|
||
|
|
||
|
### ?????????? ??????????? ??????????
|
||
|
|
||
|
????? ????, ?? ?????? ???????? ? ?????? ????????? ????????? ??????????. ????? ?? ??????? ????????? ????????????? ?????????? ????? ?? XPipe.
|
||
|
|
||
|
??? ?????? `Applications` ? `TSAppAllowList` ?????? ????? ???? ? ?????-?????? ???????????? ??????. ???????????? ?????????? ? ????? - ??? ?????? ???? ?????????? ? ???????? ???????? ????????? ????? "Applications". ???? ????? ???? ?????? ????????? ????? ????????: `Name`, `Path` ? `CommandLineSetting`. ?? ?????? ??????? ??? ? PowerShell ? ??????? ????????? ??????:
|
||
|
|
||
|
```
|
||
|
$appName="Notepad"
|
||
|
$appPath="C:\Windows\System32\notepad.exe"
|
||
|
|
||
|
$regKey="HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList\Applications"
|
||
|
New-item -Path "$regKey\$appName"
|
||
|
New-ItemProperty -Path "$regKey\$appName" -Name "Name" -Value "$appName" -Force
|
||
|
New-ItemProperty -Path "$regKey\$appName" -Name "Path" -Value "$appPath" -Force
|
||
|
New-ItemProperty -Path "$regKey\$appName" -Name "CommandLineSetting" -Value "1" -PropertyType DWord -Force
|
||
|
```
|
||
|
|
||
|
???? ?? ?????? ????????? XPipe ????? ????????? ??????? ? ????????? ???????????? ??????, ???? ????? ???????? `C:\Windows\System32\cmd.exe` ????? ? ?????? ???????????.
|
||
|
|
||
|
## ??????????? ????????????
|
||
|
|
||
|
??? ?????? ??????? ?? ?????? ???? ?????? ????????????, ??? ??? ?? ?????? ?????? ????????? ?? ?? ?????????? ??????? ??? ??????? RDP-??????????. ?????? ?????????? ?????? ????????????? ??? ????, ????? ??????? ?? ????? ????????? ????????? ????? ?????????? ??? ??????? ????????????. ? ????? ??????, ???? ??????, ???????? ?? XPipe ? ???? ???????. ?? ?????? ????????? ??? ?????????? ?????? ?? ???????, ??? ??????? ?????? ? ??? ??????, ???? ?? ?????? ???????????? ?????-???? ??????????? ??????? ?????????? ??????? ?????? ? XPipe.
|