?
Solved

More default printer problems..

Posted on 2001-08-21
2
Medium Priority
?
140 Views
Last Modified: 2010-08-05
Upon the advice of people here, I am setting printers up using con2prt. This works okay, under a Group Policy at user level. However, if I move this to computer level it runs the script, but fails - this seems to be because it can't reach the printers on the server? Has anyone successfully configured remote printers on a per-computer basis?? The reason I want to do this is because we have students and the printers they use depends on which lab they are in - so I can't set things up on a per-user basis.

Additionally sometimes when a user logs in they can see the printers, but they can't be contacted. However when we login as administrator on the computer the queues can be opened okay. Then after a reboot and login as a user again everything is fine - why is this?
0
Comment
Question by:dd021197
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 6409947
Could it be that you are not disconnecting the previous default printer.
I would delete before adding.

Another option that may work....
3292 > Allow users to always install with System privileges. Administrator priv

 Windows 2000 has an Always install with elevated privileges Group Policy, that directs Windows Installer to always use System permissions when installing a program.

 I quote the Resource Kit:

 This policy extends elevated privileges to all programs. These privileges are usually reserved for programs that have been assigned
 to the user (offered on the desktop), assigned to the computer (installed automatically), or made available in Add/Remove Programs
 in Control Panel. This policy lets users install programs which require access to directories that the user might not have permission to
 view or change, including directories on highly restricted computers.

 Skilled users can take advantage of the permissions this entry grants to change their permissions and gain permanent access to
 restricted files and folders. Note that the User Configuration version of this entry is not guaranteed to be secure.

 This policy can be implemented at Computer Configuration\Administrative Templates\Windows Components\Windows
 Installer or User Configuration\Administrative Templates\Windows Components\Windows Installer.

 When enabled, Windows Installer defaults to using System privileges for the effected users' or computers' install.

 When I enabled the policy in Computer Configuration, it did an Add Value name AlwaysInstallElevated, as a
 REG_DWORD data type, and set the data value to 1, at the following keys:

 HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer

 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalMachine\Software\Policies\Microsoft\Windows\Installer

 HKEY_USERS\<SID>\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalMachine\Software\Policies\Microsoft\Windows\Installer

-------------------

I hope this helps !

0
 
LVL 4

Accepted Solution

by:
arminl earned 800 total points
ID: 6411516
My way to solve this was dead easy: I set a machine level environment variable named "defaultprinter" every time I install a computer somewhere.

And my login script has the following lines:

if [%DefaultPrinter%]==[] Goto noPrinter
%0\..\con2prt -c %DefaultPrinter%
if errorlevel 1 ..... (do some error handling)
:NoPrinter

The admin setting up a new box is responsible to see which printer is closest and punch in the variable.

Note that through using regedt32 over the network you can also set the variable remotely, you don't have to walk up your computers to change the default printer assignment.

Primitive, but effective, and works with pre-w2k NT clients as well.

Armin Linder

0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question