Restore “manage this printer” permissions in windows












0















I screwed up and got myself locked out from managing some of my printers on windows server 2012.



I removed the "manage this printer" persmission from all accounts, but accidentally included my administrator account. So now I cannot add or remove permissions with any account at all. I cannot remove the printer either.



So the question is what could I do to restore such permissions, my guess is that I would have to either use an elevated cmd to add permissions through some command or to manually overwrite the registry with valid permissions.



I thought that maybe overwritting the binary blob at the Security key in:



[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPrintPrintersMyPrinterName]


would do the trick, but not sure if that's enough, I don't like messing about the registry because you can never be absolutely sure you've adjusted everything you need so a command would be much better.



Since it is a Windows server version there's no system restore available, and the latest system state backup is no good because it had the issue already.



I have been able to workaround the problem by creating a new printer using the same port, but I would really like to remove the old faulty ones, for that I need the manage permissions.



I guess that removing the printer from the registry should also do the trick, but this seemed like a perfect opportunitty to learn.










share|improve this question























  • Unless you explicitly set deny rights, you should be able to add the rights back by using an administrator account the same way you removed them. Just because you don't have the rights to manage the printer doesn't mean you also don't have the rights to change its permissions. If that really doesn't work, see if you can somehow push the rights from a higher level.

    – LPChip
    Jan 24 at 18:42











  • when your user or user group is not in the list under the security tab, the option to add or delete is disabled, advanced options however is enabled, which is how I recovered ownership of the printer and set the permissions back.

    – Luis Esparza LeedMx
    Jan 24 at 21:54
















0















I screwed up and got myself locked out from managing some of my printers on windows server 2012.



I removed the "manage this printer" persmission from all accounts, but accidentally included my administrator account. So now I cannot add or remove permissions with any account at all. I cannot remove the printer either.



So the question is what could I do to restore such permissions, my guess is that I would have to either use an elevated cmd to add permissions through some command or to manually overwrite the registry with valid permissions.



I thought that maybe overwritting the binary blob at the Security key in:



[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPrintPrintersMyPrinterName]


would do the trick, but not sure if that's enough, I don't like messing about the registry because you can never be absolutely sure you've adjusted everything you need so a command would be much better.



Since it is a Windows server version there's no system restore available, and the latest system state backup is no good because it had the issue already.



I have been able to workaround the problem by creating a new printer using the same port, but I would really like to remove the old faulty ones, for that I need the manage permissions.



I guess that removing the printer from the registry should also do the trick, but this seemed like a perfect opportunitty to learn.










share|improve this question























  • Unless you explicitly set deny rights, you should be able to add the rights back by using an administrator account the same way you removed them. Just because you don't have the rights to manage the printer doesn't mean you also don't have the rights to change its permissions. If that really doesn't work, see if you can somehow push the rights from a higher level.

    – LPChip
    Jan 24 at 18:42











  • when your user or user group is not in the list under the security tab, the option to add or delete is disabled, advanced options however is enabled, which is how I recovered ownership of the printer and set the permissions back.

    – Luis Esparza LeedMx
    Jan 24 at 21:54














0












0








0








I screwed up and got myself locked out from managing some of my printers on windows server 2012.



I removed the "manage this printer" persmission from all accounts, but accidentally included my administrator account. So now I cannot add or remove permissions with any account at all. I cannot remove the printer either.



So the question is what could I do to restore such permissions, my guess is that I would have to either use an elevated cmd to add permissions through some command or to manually overwrite the registry with valid permissions.



I thought that maybe overwritting the binary blob at the Security key in:



[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPrintPrintersMyPrinterName]


would do the trick, but not sure if that's enough, I don't like messing about the registry because you can never be absolutely sure you've adjusted everything you need so a command would be much better.



Since it is a Windows server version there's no system restore available, and the latest system state backup is no good because it had the issue already.



I have been able to workaround the problem by creating a new printer using the same port, but I would really like to remove the old faulty ones, for that I need the manage permissions.



I guess that removing the printer from the registry should also do the trick, but this seemed like a perfect opportunitty to learn.










share|improve this question














I screwed up and got myself locked out from managing some of my printers on windows server 2012.



I removed the "manage this printer" persmission from all accounts, but accidentally included my administrator account. So now I cannot add or remove permissions with any account at all. I cannot remove the printer either.



So the question is what could I do to restore such permissions, my guess is that I would have to either use an elevated cmd to add permissions through some command or to manually overwrite the registry with valid permissions.



I thought that maybe overwritting the binary blob at the Security key in:



[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPrintPrintersMyPrinterName]


would do the trick, but not sure if that's enough, I don't like messing about the registry because you can never be absolutely sure you've adjusted everything you need so a command would be much better.



Since it is a Windows server version there's no system restore available, and the latest system state backup is no good because it had the issue already.



I have been able to workaround the problem by creating a new printer using the same port, but I would really like to remove the old faulty ones, for that I need the manage permissions.



I guess that removing the printer from the registry should also do the trick, but this seemed like a perfect opportunitty to learn.







windows permissions printer






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 24 at 17:28









Luis Esparza LeedMxLuis Esparza LeedMx

478




478













  • Unless you explicitly set deny rights, you should be able to add the rights back by using an administrator account the same way you removed them. Just because you don't have the rights to manage the printer doesn't mean you also don't have the rights to change its permissions. If that really doesn't work, see if you can somehow push the rights from a higher level.

    – LPChip
    Jan 24 at 18:42











  • when your user or user group is not in the list under the security tab, the option to add or delete is disabled, advanced options however is enabled, which is how I recovered ownership of the printer and set the permissions back.

    – Luis Esparza LeedMx
    Jan 24 at 21:54



















  • Unless you explicitly set deny rights, you should be able to add the rights back by using an administrator account the same way you removed them. Just because you don't have the rights to manage the printer doesn't mean you also don't have the rights to change its permissions. If that really doesn't work, see if you can somehow push the rights from a higher level.

    – LPChip
    Jan 24 at 18:42











  • when your user or user group is not in the list under the security tab, the option to add or delete is disabled, advanced options however is enabled, which is how I recovered ownership of the printer and set the permissions back.

    – Luis Esparza LeedMx
    Jan 24 at 21:54

















Unless you explicitly set deny rights, you should be able to add the rights back by using an administrator account the same way you removed them. Just because you don't have the rights to manage the printer doesn't mean you also don't have the rights to change its permissions. If that really doesn't work, see if you can somehow push the rights from a higher level.

– LPChip
Jan 24 at 18:42





Unless you explicitly set deny rights, you should be able to add the rights back by using an administrator account the same way you removed them. Just because you don't have the rights to manage the printer doesn't mean you also don't have the rights to change its permissions. If that really doesn't work, see if you can somehow push the rights from a higher level.

– LPChip
Jan 24 at 18:42













when your user or user group is not in the list under the security tab, the option to add or delete is disabled, advanced options however is enabled, which is how I recovered ownership of the printer and set the permissions back.

– Luis Esparza LeedMx
Jan 24 at 21:54





when your user or user group is not in the list under the security tab, the option to add or delete is disabled, advanced options however is enabled, which is how I recovered ownership of the printer and set the permissions back.

– Luis Esparza LeedMx
Jan 24 at 21:54










2 Answers
2






active

oldest

votes


















1














I haven't tested this, but this is how rights work in windows, so it should work.



Right-click your printer and go to printer properties.



Now head to the security tab.



Click a group such that the Advanced button becomes active. You can already try to set the permissions here, but lets assume you cannot, go to advanced.



At the top, it will say Owner: SYSTEM. Change this to your own user with administrative rights.



Once you have done this, regardless of what permissions you have, you can now set the proper permissions, either from the advanced tab or one screen earlier. You may have to close and reopen that settings screen though.



Don't forget to set the owner back to SYSTEM once you're done.






share|improve this answer



















  • 1





    Super simple and helpful, it was that easy after all

    – Luis Esparza LeedMx
    Jan 24 at 21:46



















0














The best way to get around the issue, since you have removed the Administrator account from the Printer Permissions, is to remove the Printers from the effected PCs/Laptops via the Registry. (https://www.online-tech-tips.com/computer-tips/cannot-remove-or-delete-network-printer/)



You then would need to remove the Printer from the Print Server if you are using a Print Server and then simply re-publish the same Printer under the same name and assign it via a GPO to the Users.



Hope this helps.



Kind Regards,
Mo






share|improve this answer
























  • useful information to delete printers, thank you, however the answer explaining hor to retrieve ownership and therefore modify permissions works better for my scenario.

    – Luis Esparza LeedMx
    Jan 24 at 21:55











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398021%2frestore-manage-this-printer-permissions-in-windows%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














I haven't tested this, but this is how rights work in windows, so it should work.



Right-click your printer and go to printer properties.



Now head to the security tab.



Click a group such that the Advanced button becomes active. You can already try to set the permissions here, but lets assume you cannot, go to advanced.



At the top, it will say Owner: SYSTEM. Change this to your own user with administrative rights.



Once you have done this, regardless of what permissions you have, you can now set the proper permissions, either from the advanced tab or one screen earlier. You may have to close and reopen that settings screen though.



Don't forget to set the owner back to SYSTEM once you're done.






share|improve this answer



















  • 1





    Super simple and helpful, it was that easy after all

    – Luis Esparza LeedMx
    Jan 24 at 21:46
















1














I haven't tested this, but this is how rights work in windows, so it should work.



Right-click your printer and go to printer properties.



Now head to the security tab.



Click a group such that the Advanced button becomes active. You can already try to set the permissions here, but lets assume you cannot, go to advanced.



At the top, it will say Owner: SYSTEM. Change this to your own user with administrative rights.



Once you have done this, regardless of what permissions you have, you can now set the proper permissions, either from the advanced tab or one screen earlier. You may have to close and reopen that settings screen though.



Don't forget to set the owner back to SYSTEM once you're done.






share|improve this answer



















  • 1





    Super simple and helpful, it was that easy after all

    – Luis Esparza LeedMx
    Jan 24 at 21:46














1












1








1







I haven't tested this, but this is how rights work in windows, so it should work.



Right-click your printer and go to printer properties.



Now head to the security tab.



Click a group such that the Advanced button becomes active. You can already try to set the permissions here, but lets assume you cannot, go to advanced.



At the top, it will say Owner: SYSTEM. Change this to your own user with administrative rights.



Once you have done this, regardless of what permissions you have, you can now set the proper permissions, either from the advanced tab or one screen earlier. You may have to close and reopen that settings screen though.



Don't forget to set the owner back to SYSTEM once you're done.






share|improve this answer













I haven't tested this, but this is how rights work in windows, so it should work.



Right-click your printer and go to printer properties.



Now head to the security tab.



Click a group such that the Advanced button becomes active. You can already try to set the permissions here, but lets assume you cannot, go to advanced.



At the top, it will say Owner: SYSTEM. Change this to your own user with administrative rights.



Once you have done this, regardless of what permissions you have, you can now set the proper permissions, either from the advanced tab or one screen earlier. You may have to close and reopen that settings screen though.



Don't forget to set the owner back to SYSTEM once you're done.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 24 at 18:47









LPChipLPChip

36.2k55486




36.2k55486








  • 1





    Super simple and helpful, it was that easy after all

    – Luis Esparza LeedMx
    Jan 24 at 21:46














  • 1





    Super simple and helpful, it was that easy after all

    – Luis Esparza LeedMx
    Jan 24 at 21:46








1




1





Super simple and helpful, it was that easy after all

– Luis Esparza LeedMx
Jan 24 at 21:46





Super simple and helpful, it was that easy after all

– Luis Esparza LeedMx
Jan 24 at 21:46













0














The best way to get around the issue, since you have removed the Administrator account from the Printer Permissions, is to remove the Printers from the effected PCs/Laptops via the Registry. (https://www.online-tech-tips.com/computer-tips/cannot-remove-or-delete-network-printer/)



You then would need to remove the Printer from the Print Server if you are using a Print Server and then simply re-publish the same Printer under the same name and assign it via a GPO to the Users.



Hope this helps.



Kind Regards,
Mo






share|improve this answer
























  • useful information to delete printers, thank you, however the answer explaining hor to retrieve ownership and therefore modify permissions works better for my scenario.

    – Luis Esparza LeedMx
    Jan 24 at 21:55
















0














The best way to get around the issue, since you have removed the Administrator account from the Printer Permissions, is to remove the Printers from the effected PCs/Laptops via the Registry. (https://www.online-tech-tips.com/computer-tips/cannot-remove-or-delete-network-printer/)



You then would need to remove the Printer from the Print Server if you are using a Print Server and then simply re-publish the same Printer under the same name and assign it via a GPO to the Users.



Hope this helps.



Kind Regards,
Mo






share|improve this answer
























  • useful information to delete printers, thank you, however the answer explaining hor to retrieve ownership and therefore modify permissions works better for my scenario.

    – Luis Esparza LeedMx
    Jan 24 at 21:55














0












0








0







The best way to get around the issue, since you have removed the Administrator account from the Printer Permissions, is to remove the Printers from the effected PCs/Laptops via the Registry. (https://www.online-tech-tips.com/computer-tips/cannot-remove-or-delete-network-printer/)



You then would need to remove the Printer from the Print Server if you are using a Print Server and then simply re-publish the same Printer under the same name and assign it via a GPO to the Users.



Hope this helps.



Kind Regards,
Mo






share|improve this answer













The best way to get around the issue, since you have removed the Administrator account from the Printer Permissions, is to remove the Printers from the effected PCs/Laptops via the Registry. (https://www.online-tech-tips.com/computer-tips/cannot-remove-or-delete-network-printer/)



You then would need to remove the Printer from the Print Server if you are using a Print Server and then simply re-publish the same Printer under the same name and assign it via a GPO to the Users.



Hope this helps.



Kind Regards,
Mo







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 24 at 17:37









Muhammed_KhanMuhammed_Khan

161




161













  • useful information to delete printers, thank you, however the answer explaining hor to retrieve ownership and therefore modify permissions works better for my scenario.

    – Luis Esparza LeedMx
    Jan 24 at 21:55



















  • useful information to delete printers, thank you, however the answer explaining hor to retrieve ownership and therefore modify permissions works better for my scenario.

    – Luis Esparza LeedMx
    Jan 24 at 21:55

















useful information to delete printers, thank you, however the answer explaining hor to retrieve ownership and therefore modify permissions works better for my scenario.

– Luis Esparza LeedMx
Jan 24 at 21:55





useful information to delete printers, thank you, however the answer explaining hor to retrieve ownership and therefore modify permissions works better for my scenario.

– Luis Esparza LeedMx
Jan 24 at 21:55


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398021%2frestore-manage-this-printer-permissions-in-windows%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido