Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Disabling local devices and resources for remote connections

$
0
0

Hello,

How can i disable selected (only for C drive; or only for clipboard and smartcards) or all disks/drives/devices for remote connection using Powershell (V2).

I want to below operation using PS code:

PS: I tried to set below settings but it didn't work. Under "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server":

"fDisableCam",

"fDisableCcm",

"fDisableCdm",

"fDisableClip",

"fDisableCpm",

"fDisableLPT",

"fDisableExe",

"fDisablePNPRedir"

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles