I need a code snipet in VB oder C# (Visual Studio 2010) to grant print-management rights to users on windows 7 workstations so users can configure additional printer settings on their own (local printers, mostly USB-Devices, installed with WDS in PNP-Mode).
We have startup-script which is written in VB 2010. This program runs with local system privileges and it should grant the print management right for every local pnp-installed printer on the local workstation.
Can you please help? We've tested with WMI oder PowerShell but this won't work as espected.
We can't use subinacl.exe or setacl.exe in our environment.
Many thanks for your help.