


To revert the permissions back to the default permissions, specify the relevant terminal name. PATH WIN32_TSPermissionsSetting.TerminalName="Console" call AddAccount "Domain\user",X To change permissions for the console session, change the terminal name to Console instead of to RDP-Tcp. For local accounts, replace Domain\User with only User, where User is a local account on the computer on which you're running the command.

This article assumes that you're familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Which includes, but isn't limited to, the implied warranties of merchantability or fitness for a particular purpose. Microsoft provides programming examples for illustration only, without warranty either expressed or implied. To change permissions for the console session (session zero), you must use the WMI methods below, and specify Console instead of RDP-Tcp for the terminal name. You can't use the GUI to configure permissions to sign in to the console session with RDP.
