Jump to content
Welcome to our new Citrix community!
  • 0

WEM - Printer Connection Failed during first process


Basile Swagemakers

Question

I'm using WEM 1808.0.1.1 on Windows 10.

When starting a session, the default Printer is not applied during WEM parameters execution. 

 

When I say "default printer" I mean the printer that the users have choosed during the last session. They are able to manage printers, so I let user the possibility the choose the printer they want to use as default.

 

So during the windows session login the printer process failed, but If I wait a little bit and refresh the WEM/Norskale parameter then the printer apply correctly. 

I've checked the logs, and her is what I see on the logs. (I have 2 network printers call FollowMe_COL (the default one) and FollowMe_NB)

 

First application - during session login:

 

10:25:57 Event -> VuemPrinterExecutor.ExecuteAssociatedTaskMethod() : Printer -> FollowMe_NB (Id:7) -> Processing Action Type 0...

10:25:57 Event -> VuemPrinterExecutor.CheckPrintServerConnection() : Printer -> FollowMe_COL (Id:8) -> Starting Printer Connection Test...
10:25:57 Event -> VuemPrinterExecutor.CheckPrintServerConnection() : Printer -> FollowMe_NB (Id:7) -> Starting Printer Connection Test...
10:25:57 Event -> VuemPrinterExecutor.ProcessNetworkPrinterConnection() : Printer -> FollowMe_NB (Id:7) ->  Starting Network Printer Connection...
10:25:57 Event -> VuemPrinterExecutor.ProcessNetworkPrinterConnection() : Printer -> FollowMe_COL (Id:8) ->  Starting Network Printer Connection...
10:25:57 Exception -> VuemPrinterExecutor.ExecuteConnectNetworkPrinter() : Printer -> FollowMe_NB (Id:7) -> Printer Connection Failed -> Exiting
10:25:57 Exception -> VuemPrinterExecutor.ProcessSelfHealing() : Printer Self Healing Processing : Error returned during Healing Process -> FollowMe_NB (Id:7)
10:25:57 Event -> VuemFilterController.GetFilterRuleState() : Now Starting Filter Rule Processing -> Filter Rule Id : 1
10:25:57 Event -> VuemFilterController.GetFilterRuleState() : Default 'Always True' Filter Rule (Id:1) Detected -> Returning True Value
10:25:57 Event -> VuemPrinterExecutor.CheckExecCacheState() : Printer -> FollowMe_NB (Id:7) -> Action already processed -> returning true
10:25:57 Exception -> VuemPrinterExecutor.ExecuteConnectNetworkPrinter() : Printer -> FollowMe_COL (Id:8) -> Printer Connection Failed -> Exiting
10:25:57 Exception -> VuemPrinterExecutor.ProcessSelfHealing() : Printer Self Healing Processing : Error returned during Healing Process -> FollowMe_COL (Id:8)
10:25:57 Event -> VuemFilterController.GetFilterRuleState() : Now Starting Filter Rule Processing -> Filter Rule Id : 1
10:25:57 Event -> VuemFilterController.GetFilterRuleState() : Default 'Always True' Filter Rule (Id:1) Detected -> Returning True Value
10:25:57 Event -> VuemPrinterExecutor.CheckExecCacheState() : Printer -> FollowMe_COL (Id:8) -> Action already processed -> returning true
10:25:57 Event -> VuemPrinterController.ProcessActionRelatedRefresh() : Printer Processing: No Refresh required -> Exiting
10:25:57 Event -> PrintersSelfServiceController.SetUserManagedDefaultPrinter() : Starting User Managed Default Printer Processing...
10:25:57 Event -> PrintersSelfServiceController.GetUserSelectedDefaultPrinter() : Retrieved UserSelectedDefaultPrinter Value -> \\svrfwm03\FollowMe_COL
10:25:57 Event -> PrintersSelfServiceController.SetUserDefaultPrinter() : Setting Printer as Default -> \\svrfwm03\FollowMe_COL
10:25:57 Exception -> PrintersSelfServiceController.SetUserDefaultPrinter() : Printer -> \\svrfwm03\FollowMe_COL -> Default Printer Mapping Failed
10:25:57 Warning -> PrintersSelfServiceController.SetUserManagedDefaultPrinter() : Error While Adjusting User Default Printer

10:25:57 Event -> VuemExternalTaskController.ProcessSingleEntityTask() : External Task -> OFAC2017 found for Item: Everyone (S-1-1-0)
10:25:57 Event -> VuemExternalTaskExecutor.ProcessAssociatedTaskMethod() : Processing External Task -> OFAC2017 (Id:9)
10:25:57 Event -> VuemFilterController.GetFilterRuleState() : Now Starting Filter Rule Processing -> Filter Rule Id : 1
10:25:57 Event -> VuemFilterController.GetFilterRuleState() : Default 'Always True' Filter Rule (Id:1) Detected -> Returning True Value

 

And then if I check my default printer, the one that I want (FollowMe_COL) is not set as default.

 

Refresh manually WEM, after a small delay:

 

10:26:56 Event -> VuemFilterController.GetFilterRuleState() : Default 'Always True' Filter Rule (Id:1) Detected -> Returning True Value
10:26:56 Event -> VuemPrinterExecutor.CheckExecCacheState() : Printer -> FollowMe_COL (Id:8) -> Action already processed -> returning true
10:26:56 Event -> MainController.ProcessFileSystemOperations() : FileSystem Operations Processing -> Disabled
10:26:56 Event -> VuemFilterController.GetFilterRuleState() : Now Starting Filter Rule Processing -> Filter Rule Id : 1
10:26:56 Event -> VuemFilterController.GetFilterRuleState() : Default 'Always True' Filter Rule (Id:1) Detected -> Returning True Value
10:26:56 Event -> VuemPrinterExecutor.CheckExecCacheState() : Printer -> FollowMe_NB (Id:7) -> Action already processed -> returning true
10:26:56 Event -> VuemPrinterController.ProcessActionRelatedRefresh() : Printer Processing: No Refresh required -> Exiting
10:26:56 Event -> PrintersSelfServiceController.SetUserManagedDefaultPrinter() : Starting User Managed Default Printer Processing...
10:26:56 Event -> PrintersSelfServiceController.GetUserSelectedDefaultPrinter() : Retrieved UserSelectedDefaultPrinter Value -> \\svrfwm03\FollowMe_COL
10:26:56 Event -> PrintersSelfServiceController.SetUserDefaultPrinter() : Setting Printer as Default -> \\svrfwm03\FollowMe_COL
10:26:56 Event -> MainController.ProcessIniFileOperations() : Starting Ini Files Operations Processing...
10:26:56 Event -> VuemIniFileOperationController.ProcessEntityWorkingSetUpdate() : No Working Set Update Detected for Ini File Operations Processing or Revert Disabled

 

Supposition:

It seem that for some reason the printers are not available when WEM/norskale try to link them and set it as default.

To try solving this problem, I was looking for a why to delay the printer settings process. I've try the "Async Printers Processing" possibility with WEM, but it changed nothing to my problem.

 

Have you any Idea how I could solve it? And make my default printer preference apply?

 

Thanks for you help

 

Link to comment

3 answers to this question

Recommended Posts

  • 0

We have the same issue, I would love to hear if you found a solution.

 

During the first process on login, the printer is not listed in registry:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Devices

 

After a refresh the printer appears in registry.

 

I have tried with delaying the agent launch with 1000ms upto 20000 ms, and allowed a longer response time for network resources (upto 10000ms)

This didn't change anything.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...