-
Notifications
You must be signed in to change notification settings - Fork 82
RemoteDesktopAdmin
dscbot edited this page Dec 11, 2022
·
5 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
IsSingleInstance | Key | String | Specifies the resource is a single instance, the value must be 'Yes' | Yes |
Ensure | Write | String | Determines whether or not the computer should accept remote desktop connections. Present sets the value to Enabled and Absent sets the value to Disabled. |
Present , Absent
|
UserAuthentication | Write | String | Setting this value to Secure configures the machine to require Network Level Authentication (NLA) for remote desktop connections. |
Secure , NonSecure
|
This resource will manage the remote desktop administration settings on a computer. This includes whether remote desktop connections are allowed or denied and whether network level authentication is required.
This configuration will enable Remote Desktop for Administration and set the User Authentication to secure, i.e. to require Network Level Authentication
Configuration RemoteDesktopAdmin_SetSecureRemoteDesktopAdmin_Config
{
Import-DscResource -Module ComputerManagementDsc
Node ('localhost')
{
RemoteDesktopAdmin RemoteDesktopSettings
{
IsSingleInstance = 'yes'
Ensure = 'Present'
UserAuthentication = 'Secure'
}
}
}
- Computer
- IEEnhancedSecurityConfiguration
- OfflineDomainJoin
- PendingReboot
- PowerPlan
- PowerShellExecutionPolicy
- PSResourceRepository
- RemoteDesktopAdmin
- ScheduledTask
- SmbServerConfiguration
- SmbShare
- SystemLocale
- SystemProtection
- SystemRestorePoint
- TimeZone
- UserAccountControl
- VirtualMemory
- WindowsCapability
- WindowsEventLog