To enable the quota you just set, type WMIC
QuotaSetting Where Caption="C:" SET State=1 and press Enter. If you also want to deny
disk space to users who exceed their quota, you can set the State to 2. Combine this alias with the
DiskQuota alias to create a complete disk quota solution.
RDAccount Manages the accounts that can access a server using Remote Desktop. This alias
assumes that the Remote Desktop Listener is active (see the RDToggle alias for details). You need
not add users to the account listing to see some users have access by default. Type WMIC
RDAccount GET AccountName, press Enter, and you??™ll see this list of standard users.
? BUILTIN\Administrators
? NT AUTHORITY\LOCAL SERVICE
? NT AUTHORITY\NETWORK SERVICE
CONFIGURING SERVER CORE USING THE WMIC COMMAND 53
? NT AUTHORITY\SYSTEM
? BUILTIN\Remote Desktop Users
Remote access actually depends on two features, the account name and the terminal name (console
or Remote Desktop Protocol-Transmission Control Protocol, RDP-TCP, in most cases). To
remove a user from the list, you must include both the account name and the terminal name
to ensure you delete the right account.
Pages:
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195