The Print Spooler is an old service enabled by default, even with the latest Windows Desktop and Servers versions. The service became a popular attack vector when in 2018, Lee Christensen found the PrinterBug.
The functions RpcRemoteFindFirstPrinterChangeNotification and RpcRemoteFindFirstPrinterChangeNotificationEx can be abused to force a remote machine to perform a connection to any other machine it can reach. Moreover, the reverse connection will carry authentication information as a TGT. Therefore, any domain user can coerce RemoteServer$ to authenticate to any machine. Microsoft's stance on the PrinterBug was that it will not be fixed, as the issue is "by-design".
Im trying to configure the NTLMRelayx to forward any connections to DC2 and attempt to perform the DCSync attack
Login as kali via ssh then inout the ntlmrelay x command

Next, we trigger the PrinterBug using the Kali box with NTLMRelayx listening. To initiate the connection back, we use Dementor. Any authenticated user credentials are required when running from a non-domain joined machine. In this case, we assumed we had previously compromised Bob.

We will generated a kerberos key for the administrator

This scenario happens from relaying the connection to configure Resource-Based Kerberos Delegation for the relayed machine, which can then be abused to authenticate as any Administrator to that machine.
To prevent the abuse of the PrinterBug while keeping the service running, you can disable the registry key RegisterSpoolerRemoteRpcEndPoint. When this key is disabled, any incoming remote requests will be blocked, effectively disabling the service for remote clients. Setting the registry key to 1 enables it, while setting it to 2 disables it.

Hence when we perform the same attack, it will generate this error
