ICM Terminalserver all User maust use printer from last login / ICM not work on new clients

Hello,

We use iprint Appliance 24.4 and actually have 2 problems.

On terminal servers, user printers are set to be used, but the last user who logs in always overwrites the printers of all other users on the terminal server. The terminal server is a Windows Server 2019 (current patch level).

2. Problem, on newly installed clients, ICM does not work, there is always the message that ICM is not confgured. If the same user logs in on a PC that has been in operation for a long time, ICM works.

Perhaps both problems are related, as both are ICM problems. Therefore, I summarize them here.

Tags:

  • Suggested Answer

    0  

    You did not mention the iPrint client version but i'll assume you're running the latest 6.25

    Regarding your issues:

    1. Depending what type of printer drivers are you using. v3 or v4, you have to configure it in a different way. It looks like you have configured ICM for the wrong driver type.

    - For drivers version v3:

    https://support.microfocus.com/kb/doc.php?id=7016874

    - for drivers version v4:

    support.microfocus.com/.../doc.php

    2. Normally this error is coming because the attributes rights are not properly set or the -S switch on the windows machine is not set to the appliance ip. 

    - To set the attribute properly see:

    https://www.microfocus.com/documentation/iprint/iprint-24.4/iprint_admin/printer_config.html#bx64k3t

    Section: To configure the iCM attributes:

    - To set the -S switch:

    You must set the iPrint Appliance address set as the primary PSM address on the client by using the command iprntcmd -S <iPrintAppliance IP Address>.

  • 0 in reply to   
    The first problem with the terminal servers has been solved, there were no more complaints and everything was good in our tests.
    
    But the second problem still exists.
    
    The -S switch was already set (with IP address and name) it doesn't matter, the same message always comes up.
    
    Everything still works on clients that we reinstalled about six months ago (including Windows 11), but not on newly installed clients. We've already tried old iPrint clients from our inventory, but that didn't help either.
    
    
  • Suggested Answer

    0   in reply to 

    1. Can you confirm that the correct rights has been assigned as mentioned in the docs?:
    https://www.microfocus.com/documentation/iprint/iprint-24.4/iprint_admin/printer_config.html#bx64k3t

    2. If you're using win 11 24h2, apply this document:

    https://portal.microfocus.com/s/article/KM000037119

    3. Disable the firewall for testing proposes

    4. If you still have the same error, enable ipptrace following this doc:

    https://support.microfocus.com/kb/doc.php?id=7007023

    then in iManager, iPrint client management, select the object you're using to delivers the printers, advanced settings, and check this two boxes:

    Display iCM results in a dialog box on workstations.
     Printer Configuration
     Client Configuration

    Restart and duplicate the error. When coming, take a screenshot and zip the c:/ndsp directory. Send it to me along with the user name and at what day/time you tried.

    Also at appliance console type:

    zypper in -f supportutils-plugin-iprint

    this will install latest plug in, then type:

    iPrintInfo -b

    authenticate using admin.iprintapplaince

    Send me as well the new generated txt file

    Verify as well
    HKEY_LOCAL_MACHINE\SOFTWARE\Novell-iPrint\Settings, DirServerAddressForiCM and PrimaryPSMAddress show the appliance ip.

    You may want to open a cmd promt as administrator and type:

    IPRNTCFG ICM

    See in the ICM tab is if it is enable. If not, enable it, check that ip address is correct and save it. Then on iPrint client icon chose "refresh ICM" and see if you get any errors

  • 0 in reply to   
    Hello,
    
    1. The permissions are correct
    
    2. We are still using Windows 11 23H2 because 24H2 is too buggy
    
    3. no change by deactivating the firewall
    
    4. I had already activated ipptrace. I have done the remaining steps, the registry entry is correct.
    With iprntcfg ICM the window opens, the server IP is correct and ICM update is activated
    
    IppErrs.txt from the NDPS directory has the following content
    20.01.2025 - 08:55:33
        Module:     iprntctl.exe
        Trace Info: g:\jenkins\workspace\iprint-windows-client-trunk\iprintwindowsclient\nipplib.dll\src\ippattr.c, line 274, thread 00002BE8
        Routine:    Request (SERVER_ERROR) - bad status code (1282)
        Error:      iPrint-Drucker - Der Drucker steht zurzeit nicht zur Verfügung. --> means iPrint Printer - The printer is currently unavailable.


    20.01.2025 - 08:55:33
        Module:     iprntctl.exe
        Trace Info: g:\jenkins\workspace\iprint-windows-client-trunk\iprintwindowsclient\nipplib.dll\src\registry.c, line 1542, thread 00002BE8
        Routine:    Request (SERVER_ERROR) - bad status code (1282)
        Error:      iPrint-Drucker - Der Drucker steht zurzeit nicht zur Verfügung. --> means iPrint Printer - The printer is currently unavailable.


    20.01.2025 - 08:55:34
        Module:     iprntctl.exe
        Trace Info: g:\jenkins\workspace\iprint-windows-client-trunk\iprintwindowsclient\nipplib.dll\src\auth.c, line 5211, thread 00002BE8
        Routine:    AddWindowsLoginEntry - ICS_GetCredentialA failed
        Error:      Element nicht gefunden. --> means Item not found


    The user on the PC is not Jenkins, but Landrich
  • 0   in reply to 

    ICS_GetCredentialA failed

    Can you unload the firewall on the appliance and then hit the refresh icm menu on the client?

  • 0 in reply to   

    Unfortunately no change either, I deactivated the firewall on the client and the appliance.

    The same 3 entries are in the error log

    Same user on another PC, works.

  • 0   in reply to 

    either is the iprintcfg ICM not been enforced on this PC or it lies on a different subnet or something is stopping to connect to the appliance or Pc has multiple nics and request is being sent to the wrong one, etc.....

    you may want to install wireshark on the pc, check that iprintcfg ICM shows the correct entry, start capturing with wireshark, click "refresh icm" and when you get the error stop capturing. Then we need to examine the lan trace and the ipptrace so see if request was sent to the appliance or request did not hit the appliance. 

    You may want to open  case if you want this data to be analyzed. 

  • 0   in reply to   

    I was able to duplicate it when appliance firewall is active.

    Can you test it in this way:

    1. stop firewall on appliance:

    systemctl stop firewalld.service

    2. On the windows pc, open regedit and check that:

    HKEY_LOCAL_MACHINE\SOFTWARE\Novell-iPrint\Settings:

    - iCMEnabled entry has a value of 1 (hex). If not, change it to 1 (hex)

    - PrimaryPSMAddress has the appliance ip address.

    3. Exit reg editor and use the "refresh icm" button. do you still get the same error?

    I'll open a defect as firewall is missing some exceptions for icm to work properly

  • 0 in reply to   
    Still the same problem.
    
    The registry entries were correct, I didn't have to change anything.
    
    I have already restarted the client and later the appliance, both without success.
    
    I just don't understand it. If I take an existing client on which ICM works and completely renew it, ICM suddenly no longer works. It doesn't matter whether Windows 11 or Windows 10 was previously on the client.
  • 0   in reply to 

    Once icm is active, it keep it this way. But if icm is removed and needs to contact with appliance again to check if icm is enable and it can not, you'll see this issue.

    Still a lan trace may show why it can not connect with the appliance