Hello AskPerf Readers. My name is Mick Bailey, and I am a Support Escalation Engineer on the Performance team in Texas. Recently I was working with a customer on an issue concerning print notifications for Windows Vista, and I thought that the information might be useful to some other folks out there.
One of the key pieces to remember about Vista print notifications is that regardless of what is configured on the print server, the setting on the Vista client is the one that will be honored. For example, if you have print notifications turned off on the Windows Vista client but enabled on the print server, then you will not receive print notifications. Conversely, if you enable print notifications on the Windows Vista client, but disable them on the server, then you will receive notifications. To change the setting for print notifications, select the Printers applet in Control Panel, select File –> Server Properties and then select the Advanced tab and change the selections in the “Show informational notifications for local printers” or “Show informational notifications for network printers” to suit your needs":
These settings are also controlled via the registry in the following location: HKEY_CURRENT_USER\Printers\Settings . The two values are:
Neither of the settings exist in the registry by default. When you modify either of the checkboxes above and click on either Apply or OK, the registry values are displayed:
OK, now that we know what we’re setting and where, this is where things get fun. In the specific issue I was working on, the customer was not receiving notifications even though they had the print notification settings listed above enabled. To troubleshoot the problem we captured a Network Monitor trace of the behavior and dug in a little deeper.
Print notifications are found in network traces as RFFPCNEX and NT Create AndX Response traffic. You need to check that this traffic is in the trace and does not have any “Access Denied” errors. RFFPCNEX is related to RpcRemoteFindFirstPrinterChangeNotificationEx for print notification process/communication. This is briefly described in an MSDN Article on Network Monitor . The article indicates that if you see the Access Denied errors in the trace that print notifications are disabled. However, this is actually misleading. If print notifications were disabled, you would not see the RFFPCNEX request in the network trace.
The NT Create AndX Response is related to the communications pipe that the notifications use. Below is a sample of what you might see in a network trace:
We also captured a Process Monitor log on the server and noticed the following:
What this is telling us is that the print server cannot access the communications pipe for the spooler on the client for some file activity - specifically the print notification. It is important to note, that printing itself was not affected, only the notifications. Once we discovered this information, the fix itself was relatively simple. On the Vista Client, we needed to modify the following Multi-string registry value: HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\NullSessionPipes . We double-clicked on the value, and added a new entry as shown below:
When editing Multi-String values it is important to ensure that you do not have any trailing spaces, or additional carriage returns. Once we performed this step on the Windows Vista machine, print notifications worked fine. One thing to note here - this registry modification is not required by default to allow print notifications to work. A number of factors may result in requiring this change on the client - for example, the client and server might be in different domains, or the client may have had extensive security changes applied.
OK, that’s all for this post. Thanks for stopping by and have a great weekend!
- Mick Bailey
|Share this post :||
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.