[Samba] Win11 22H2 and Point'n'Print status...

Marco Gaiarin gaio at lilliput.linux.it
Tue May 14 13:51:01 UTC 2024


I'm still using Point'n'Print, but now i'm introducing some Win11 22H2
computer, having many trouble.


After the last security patchs, installing drivers was a nightmare, so i'm
currently using other mean (normally, WPKG) to deploy printer driver to PC,
and using Point'n'Print for printer management and configuration.


But in windows 11 printers does not install, and if installed (because the
user came from an Win10 profile), they appear 'half installed': application
see them, while printer control panel not, but does NOT work anyway (no,
settings, no printing).

If i try to install the printer, i catch this error:

	Windows cannot connect to the printer. Check the printer name and try again. If this is a network printer, make sure that the printer is turned on and that the printer address is correct.


Seems not a driver problem; i can install drivers and connect printers to
the IPP cups queue, and work; unfortunately, some printer require some
particular configuration and i cannot do by hand for 200+ users.


I've trying to google for, finding these:

	https://www.techrepublic.com/article/how-to-fix-printer-connection/
	https://support.microsoft.com/en-us/topic/managing-deployment-of-printer-rpc-binding-changes-for-cve-2021-1678-kb4599464-12a69652-30b9-3d61-d9f7-7201623a8b25

but setting the specified registry keys does not solve.


To set/solve previous issue i do (in Win7, 10 and 11):

	<install cmd='reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /f /v "Restricted" /t REG_DWORD /d "1"' />
        <install cmd='reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /f /v "InForest" /t REG_DWORD /d "1"' />
        <install cmd='reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /f /v "NoWarningNoElevationOnInstall" /t REG_DWORD /d "0"' />
        <install cmd='reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /f /v "UpdatePromptSettings" /t REG_DWORD /d "0"' />
        <install cmd='reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers" /f /v "ForceCSREMFDespooling" /t REG_DWORD /d "0"' />
        <install cmd='reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverInstall\Restrictions" /f /v "AllowUserDeviceClasses" /t REG_DWORD /d "1"' />
        <install cmd='reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverInstall\Restrictions\AllowUserDeviceClasses" /f /v "1" /t REG_SZ /d "{4658ee7e-f050-11d1-b6bd-00c04fa372a7}"' />
        <install cmd='reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverInstall\Restrictions\AllowUserDeviceClasses" /f /v "2" /t REG_SZ /d "{4d36e979-e325-11ce-bfc1-08002be10318}"' />

and specifically for win10 and 11:

        <install cmd='reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /f /v "RestrictDriverInstallationToAdministrators" /t REG_DWORD /d "0"' />
        <install cmd='reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers" /f /v "CopyFilesPolicy" /t REG_DWORD /d "1"' />


I've tried some info on windows event viewer and on samba logs, but there's
nothing, no error, warnings, whatsoever...

There's something i can do? Someone have dome document to point on?


Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)





More information about the samba mailing list