Disable-PSRemoting
Mencegah titik akhir PowerShell menerima koneksi jarak jauh.
Sintaks
Disable-PSRemoting
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Deskripsi
Cmdlet ini hanya tersedia di platform Windows.
cmdlet Disable-PSRemoting
memblokir akses jarak jauh ke semua PowerShell versi 6 dan konfigurasi titik akhir sesi yang lebih besar di komputer lokal. Ini tidak memengaruhi konfigurasi titik akhir Windows PowerShell. Untuk menonaktifkan konfigurasi titik akhir sesi Windows PowerShell, jalankan perintah Disable-PSRemoting
dari dalam sesi Windows PowerShell.
Untuk mengaktifkan kembali akses jarak jauh ke semua PowerShell versi 6 dan konfigurasi titik akhir sesi yang lebih besar, gunakan cmdlet Enable-PSRemoting
. Untuk mengaktifkan kembali akses jarak jauh ke semua konfigurasi titik akhir sesi Windows PowerShell, jalankan Enable-PSRemoting
dari dalam sesi Windows PowerShell.
Nota
Jika Anda ingin menonaktifkan semua akses jarak jauh PowerShell ke komputer Windows lokal, Anda harus menjalankan perintah ini baik dari dalam PowerShell versi 6 atau sesi yang lebih besar dan dari dalam sesi Windows PowerShell. Windows PowerShell diinstal pada semua komputer Windows secara default.
Untuk menonaktifkan dan mengaktifkan kembali akses jarak jauh ke konfigurasi titik akhir sesi tertentu, gunakan cmdlet Enable-PSSessionConfiguration
dan Disable-PSSessionConfiguration
. Untuk mengatur konfigurasi akses tertentu dari titik akhir individual, gunakan cmdlet Set-PSSessionConfiguration
bersama dengan parameter AccessMode. Untuk informasi selengkapnya tentang konfigurasi sesi, lihat about_Session_Configurations.
Nota
Bahkan setelah menjalankan Disable-PSRemoting
Anda masih dapat membuat koneksi loopback pada komputer lokal. Koneksi loopback adalah sesi jarak jauh PowerShell yang berasal dari dan terhubung ke komputer lokal yang sama. Sesi jarak jauh dari sumber eksternal tetap diblokir. Untuk koneksi loopback, Anda harus menggunakan kredensial implisit di sepanjang parameter EnableNetworkAccess. Untuk informasi selengkapnya tentang koneksi loopback, lihat New-PSSession.
Cmdlet ini hanya tersedia di platform Windows. Ini tidak tersedia di PowerShell versi Linux atau macOS. Untuk menjalankan cmdlet ini, mulai PowerShell dengan opsi Jalankan sebagai administrator.
Contoh
Contoh 1: Mencegah akses jarak jauh ke semua konfigurasi sesi PowerShell
Contoh ini mencegah akses jarak jauh ke semua konfigurasi titik akhir sesi PowerShell di komputer.
Disable-PSRemoting
WARNING: PowerShell remoting has been disabled only for PowerShell 6+ configurations and does not affect
Windows PowerShell remoting configurations. Run this cmdlet in Windows PowerShell to affect all PowerShell
remoting configurations.
WARNING: Disabling the session configurations does not undo all the changes made by the Enable-PSRemoting
or Enable-PSSessionConfiguration cmdlet. You might have to manually undo the changes by following these steps:
1. Stop and disable the WinRM service.
2. Delete the listener that accepts requests on any IP address.
3. Disable the firewall exceptions for WS-Management communications.
4. Restore the value of the LocalAccountTokenFilterPolicy to 0, which restricts remote access to
members of the Administrators group on the computer.
Contoh 2: Mencegah akses jarak jauh ke semua konfigurasi sesi PowerShell tanpa permintaan konfirmasi
Contoh ini mencegah akses jarak jauh semua konfigurasi titik akhir sesi PowerShell di komputer tanpa meminta.
Disable-PSRemoting -Force
WARNING: PowerShell remoting has been disabled only for PowerShell 6+ configurations and does not affect
Windows PowerShell remoting configurations. Run this cmdlet in Windows PowerShell to affect all PowerShell
remoting configurations.
WARNING: Disabling the session configurations does not undo all the changes made by the Enable-PSRemoting
or Enable-PSSessionConfiguration cmdlet. You might have to manually undo the changes by following these steps:
1. Stop and disable the WinRM service.
2. Delete the listener that accepts requests on any IP address.
3. Disable the firewall exceptions for WS-Management communications.
4. Restore the value of the LocalAccountTokenFilterPolicy to 0, which restricts remote access to
members of the Administrators group on the computer.
Contoh 3: Efek menjalankan cmdlet ini
Contoh ini menunjukkan efek penggunaan cmdlet Disable-PSRemoting
. Untuk menjalankan urutan perintah ini, mulai PowerShell dengan opsi Jalankan sebagai administrator.
Setelah menonaktifkan konfigurasi sesi, cmdlet New-PSSession
mencoba membuat sesi jarak jauh ke komputer lokal (juga dikenal sebagai "loopback"). Karena akses jarak jauh dinonaktifkan pada komputer lokal, perintah gagal.
Disable-PSRemoting -Force
New-PSSession -ComputerName localhost -ConfigurationName PowerShell.6
WARNING: Disabling the session configurations does not undo all the changes made by the Enable-PSRemoting
or Enable-PSSessionConfiguration cmdlet. You might have to manually undo the changes by following these steps:
1. Stop and disable the WinRM service.
2. Delete the listener that accepts requests on any IP address.
3. Disable the firewall exceptions for WS-Management communications.
4. Restore the value of the LocalAccountTokenFilterPolicy to 0, which restricts remote access to
members of the Administrators group on the computer.
New-PSSession : [localhost] Connecting to remote server localhost failed with the following error
message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ComputerName localhost -ConfigurationName PowerShell.6
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Management.A\u2026tion.RemoteRunspace:RemoteRunspace)
[New-PSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
Contoh 4: Efek menjalankan cmdlet dan Enable-PSRemoting ini
Contoh ini menunjukkan efek pada konfigurasi sesi menggunakan cmdlet Disable-PSRemoting
dan Enable-PSRemoting
.
Disable-PSRemoting
digunakan untuk menonaktifkan akses jarak jauh ke semua konfigurasi titik akhir sesi PowerShell. Parameter Force menekan semua perintah pengguna. Cmdlet Get-PSSessionConfiguration
dan Format-Table
menampilkan konfigurasi sesi di komputer.
Output menunjukkan bahwa semua pengguna jarak jauh dengan token jaringan ditolak akses ke konfigurasi titik akhir. Grup administrator di komputer lokal diizinkan mengakses konfigurasi titik akhir selama mereka terhubung secara lokal (juga dikenal sebagai loopback) dan menggunakan kredensial implisit.
Disable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
Enable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
Name Permission
---- ----------
PowerShell.6 NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed ...
PowerShell.6.2.0 NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed ...
Name Permission
---- ----------
PowerShell.6 NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed ...
PowerShell.6.2.0 NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed ...
cmdlet Enable-PSRemoting
mengaktifkan kembali akses jarak jauh ke semua konfigurasi titik akhir sesi PowerShell di komputer. Parameter Force menekan semua permintaan pengguna dan memulai ulang layanan WinRM tanpa meminta. Output baru menunjukkan bahwa deskriptor keamanan AccessDenied telah dihapus dari semua konfigurasi sesi.
Contoh 5: Koneksi loopback dengan konfigurasi titik akhir sesi yang dinonaktifkan
Contoh ini menunjukkan bagaimana konfigurasi titik akhir dinonaktifkan, dan menunjukkan cara membuat koneksi loopback yang berhasil ke titik akhir yang dinonaktifkan.
Disable-PSRemoting
menonaktifkan semua konfigurasi titik akhir sesi PowerShell.
Disable-PSRemoting -Force
WARNING: PowerShell remoting has been disabled only for PowerShell 6+ configurations and does not affect
Windows PowerShell remoting configurations. Run this cmdlet in Windows PowerShell to affect all PowerShell
remoting configurations.
WARNING: Disabling the session configurations does not undo all the changes made by the Enable-PSRemoting
or Enable-PSSessionConfiguration cmdlet. You might have to manually undo the changes by following these steps:
1. Stop and disable the WinRM service.
2. Delete the listener that accepts requests on any IP address.
3. Disable the firewall exceptions for WS-Management communications.
4. Restore the value of the LocalAccountTokenFilterPolicy to 0, which restricts remote access to
members of the Administrators group on the computer.
New-PSSession -ComputerName localhost -ConfigurationName powershell.6 -Credential (Get-Credential)
PowerShell credential request
Enter your credentials.
User: UserName
Password for user UserName: ************
New-PSSession: [localhost] Connecting to remote server localhost failed with the following error message
: Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
New-PSSession -ComputerName localhost -ConfigurationName powershell.6 -EnableNetworkAccess
Id Name Transport ComputerName ComputerType State ConfigurationName Availability
-- ---- --------- ------------ ------------ ----- ----------------- ------------
1 Runspace1 WSMan localhost RemoteMachine Opened powershell.6 Available
Penggunaan pertama New-PSSession
mencoba membuat sesi jarak jauh ke komputer lokal. Parameter ConfigurationName digunakan untuk menentukan titik akhir PowerShell yang dinonaktifkan. Kredensial secara eksplisit diteruskan ke perintah melalui parameter Kredensial. Jenis koneksi ini melewati tumpukan jaringan dan bukan loopback. Akibatnya, upaya koneksi ke titik akhir yang dinonaktifkan gagal dengan akses ditolak kesalahan.
Penggunaan kedua New-PSSession
juga mencoba membuat sesi jarak jauh ke komputer lokal.
Dalam hal ini, berhasil karena merupakan koneksi loopback yang melewati tumpukan jaringan.
Koneksi loopback dibuat saat kondisi berikut terpenuhi:
- Nama komputer yang akan disambungkan adalah 'localhost'.
- Tidak ada kredensial yang diteruskan. Pengguna yang masuk saat ini (kredensial implisit) digunakan untuk koneksi.
- Parameter sakelar EnableNetworkAccess digunakan.
Untuk informasi selengkapnya tentang koneksi loopback, lihat dokumen New-PSSession.
Contoh 6: Menonaktifkan semua konfigurasi titik akhir jarak jauh PowerShell
Contoh ini menunjukkan bagaimana menjalankan perintah Disable-PSRemoting
tidak memengaruhi konfigurasi titik akhir Windows PowerShell.
Get-PSSessionConfiguration
dijalankan dalam Windows PowerShell memperlihatkan semua konfigurasi titik akhir. Kami melihat bahwa konfigurasi titik akhir Windows PowerShell tidak dinonaktifkan.
Disable-PSRemoting -Force
powershell.exe -Command 'Get-PSSessionConfiguration'
WARNING: PowerShell remoting has been disabled only for PowerShell 6+ configurations and does not affect
Windows PowerShell remoting configurations. Run this cmdlet in Windows PowerShell to affect all PowerShell
remoting configurations.
WARNING: Disabling the session configurations does not undo all the changes made by the Enable-PSRemoting
or Enable-PSSessionConfiguration cmdlet. You might have to manually undo the changes by following these steps:
1. Stop and disable the WinRM service.
2. Delete the listener that accepts requests on any IP address.
3. Disable the firewall exceptions for WS-Management communications.
4. Restore the value of the LocalAccountTokenFilterPolicy to 0, which restricts remote access to
members of the Administrators group on the computer.
Name : microsoft.powershell
PSVersion : 5.1
StartupScript :
RunAsUser :
Permission : NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed, BUILTIN\Remote
Management Users AccessAllowed
Name : microsoft.powershell.workflow
PSVersion : 5.1
StartupScript :
RunAsUser :
Permission : BUILTIN\Administrators AccessAllowed, BUILTIN\Remote Management Users AccessAllowed
Name : microsoft.powershell32
PSVersion : 5.1
StartupScript :
RunAsUser :
Permission : NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed, BUILTIN\Remote
Management Users AccessAllowed
Name : PowerShell.6
PSVersion : 6.2
StartupScript :
RunAsUser :
Permission : NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators
AccessAllowed, BUILTIN\Remote Management Users AccessAllowed
Name : PowerShell.6.2.2
PSVersion : 6.2
StartupScript :
RunAsUser :
Permission : NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators
AccessAllowed, BUILTIN\Remote Management Users AccessAllowed
powershell.exe -Command 'Disable-PSRemoting -Force'
powershell.exe -Command 'Get-PSSessionConfiguration'
WARNING: Disabling the session configurations does not undo all the changes made by the Enable-PSRemoting or
Enable-PSSessionConfiguration cmdlet. You might have to manually undo the changes by following these steps:
1. Stop and disable the WinRM service.
2. Delete the listener that accepts requests on any IP address.
3. Disable the firewall exceptions for WS-Management communications.
4. Restore the value of the LocalAccountTokenFilterPolicy to 0, which restricts remote access to members of the
Administrators group on the computer.
Name : microsoft.powershell
PSVersion : 5.1
StartupScript :
RunAsUser :
Permission : NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators
AccessAllowed, BUILTIN\Remote Management Users AccessAllowed
Name : microsoft.powershell.workflow
PSVersion : 5.1
StartupScript :
RunAsUser :
Permission : NT AUTHORITY\NETWORK AccessDenied, BUILTIN\Administrators AccessAllowed, BUILTIN\Remote Management
Users AccessAllowed
Name : microsoft.powershell32
PSVersion : 5.1
StartupScript :
RunAsUser :
Permission : NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators
AccessAllowed, BUILTIN\Remote Management Users AccessAllowed
Name : PowerShell.6
PSVersion : 6.2
StartupScript :
RunAsUser :
Permission : NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators
AccessAllowed, BUILTIN\Remote Management Users AccessAllowed
Name : PowerShell.6.2.2
PSVersion : 6.2
StartupScript :
RunAsUser :
Permission : NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators
AccessAllowed, BUILTIN\Remote Management Users AccessAllowed
Untuk menonaktifkan konfigurasi titik akhir ini, perintah Disable-PSRemoting
harus dijalankan dari dalam sesi Windows PowerShell. Sekarang, Get-PSSessionConfiguration
dijalankan dari dalam Windows PowerShell menunjukkan bahwa semua konfigurasi titik akhir dinonaktifkan.
Contoh 7: Mencegah akses jarak jauh ke konfigurasi sesi yang memiliki deskriptor keamanan kustom
Contoh ini menunjukkan bahwa cmdlet Disable-PSRemoting
menonaktifkan akses jarak jauh ke semua konfigurasi sesi yang menyertakan konfigurasi sesi dengan deskriptor keamanan kustom.
Register-PSSessionConfiguration
membuat konfigurasi sesi Pengujian. Parameter FilePath menentukan file konfigurasi sesi yang menyesuaikan sesi. Parameter ShowSecurityDescriptorUI menampilkan kotak dialog yang mengatur izin untuk konfigurasi sesi. Dalam kotak dialog Izin, kami membuat izin akses penuh kustom untuk pengguna yang ditunjukkan.
Cmdlet Get-PSSessionConfiguration
dan Format-Table
menampilkan konfigurasi sesi dan propertinya. Output menunjukkan bahwa konfigurasi sesi Pengujian memungkinkan akses interaktif dan izin khusus untuk pengguna yang ditunjukkan.
Disable-PSRemoting
menonaktifkan akses jarak jauh ke semua konfigurasi sesi.
Register-PSSessionConfiguration -Name Test -FilePath .\TestEndpoint.pssc -ShowSecurityDescriptorUI -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Wrap
Disable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Wrap
New-PSSession -ComputerName localhost -ConfigurationName Test
Name Permission
---- ----------
PowerShell.6 NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed,
BUILTIN\Remote Management Users AccessAllowed
PowerShell.6.2.0 NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed,
BUILTIN\Remote Management Users AccessAllowed
Test NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed,
User01 AccessAllowed
WARNING: Disabling the session configurations does not undo all the changes made by the Enable-PSRemoting
or Enable-PSSessionConfiguration cmdlet. You might have to manually undo the changes by following these steps:
1. Stop and disable the WinRM service.
2. Delete the listener that accepts requests on any IP address.
3. Disable the firewall exceptions for WS-Management communications.
4. Restore the value of the LocalAccountTokenFilterPolicy to 0, which restricts remote access to
members of the Administrators group on the computer.
Name Permission
---- ----------
PowerShell.6 NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed,
BUILTIN\Administrators AccessAllowed, BUILTIN\Remote Management Users AccessAllowed
PowerShell.6.2.0 NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed,
BUILTIN\Administrators AccessAllowed, BUILTIN\Remote Management Users AccessAllowed
Test NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed,
BUILTIN\Administrators AccessAllowed, User01 AccessAllowed
New-PSSession : [localhost] Connecting to remote server localhost failed with the following error message
: Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ComputerName localhost -ConfigurationName Test
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Management.A\u2026tion.RemoteRunspace:RemoteRunspace)
[New-PSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
Sekarang cmdlet Get-PSSessionConfiguration
dan Format-Table
menunjukkan bahwa deskriptor keamanan AccessDenied untuk semua pengguna jaringan ditambahkan ke semua konfigurasi sesi, termasuk konfigurasi sesi Uji. Meskipun deskriptor keamanan lainnya tidak diubah, deskriptor keamanan "network_deny_all" lebih diutamakan. Ini diilustrasikan oleh upaya untuk menggunakan New-PSSession
untuk menyambungkan ke konfigurasi sesi Test.
Contoh 8: Mengaktifkan kembali akses jarak jauh ke konfigurasi sesi yang dipilih
Contoh ini menunjukkan cara mengaktifkan kembali akses jarak jauh hanya ke konfigurasi sesi yang dipilih. Setelah menonaktifkan semua konfigurasi sesi, kami mengaktifkan kembali sesi tertentu.
Cmdlet Set-PSSessionConfiguration
digunakan untuk mengubah konfigurasi sesi PowerShell.6. Parameter AccessMode dengan nilai Remote mengaktifkan kembali akses jarak jauh ke konfigurasi.
Disable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
Set-PSSessionConfiguration -Name PowerShell.6 -AccessMode Remote -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
WARNING: Disabling the session configurations does not undo all the changes made by the Enable-PSRemoting
or Enable-PSSessionConfiguration cmdlet. You might have to manually undo the changes by following these steps:
1. Stop and disable the WinRM service.
2. Delete the listener that accepts requests on any IP address.
3. Disable the firewall exceptions for WS-Management communications.
4. Restore the value of the LocalAccountTokenFilterPolicy to 0, which restricts remote access to
members of the Administrators group on the computer.
Name Permission
---- ----------
PowerShell.6 NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Adm ...
PowerShell.6.2.0 NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Adm ...
Name Permission
---- ----------
PowerShell.6 NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed, BUILTIN\ ...
PowerShell.6.2.0 NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Adm ...
Parameter
-Confirm
Meminta konfirmasi sebelum menjalankan cmdlet.
Jenis: | SwitchParameter |
Alias: | cf |
Position: | Named |
Nilai default: | False |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |
-Force
Memaksa perintah untuk dijalankan tanpa meminta konfirmasi pengguna.
Jenis: | SwitchParameter |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |
-WhatIf
Menunjukkan apa yang akan terjadi jika cmdlet berjalan. Cmdlet tidak dijalankan.
Jenis: | SwitchParameter |
Alias: | wi |
Position: | Named |
Nilai default: | False |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |
Input
None
Anda tidak dapat menyalurkan objek ke cmdlet ini.
Output
None
Cmdlet ini tidak mengembalikan output.
Catatan
Cmdlet ini hanya tersedia di platform Windows.
Menonaktifkan konfigurasi sesi tidak membatalkan semua perubahan yang dibuat oleh cmdlet
Enable-PSRemoting
atauEnable-PSSessionConfiguration
. Anda mungkin harus mengurungkan perubahan berikut secara manual.- Hentikan dan nonaktifkan layanan WinRM.
- Hapus pendengar yang menerima permintaan di alamat IP apa pun.
- Nonaktifkan pengecualian firewall untuk komunikasi WS-Management.
- Pulihkan nilai LocalAccountTokenFilterPolicy ke 0, yang membatasi akses jarak jauh ke anggota grup Administrator di komputer.
Konfigurasi titik akhir sesi adalah sekelompok pengaturan yang menentukan lingkungan untuk sesi. Setiap sesi yang tersambung ke komputer harus menggunakan salah satu konfigurasi titik akhir sesi yang terdaftar di komputer. Dengan menolak akses jarak jauh ke semua konfigurasi titik akhir sesi, Anda secara efektif mencegah pengguna jarak jauh membuat sesi yang terhubung ke komputer.