Friday, July 24, 2009

Why do you need to reboot after installing UniPrint Server?

After you install UniPrint Server, you need to reboot the system in order for it to take effect. But you don’t need to restart the system with Spool Server or Print Server. Why?

When you connect to the UniPrint Server through a remote session, for example, through Microsoft Terminal Services (MS TS) RDP or Citrix ICA connections, the UniPrint program LogScript (LogScrpt.exe) has to be launched to establish virtual channel.

When MS TS starts, it automatically launches all programs listed in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\StartupPrograms

The regkey StartupPrograms contains startup programs separated by commas. There should be at least one program there, and it’s rdpclip. After installing UniPrint Server, it should also contain LogScrpt.

The program rdpclip.exe is a Microsoft program used by TS. This program resides in %windir%\System32 (usually it’s C:\WINDOWS\System32), so it should not be a problem for Windows to find this program.

On the other hand, the LogScript program (LogScrpt.exe) resides usually in C:\Program Files\UniPrint Suite\Common Files. But how does Windows know where to find it?

One of the ways that Windows finds a program is to look at the environment variable PATH in the system table, which contains a list of paths for finding programs separated by semi-colons. A typical PATH, after installing UniPrint Server, may look like this:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\UniPrint Suite\Common Files

Since PATH is a system level environment variable, its content is set only at system startup. Any changes to its content after system startup won’t take effect. For the changes to take effect, one has to simply reboot the machine.


Click here to see a complete list of articles


To contact us: uniprint.user@gmail.com.

 


No comments:

Post a Comment