AOA Forums AOA Forums AOA Forums Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA Forums > Software > OS, Software, Firmware, and BIOS


Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 6th July, 2012, 12:57 AM
booman's Avatar
AOA Staff
 
Join Date: December 2005
Location: Mesa AZ
Posts: 4,030

Remote Desktop Printing

I have an interesting situation that I've tried to work-around and can't seem to figure it out.
We have users logging into our Terminal server from different locations. Mostly Finance employees. One of our Finance users needs to print to another printer in another city via Terminal services.
It works just fine, but I have to give them access to the remotely connected printer via security tab. I have to do this every time they want to print because the connection always shows up with a different session name.

Is there a way to keep the session the same every time the users connect?
Is there a way to give permanent permissions for one user over the printer setting of another user?

I've done everything but give them administrative access, because we don't want to do that...
I cannot give them local administrative access because this terminal server is also a domain controller.
Let me know if you have any ideas.
__________________
Booman
Mint 17.3 64-bit
Wine 2.0
PlayOnLinux 4.2.10
Linux Guides: PC Games Linux Beginners Tips Linux Games List
Mack Truck Dungeon Of Fire Spray Booth Tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 9th July, 2012, 03:50 PM
noob's Avatar
Member/Contributer
 
Join Date: June 2005
Location: Auckland NZ
Posts: 1,639

What OS are you using?

Do you use generic usernames or does each person have their own?

The easy way would be to add every printer to the domain controller and use either local or group policy to map them for everyone as they log in.

A harder way would be to have a login script for each person by username or group membership.
__________________
AOA Team fah

Corsair AX650
Asus P8H77-M PRO
i7 3770 (non K series)
- Noctua NH-L12 Low Profile CPU Cooler
2x8GB G.Skill Ripjaws X
Sapphire 7970
2 x SanDisk Extreme 120GB RAID 0
Western Digital Green 3TB
Asus Xonar Essence STX
TP Link TL-WN881ND
Fractal Design Arc Mini
- 2x Noctua NF-P12 120mm, 2x Noctua NF-P14 FLX 140mm, NZXT Sentry 2 LCD Fan Controller
Asus ML249H
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 9th July, 2012, 04:52 PM
booman's Avatar
AOA Staff
 
Join Date: December 2005
Location: Mesa AZ
Posts: 4,030

The terminal server is Windows Server 2003.
We are using unique user-names for all user account.

The reason we can't add the printers is because some locations are not part of our network. They remote in and the printer is inherited during the session, but has a different session name each time they log in.

We have login scripts that run for mapping network drives, so it wouldn't be so hard to modify it and add printers, but I still have the problem that this printer is not part of our network.
__________________
Booman
Mint 17.3 64-bit
Wine 2.0
PlayOnLinux 4.2.10
Linux Guides: PC Games Linux Beginners Tips Linux Games List
Mack Truck Dungeon Of Fire Spray Booth Tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10th July, 2012, 09:34 AM
noob's Avatar
Member/Contributer
 
Join Date: June 2005
Location: Auckland NZ
Posts: 1,639

So this would be a person from location A, logging into location B printing to location C
And location C isn't in your network?

If A --> B --> C then you need to manually map that printer as admin, then give that user(s) access to the printer. Again this can be done through group policy


If it is A --> B --> A then look at
Printer Redirection

If it is their default printer, you can then have it as the users default when they log in.
Then can be done through group policy


If this is a permissions thing not allowing remote printing, etc, you may need to relax that policy for the domain controller, by having it in it's own OU, and disabling inheritance. Then just allow those policies you want.
__________________
AOA Team fah

Corsair AX650
Asus P8H77-M PRO
i7 3770 (non K series)
- Noctua NH-L12 Low Profile CPU Cooler
2x8GB G.Skill Ripjaws X
Sapphire 7970
2 x SanDisk Extreme 120GB RAID 0
Western Digital Green 3TB
Asus Xonar Essence STX
TP Link TL-WN881ND
Fractal Design Arc Mini
- 2x Noctua NF-P12 120mm, 2x Noctua NF-P14 FLX 140mm, NZXT Sentry 2 LCD Fan Controller
Asus ML249H

Last edited by noob; 10th July, 2012 at 09:37 AM. Reason: clarity
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10th July, 2012, 03:48 PM
booman's Avatar
AOA Staff
 
Join Date: December 2005
Location: Mesa AZ
Posts: 4,030

I think the first solution might be the answer, but I'll need some help with it. How do I map a printer to a session that keeps changing?
Where do I start in group policy to do the mapping?
Is there a way to force the session from location C to always be the same session?

Thanks for your help, by the way!
__________________
Booman
Mint 17.3 64-bit
Wine 2.0
PlayOnLinux 4.2.10
Linux Guides: PC Games Linux Beginners Tips Linux Games List
Mack Truck Dungeon Of Fire Spray Booth Tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11th July, 2012, 04:17 AM
noob's Avatar
Member/Contributer
 
Join Date: June 2005
Location: Auckland NZ
Posts: 1,639

Can the terminal server contact the remote printer without that user being logged in?

If so manually install it as a local TCP printer on the terminal server - then it is constant and problem solved.

If not you may need to look at the terminal session with the printer to never be logged off.

Group policy locations:
User/Computer --> Windows Settings --> Scripts
User/Computer --> Administrative Templates --> Printers
User/Computer --> Administrative Templates --> Windows Components --> Terminal Services

If that printer is the default printer for the user when they log in, you can have that as the users default printer. Can you then give permissions not to a specific printer but to the default printer regardless of it's name? I'm assuming that it is a particular application causing this grief.
__________________
AOA Team fah

Corsair AX650
Asus P8H77-M PRO
i7 3770 (non K series)
- Noctua NH-L12 Low Profile CPU Cooler
2x8GB G.Skill Ripjaws X
Sapphire 7970
2 x SanDisk Extreme 120GB RAID 0
Western Digital Green 3TB
Asus Xonar Essence STX
TP Link TL-WN881ND
Fractal Design Arc Mini
- 2x Noctua NF-P12 120mm, 2x Noctua NF-P14 FLX 140mm, NZXT Sentry 2 LCD Fan Controller
Asus ML249H
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11th July, 2012, 04:47 PM
booman's Avatar
AOA Staff
 
Join Date: December 2005
Location: Mesa AZ
Posts: 4,030

Oh interesting, I didn't know you could keep a session always logged in.
What if we reboot the server? Will it retain the session?

I'll try that first and then set it as the default printer for location A.

Very cool! I'll report my findings
__________________
Booman
Mint 17.3 64-bit
Wine 2.0
PlayOnLinux 4.2.10
Linux Guides: PC Games Linux Beginners Tips Linux Games List
Mack Truck Dungeon Of Fire Spray Booth Tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11th July, 2012, 06:43 PM
booman's Avatar
AOA Staff
 
Join Date: December 2005
Location: Mesa AZ
Posts: 4,030

ok, there are no Group Policies setup for printers or scripts.
So I will need to create a new group policy right?
I don't want to do it domain-wide, but just for this local terminal server.
Where do I start?
__________________
Booman
Mint 17.3 64-bit
Wine 2.0
PlayOnLinux 4.2.10
Linux Guides: PC Games Linux Beginners Tips Linux Games List
Mack Truck Dungeon Of Fire Spray Booth Tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 12th July, 2012, 02:03 PM
noob's Avatar
Member/Contributer
 
Join Date: June 2005
Location: Auckland NZ
Posts: 1,639

If you reboot the server it will lose it.
You will need to make sure they don't log out but close the window.

Group Policy Scripts are done on the domain controller
Administrative tools --> Group Policy Management
Right click an OU where you want a new policy and select Create and Link a GPO here...
Choose a name and you will have a blank GPO
Right click it and select edit

This will enable to group policy for that OU only, if the terminal server is in its own OU with no OU's beneath, it wont effect anything else.

I have attached screenshots from a 2003 DC group policy with locations of some of the stuff around printing, etc.

Something else to do which will make it a whole lot easier for you in the long term.

1. install a pdf printer - I use cutepdf writer at work for this: CutePDF - Convert to PDF for free, Free PDF Utilities, Save PDF Forms, Edit PDF easily.
2. make that the default printer for the user and give that the required permissions - I assume it is for a particular application
3. allow client drives, meaning their own drives are available to save stuff to
4. they can then print from their local drive to any printer they have access to.


EDIT:
Unfortunately you can't stop the session ID from changing, that has been something I have looked into myself
Attached Thumbnails
Remote Desktop Printing-1.jpg   Remote Desktop Printing-2.jpg   Remote Desktop Printing-3.jpg   Remote Desktop Printing-4.jpg  
__________________
AOA Team fah

Corsair AX650
Asus P8H77-M PRO
i7 3770 (non K series)
- Noctua NH-L12 Low Profile CPU Cooler
2x8GB G.Skill Ripjaws X
Sapphire 7970
2 x SanDisk Extreme 120GB RAID 0
Western Digital Green 3TB
Asus Xonar Essence STX
TP Link TL-WN881ND
Fractal Design Arc Mini
- 2x Noctua NF-P12 120mm, 2x Noctua NF-P14 FLX 140mm, NZXT Sentry 2 LCD Fan Controller
Asus ML249H

Last edited by noob; 12th July, 2012 at 02:04 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 12th July, 2012, 03:54 PM
booman's Avatar
AOA Staff
 
Join Date: December 2005
Location: Mesa AZ
Posts: 4,030

I see what you are saying. As long as locaion C doesn't log off the terminal server, their session is always running.
So location A can print to it anytime.

I have added scripts to an OU in Group Policy before, I was wondering what the script is for this particular problem.

I have looked into the Session and Terminal options for this user, but nothing that forces the session to stay open.
So you are right, as long as they log off or the server restarts, the session will always be different.

Oh, and I already have CutePDF installed on that server. So they know printing to PDF is available.
This is for finance people and they use a special Micr Cartridge in their printers, but I don't see why printing from PDF would make any difference.

Thanks for your help
__________________
Booman
Mint 17.3 64-bit
Wine 2.0
PlayOnLinux 4.2.10
Linux Guides: PC Games Linux Beginners Tips Linux Games List
Mack Truck Dungeon Of Fire Spray Booth Tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 12th July, 2012, 10:03 PM
noob's Avatar
Member/Contributer
 
Join Date: June 2005
Location: Auckland NZ
Posts: 1,639

The script for this particular problem, that is the one controlling the mechanical fist of doom to wipe out the troublesome users. Wasn't sure how much you had done, better safe than confused.

Not sure of the policy at your place, we have a default of 5min for a disconnected session before the user is forcibly logged out.

A secure remote app with a secure differently remote printer has given IT staff world wide severe issues especially as no one seems to understand that it just doesn't work the magic way they want it to.
__________________
AOA Team fah

Corsair AX650
Asus P8H77-M PRO
i7 3770 (non K series)
- Noctua NH-L12 Low Profile CPU Cooler
2x8GB G.Skill Ripjaws X
Sapphire 7970
2 x SanDisk Extreme 120GB RAID 0
Western Digital Green 3TB
Asus Xonar Essence STX
TP Link TL-WN881ND
Fractal Design Arc Mini
- 2x Noctua NF-P12 120mm, 2x Noctua NF-P14 FLX 140mm, NZXT Sentry 2 LCD Fan Controller
Asus ML249H
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 16th July, 2012, 04:45 PM
booman's Avatar
AOA Staff
 
Join Date: December 2005
Location: Mesa AZ
Posts: 4,030

Thats kinda what I figured too...
Our terminal server has the typical time-out settings. I checked those and nothing about permanent session configuration.
So, I contacted location C and asked them to not log off.
The session should stay connected as long as the server is up and they don't log off.
Then I'll have location A try to print and see what happens.
Thanks for your help.... this seems to be a unique problem.
__________________
Booman
Mint 17.3 64-bit
Wine 2.0
PlayOnLinux 4.2.10
Linux Guides: PC Games Linux Beginners Tips Linux Games List
Mack Truck Dungeon Of Fire Spray Booth Tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 6th September, 2012, 06:06 PM
Member
 
Join Date: September 2012
Posts: 20

What interested me was the remote printing control. How do you achieve this? I am a student and would love to know more about using hardware in networks. Do you do this using manual networks or wireless ones?
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 6th September, 2012, 06:46 PM
booman's Avatar
AOA Staff
 
Join Date: December 2005
Location: Mesa AZ
Posts: 4,030

At my work all the printers are "wired"
But more and more printers are including a "wireless" connection so you can print from anywhere in the house while on your laptop.

The remote printing is cool because you can log into your computer at home with Remote Desktop and then print to your current location (office, coffee shop, library, friends house)
__________________
Booman
Mint 17.3 64-bit
Wine 2.0
PlayOnLinux 4.2.10
Linux Guides: PC Games Linux Beginners Tips Linux Games List
Mack Truck Dungeon Of Fire Spray Booth Tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
printing , terminal server



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Desktop jacksonwalters OS, Software, Firmware, and BIOS 12 30th July, 2009 11:31 AM
Remote Desktop Favu Mobile Devices and Networking 2 25th October, 2005 08:19 AM
Printing from DOS e_storm OS, Software, Firmware, and BIOS 3 22nd April, 2005 10:31 AM
Free remote desktop, works on most platforms,no need for kvm switch,free timbob2469 OS, Software, Firmware, and BIOS 1 31st May, 2003 08:43 AM
XP, MS-DOS commands and printing... Freedom OS, Software, Firmware, and BIOS 5 3rd July, 2002 10:53 AM


All times are GMT +1. The time now is 09:51 PM.


Copyright ©2001 - 2010, AOA Forums
Don't Click Here Don't Click Here Either

Search Engine Friendly URLs by vBSEO 3.3.0