跳到主要內容

發表文章

目前顯示的是 5月, 2022的文章

透過 GPO「使用者」部署印表機失敗 (2021/08)

KB5005652—Manage new Point and Print default driver installation behavior (CVE-2021-34481) KB5005010: Restricting installation of new printer drivers after applying the July 6, 2021 updates Ref:  Printer deployment via Group Policy - Not working!   Ref:  Windows failed to apply the Deployed Printer Connections settings. Ref:  Allow Non-administrators to Install Printer Drivers via GPO Ref:  Windows failed to apply the Deployed Printer Connections settings 2021/08/10 KB5005652 為解決 微軟 Printer 相關服務的漏洞,改變了 Point and Print 的預設權限原則。這導致透過 GPO 派送共用印表機給『使用者』會失敗(派送給『電腦』不影響)。 HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint\RestrictDriverInstallationToAdministrators 失敗原因:上面的機碼預設值為1,表示只允許有印表機管理權限才能安裝 『Point and Print』類的共用印表機。 解決方法: 改用『電腦原則』方式派送印表機 將 「RestrictDriverInstallationToAdministrators」設為0 此方法會有安全問題,微軟建議搭配以下兩個GPO設定,以限制使用者被允許的共用印表機伺服器: KB5005652 KB5005010

Create NIC Team(LBFO) of VMSwitch by PowerShell after Windows Server 2016 on Hyper-V

Switch Embedded Teaming (SET) Should replace  the NIC Team(LBFO) after Windows Server 2016 on Hyper-V  Ref:  Windows Server 2016 攻略 (七) - 新世代虛擬網路交換器 SET ( Switch Embedded Teaming ) Windows 2016 以後,Hyper-V VMSwitch 預設不支持 NIC Team (LBFO),需使用 command 方式才可使用。主要原因是 NIC Team 不支援 RDMA(RoCE)、SR-IOV 範例如下: New-VMSwitch -Name VMInterfaceName -NetAdapterName NICTeamName -AllowNetLbfoTeams 1 取代的技術稱為 Switch Embedded Teaming (SET)