Link to home
Start Free TrialLog in
Avatar of MichaelDittmar
MichaelDittmarFlag for Germany

asked on

VB.Net / C# grant management-right for printers

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.

ASKER CERTIFIED SOLUTION
Avatar of Darren Collins
Darren Collins
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial