Link to home
Start Free TrialLog in
Avatar of jvuz
jvuzFlag for Belgium

asked on

install printer (printserver) by nonadmin

Hi,

we've changed from local and normal networkprinters to only use a network printer via a printserver. The printserver is installed on a windows 2008 server, but the rest are linux servers and we're working with samba.

A lot of our users (I know, I don't like it eather) have admin rights, so for them there isn't a problem. It's only when nonadmin users try to install the printer.  When the user goes to \\printserver and doubleclick on the printer to be installed, (s)he gets the following error message. A policy is in effect on your computer which prevents you from connecting to this print queue.

Is there a way to install it remotely, by for instance psexec, or another way to do this?

Thanks,
Jvuz
ASKER CERTIFIED SOLUTION
Avatar of Run5k
Run5k
Flag of United States of America 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
Avatar of jvuz

ASKER

Like I said in the opening post, we use linux server (Samba) so we don't use active directory nor group policies.

I checked your post, but we don't have the control panel path
we use linux server (Samba) so we don't use active directory nor group policies. ~ Jvuz

I realize that, but you can set the Group Policy locally on each Windows client workstation utilizing the GPedit.msc snap-in.
Avatar of jvuz

ASKER

I see, but the only thing I see is: Computer Configuration/Administrative Templates/Windows components/... and User Configuration/Administrative Templates/Windows components/...
No control panel
Are these Windows 7 machines?
Avatar of jvuz

ASKER

the one I'm testing is xp
Those group policy configurations are available on a Windows 7 machine.  Not to belabor the point, but now that Windows XP just celebrated its 11th birthday and Microsoft will only support it for another 19 months, it may be time to seriously consider upgrading the OS.
Avatar of jvuz

ASKER

We've have still some great part with xp machines, which we cannot wipe away like that. I'll be testing it monday for the windows 7 OS. Thanks already for the tip.

If someone still has an idea for the XP machines...
Avatar of jvuz

ASKER

Has anybody an idea for the xp machines?
Avatar of jvuz

ASKER

The gpedit works for Windows 7. Very cool. Is there a way to change this by a reg file? That way I could push it.

Still leaves the problem for the XP machines open. Anybody has an idea for this problem?

Thanks,
jvuz
You can cross-reference the appropriate registry keys in at least two different ways.  The first is through Microsoft's Group Policy Search web page...

http://gps.cloudapp.net/

The second method would be to download the official Group Policy Settings Reference spreadsheets:

http://www.microsoft.com/en-us/download/details.aspx?id=25250
Avatar of jvuz

ASKER

Thanks for the info. I was wondering for the xp problem. Is there a command I can use to install a network printer (printserver) for an admin user?
Avatar of jvuz

ASKER

OK, I found a way to install it by xp users. I can launch a bat file (start \\printserver\sharedprinter) via PDQ Deploy, so the printer gets installed on the admin account. After that the user can install the printer without any problem. My goal is now to remotely install the printer by for instance a command. But when I use psexec, I don't think it'll use the remote user, instead it'll use the system account or the account that launches the command. or am I wrong?
I already tried this and it didn't work. How can I perform this action?