The ws command (for Window Station) displays the name of the current workstation or desktop. This command can be used to generate an object-name argument for chacl command when changing the Access Control Lists on remote window stations using facilities such as telnet.
If no options are specified, ws returns the name of the current windowstation. If you are logged onto the console, this is always
returns the current desktop name. If you are logged onto the console, and are not using a desktop switcher, this option always returns
To give permissions for user to access your window station and desktop, use the following command:
chacl -t w -g user:f $(ws) $(ws)/$(ws -d)
Possible exit status values are:
Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.1 patch 1 Documentation Build 2.