18.2.  Frequently Asked Questions for Windows

Q:.

Where can I find useful information about Windows Terminal Server?

A:.

Take a look at:

Q:.

All users can shutdown the server! How do I prevent this?

A:.

Select Start->Settings->Control Panel->Administrative Tools->Local Security Policy . Select Local Policies->User Rights Assignments->Shut down the system . Make sure only administrators are listed under this option.

Q:.

Windows says Logon locally not permitted . How can I fix this?

A:.

Change the setting Log on locally (and possibly Deny logon locally ) either in Local Security Policy, Security Policies for Domain or Security Policies for Domain Controller.

Q:.

IE flickers. How can I fix this?

A:.

In the IE->Tools->Internet Options->Advanced tab you can find a setting called Force offscreen compositing even under Terminal Server (requires restart) , make sure this is checked, and if it already is, uncheck and press Apply and check it again and press Ok . You don't have to restart IE for this to apply, even if it says so.

Q:.

How can I hide some of the servers drive letters?

A:.

This can be set via the registry. Create a NoDrives value with the type REG_DWORD under the key HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer . You can find the correct values at http://www.cse.bris.ac.uk/~ccmpr/nodrives.html.

Q:.

How can I set the license server that TermService will use?

A:.

This can be set via the registry. Create a DefaultLicenseServer value with the type REG_SZ under the key HKLM\SYSTEM\CurrentControlSet\Services\TermService\Parameters . For the value, specify the name (must be resolvable by DNS or WINS) of your selected license server.

Q:.

How can I set a machine-wide IE proxy setting?

A:.

Start->Run->gpedit.msc->User Configuration->Windows settings>Internet Explorer Maintenance->Connections->Proxy settings.

Q:.

How can I disable the screensaver, machine-wide?

A:.

Go to: Start->Run->gpedit.msc->User Configuration->Windows settings->Administrative templates->Control Panel->Screen. Activate "Hide screensaver tab". Deactivate "Activate Screensaver".

Q:.

How can I set the default printer, for all users?

A:.

Create %systemroot%\userlogn1.cmd, with:

rundll32 printui.dll,PrintUIEntry /y /n \\myprintserver\myprinter

If you are using IPP printers, the syntax is:

rundll32 printui.dll,PrintUIEntry /y /n \\http://my.ip.or.hostname:631\myprinter

Q:.

How can I set the default paper size, for all users?

A:.

Set the paper size via the control panel. Save the settings to a file, with this command:

  rundll32 printui.dll,PrintUIEntry /Ss /n \\myprintserver\myprinter /a somefile.dat u

Add to %systemroot%\userlogn1.cmd:

  rundll32 printui.dll,PrintUI /Sr /n \\myprintserver\myprinter /a somefile.dat u

Q:.

Terminal Services stops working. The Event Viewer says:

Event ID 201 , Source: LicenseService
No license was available for user SYSTEM using product TermService 5.0

What's wrong?

A:.

Change license mode of the server from "Per Server" to "Per Seat".