Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Default printer is not saved between logons

Posted on 2011-09-12
8
Medium Priority
?
7,359 Views
Last Modified: 2013-11-21
We have a customer who have problems with default printers not being saved between logons.
Instead a software printer, "Send to Microsoft OneNote 2010" is set as default printer at every single logon. The software printer is installed at both the RDS servers.

The printers which the user selects as a default printer in the TS session are network printers resided on a Windows Server 2008 R2. The printers are _not_ redirected printers from the client.

We have tried to set a default printer using GPO User Preferences, using the Update option. This works as intended only if the printer is missing in the clients profile. If the printer exists before logon, the default printer will still be the "Send to Microsoft OneNote 2010".

The environment is the following:
The clients are a mix of XP Professional SP3, Windows 7 Enterprise and a few XPE thin clients. All clients are experiencing the problems regardless of client OS.
2 RDS Servers, Windows Server 2008 R2 SP1, load balanced using RR DNS and a RD Connection broker. Users have a central TS roaming profile. Also redirected folders are used.
1 File/Print server, Windows Server 2008 R2 SP1. All network printers are installed at this server. Except for the software servers, such as the above mentioned  "Send to Microsoft OneNote 2010", no servers are installed at the RDS servers.
0
Comment
Question by:DKkonsult
[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
  • 6
8 Comments
 
LVL 3

Expert Comment

by:Krypton-IT-Solutions
ID: 36522228
Hello, try creating a logon script to set the users default printer when they logon. Worked for me :). Details can be found following this link.

http://www.computerperformance.co.uk/Logon/LogonScript_Printer_Bonus.htm

Regards
www.krypton-it.com

0
 

Author Comment

by:DKkonsult
ID: 36529638
Thanks for answering, but using a script instead of the built in functions such as GP Preferences doesn't feel like the way to go.
Sure, if we won't find any other solution to the problem we may use that as a last resort.

0
 

Expert Comment

by:bosshognz
ID: 36944359
Hi,
We have the same situation in a very similar set up (no load balancing however) and are trying to solve it also.  Your print server - did you install the printers using Print Management, and then deploy them via the inbuilt function?  This is what we have done, but think that the printer driver installation might be getting held up at log in and is causing the network printers to load slower than the profile gets loaded - therefore the user's default printer defaults back to the only local printer - a PDF printer.

Do you have any errors in your event logs relating to printers or printer drivers?  Do you have any HP printers?  Don't just look in the Windows Event logs - we found a bunch of driver errors in a custom log.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:DKkonsult
ID: 37372551
Error was resolved by emptying a number of registry keys under HKCU
0
 

Author Comment

by:DKkonsult
ID: 37372596
I've requested that this question be closed as follows:

Accepted answer: 0 points for DKkonsult's comment http:/Q_27303035.html#37372551

for the following reason:

Resolved this issue on my own...
0
 

Accepted Solution

by:
DKkonsult earned 0 total points
ID: 37372591
This batch file was used to resolve the issue:

REM DEL_USER_PRINTERS.cmd - Deletes user mapped printers from registry in HKCU
REM Copyright (c) 2011 Kenny Carlsson All rights reserved.
REM
REM
REM  The file userlist.txt has been created by running the command "dir /B >userlist.txt" from the folder that contains the ts roaming profiles.
REM
REM

FOR /F %%G IN (D:\___INSTALL__\userlist.txt) DO (
 MD D:\___INSTALL__\NTUSERDAT_BACKUP\%%G
 attrib -s -h "D:\data\TS_Profile\%%G\NTUSER.DAT"
 Copy "D:\data\TS_Profile\%%G\NTUSER.DAT" D:\___INSTALL__\NTUSERDAT_BACKUP\%%G\
 attrib +s +h "D:\data\TS_Profile\%%G\NTUSER.DAT"
 REG LOAD HKU\ZZZ "D:\data\TS_Profile\%%G\NTUSER.DAT"
 
 REG DELETE HKU\ZZZ\Printers\Connections /f
 REG DELETE HKU\ZZZ\Printers\DevModes2 /f
 REG DELETE HKU\ZZZ\Printers\DevModePerUser /f
 REG DELETE HKU\ZZZ\Printers\Settings /f
 
 REG DELETE "HKU\ZZZ\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Devices" /f
 REG DELETE "HKU\ZZZ\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PrinterPorts" /f
 REG DELETE "HKU\ZZZ\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" /v Device /f
 REG DELETE "HKU\ZZZ\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" /v UserSelectedDefault /f

 REG ADD HKU\ZZZ\Printers\Connections /f
 REG ADD HKU\ZZZ\Printers\DevModes2 /f
 REG ADD HKU\ZZZ\Printers\DevModePerUser /f
 REG ADD HKU\ZZZ\Printers\Settings /f
 
 REG ADD "HKU\ZZZ\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Devices" /f
 REG ADD "HKU\ZZZ\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PrinterPorts" /f
 
 REG UNLOAD HKU\ZZZ
)
0
 

Author Comment

by:DKkonsult
ID: 37372597
Please remove the comment #37372551  and use comment #37372591 as the solution.
0
 

Author Closing Comment

by:DKkonsult
ID: 37395653
This was the final script used to resolve the issues.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

610 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