0

I have 10 computers (Windows 10, workgroup), 1 server (Windows server 2016, workgroup), 1 printer.

The server share the printer and a folder. The server is able to print. The server allow anonymous guest.

Clients have a local account "student" with no password. I can add the printer (\\server\\printer) and access to the shared folder (\\server\\folder). The printer Security tab show "Everyone" can print. Reboot change nothing.

First scenario: Add print job on client stuck in print queue as "Access denied", and invisible from the server. The owner of the print job is student. Adding a file in the shared folder : the owner is server\Guest user.

Second scenario: I create a local account on the server with password, and made a script :

net use \\server\folder password /user:localaccount
net use \\server\printer

If \\server\\folder was not acceded as guest, the script works (avoid Multiple connections to a server or shared resource by the same user).

Add print job on client stuck in print queue as "Access denied", and invisible from the server. The owner of the print job is student. Adding a file in the shared folder : the owner is server\localaccount user. Security EventLog is not relevant.

Third scenario: Disable Guest access (secpol/Templates/Network/Lanman workstation/Enable inscure guest logons set to Not configured). Login to \\server\printer as localaccount. I cannot add the printer with non admin local account (error 0x00000005). I can add the printer with local admin account but the job disappear immediately with error 812 on Operational PrintService EventLog.

I didn't remember every actions I made (enable Guest account, change registry keys, change secpol.msc...)

If anyone have an idea...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.