Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to.

Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to. 
I'm NOT in any way a Terminal Services expert and I need help trying to get an application program working in a multi-user environment.
The issue is that the printer changes for every user that is logged in. The application needs to print NOT to the default printer, but to a "special" printer which is selected in the application... let's call it a label printer to simplify the explanation.
You have your default regular printer, easy for the application to find that one, and then you have a special printer that labels get printed onto. The application needs to know what printer is the label printer. So we allow the user to select that in the
application and the selection is stored in a config file in 
C:\ProgramData\mfgr\prog\setting files
I don't have access to the application so I can't change how this works.  
In the "regular" world, selecting the label printer driver to use should be per machine, NOT per user. When a new user logs into a machine, the physical printer doesn't go "poof" and a new printer suddenly appear. Same printer for all
users.
Yet in terminal services, the physical machine is "merged" with the virtual machine on the server. And there can be many users logged in at the same time. So each users real machine (and real printer) is injected into the "fake" terminal
services machine. The name of the printers is made unique for each user. So the printers DO go "poof" and change names depending on the user logged into terminal services.
So user "A" logs in and sets up the application to print to "LabelPrinterForUserA" (or whatever the name of the printer happens to be), that setting is stored in the ProgramData subfolder, and all is well. Later, user "B" logs
in, and when they print, the application tries to print to "LabelPrinterForUserA" which doesn't exist for user B or is only accessible by user A. If user B re-configures, that breaks it for user A. 
SOLUTION 1: The way that /should/ work (in my mind) is that you define one "generic" printer in Terminal Services... call it "Virtual Label printer" and when the user wants to print to it, the print job gets re-directed back to whatever
physical printer is actually connected to their local workstation. There is a map of virtual printer to actual printer depending on the current user. The application is told once to print to "Virtual Label Printer" for all users.
SOLUTION 2: Or... there should be some way to make the ProgramData sub folders separate per user. E.g. when user "A" tries to access:
C:\ProgramData\mfgr\prog\setting files
they actually get 
C:\UserData\UserA\AppData\mfgr\prog\setting files
and user "B" gets
C:\UserData\UserB\AppData\mfgr\prog\setting files
So the question I have is: Does either of those solutions exist hidden somewhere in the setup of terminal server? Or is there another way around this issue that I don't know?

I don't really have a "for sure" answer to this, but because people here can't seem to deal with a question that hasn't been answered I'll provide the best answer I did receive from ServerFault.com user Nathan:
I can feel your pain with using old software on terminal servers ...the solution I've come up with definitely won't scale as it requires some manual configuration, but I've gotten this method to work with our label printers (which require to be
printed to an LPT port...yep, that old).
Share your USB-connected printers to the network on each machine. Then, have the user log in on aunique session for each of them
(a TS account cannot be shared among computers for this to work) and install a network printer pointing to the USB one they shared. Try to use a DNS name to account for possible DHCP movements.
After, it should work. Each user can do this since display names can be identical as long as the ports are different (which they are).
This was clarified by the following series of comments:
I think you are on to something here, and I originally advised the admin to do this. The problem he ran into is that it setup the printer names in the TS as "printer on usersworkstation"
and he could not rename it except to change the "printer" to whatever. E.g. the "on userworkstation" remained. I believe there is another way of installing the printer which avoids this, but I can't find it. Ages ago, one used to do NET
USE LPT2 \\computer\printer password /USER:domain\user /PERSISTENT:YES and then tell the driver to print to LPT2 –  James
Newton Mar
17 at 16:21   
@JamesNewton That's actually the exact method we used. The way around the "network printer" part is to install it as local printer and map it to a TCP/IP port that way. –  Nathan
C Mar
17 at 16:28
You mean in the case where the printers are TCP/IP connected and not local USB / LPT to the users workstation? That makes sense. Wonder if this will work for USB connected printers... –  James
NewtonMar
17 at 16:35   
@JamesNewton You'd share the local printer on the client's PC then on the server connect via TCP/IP to it. You'd need static addresses or use DNS names if DHCP, though. –  Nathan
C Mar
17 at 16:51
Ah. Yes. I see. Looks like the LPT thing should work even with a USB connected printer:superuser.com/questions/182655/… –  James
Newton Mar
17 at 17:09   

Similar Messages

  • Application should start automatically as soon the user logs into windows.

    Hello All,
    I have a requirement.
    I am developed a time sheet application using web dynpro. This application is configured on the portal & is working fine. Now, I want to make some changes, may be at Portal Content side or Application side, but want this -
    As soon as the User loges into the Windows with user id & password, this timesheet application residing on the portal should start automatically and should record the time. Similarly, if the user shuts-down, the application should again record the time. Thus giving the actual time the user worked.
    Please reply. Thanks.
    Best Regards
    Chander Kararia

    Hello Satyajit,
    Below are the comments on your queries.
    1. It would be better if the application starts silently. But, in case, if we choose other way i.e the browser opens automatically and displays the application (expecting the button needs to be clicked by the user) that will also do.
    2. In case of system shut-down, I am still to come up with some materialized concept. But, here are few ideas...
        a). The application should check if the time entry is available for the current date. If so, should display the text for LogOut only. This will make user understand not to hit it.
        b). It should keep on accepting all the sessions (logging & logout) n number of times for the current date.
    I would prefer (b) as a better option.
    If you have some more conceptual idea, please suggest.
    Best Regards
    Chander Kararia

  • Multiple remote home directory users logged into one machine?

    Hello,
    Just wondering if it's possible to have two or more users logged into the same machine at the same time. Each user has a home directory located on an XServe RAID connected to an XServe.
    We have a new employee who is needing to toggle back and forth between his account and an account that belongs to a previous employee.
    So far I've only had success logging in one remote home directory user, and a user account local to the machine. Making.. two users logged in on the same machine at the same time.
    Anyone able to offer some insight? thanks!

    The way afp works, you won't be able to log in more than one user with a remote home directory on any one machine at a time. This is a known limitation.
    If you need access to more than one account at a time, you could copy the home directory of the old user onto the local machine and set up a local account with it. Or you could give the new user a copy of the old home directory if it's just a matter of file access.
    Hope this helps,
    Andrew

  • Is there an application to monitor users who log into Windows Server 2012 R2?

    I'm looking at Family Safety Feature in Windows 8 and like what they can do.  I have a request to monitor, track users who log into Windows Server 2012 R2 to see how many users login, how long each login is for each user so a monthly report can be generated.  
    1.  I just wonder if Windows Essential 2012 can be used for this purpose or not.  If it can, is Windows Essential 2012 a feature can be added or installed on Windows Server 2012 R2?
    2.  If Window Essential 2012 cannot be used for this purpose, is there any feature in Windows Server 2012 R2 that can be used for this purpose?
    3.  Is there any other suggestions?
    Thank you for your help.
    Thanks and Regards,
    Hien Phan

    Hi Hien,
    Anything updates?
    It seems that there is no feature can do that. I agree with Tim that you can check the event logs. In general, the event 4624 would be created when a user was logged on, and the event 4634 would be created when a user account was logged
    off.
    More information:
    Tracking User Logon Activity Using Logon Events
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Having problem with svchost.exe/ntdll.dll errors causing GPSVC (Group Policy Client) to crash preventing users from logging into the server.

    Recently (within the past 2 weeks) I have noticed a few of our servers will have problems with the svchost.exe application causing the GPSVC (Group Policy Client) to crash. The only fix at that point is to reboot the server since the GPSVC service is tied
    to svchost.exe and therefore is protected from being manually restarted.
    I noticed the following errors when this occurs:
    Log Name:      Application
    Source:        Application Error
    Date:          7/23/2013 4:35:26 AM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Server1.xxx.xxx.net
    Description:
    Faulting application name: svchost.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc3c1
    Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec4aa8e
    Exception code: 0xc0000024
    Fault offset: 0x00000000000cd7d8
    Faulting process id: 0x46c
    Faulting application start time: 0x01ce877f9476ac07
    Faulting application path: C:\Windows\system32\svchost.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: d252d26d-f372-11e2-8ad4-005056ac00e8
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-07-23T08:35:26.000000000Z" />
        <EventRecordID>158950</EventRecordID>
        <Channel>Application</Channel>
        <Computer>AAW19XM2.agency.nwie.net</Computer>
        <Security />
      </System>
      <EventData>
        <Data>svchost.exe</Data>
        <Data>6.1.7600.16385</Data>
        <Data>4a5bc3c1</Data>
        <Data>ntdll.dll</Data>
        <Data>6.1.7601.17725</Data>
        <Data>4ec4aa8e</Data>
        <Data>c0000024</Data>
        <Data>00000000000cd7d8</Data>
        <Data>46c</Data>
        <Data>01ce877f9476ac07</Data>
        <Data>C:\Windows\system32\svchost.exe</Data>
        <Data>C:\Windows\SYSTEM32\ntdll.dll</Data>
        <Data>d252d26d-f372-11e2-8ad4-005056ac00e8</Data>
      </EventData>
    </Event>
    All of our servers are running Server 2008 R2 Enterprise where we use Citrix to deliver desktop sessions to our users, but some are virtual and some are physical. This seemingly impacts our virtual machines more, and our VMs are hosted through VMWare, however,
    about 5 months ago a similar error fired on a non-virtual machine:
    Log Name:      Application
    Source:        Application Error
    Date:          2/27/2013 6:57:58 AM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      AAW29033
    Description:
    Faulting application name: svchost.exe_gpsvc, version: 6.1.7600.16385, time stamp: 0x4a5bc3c1
    Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec4aa8e
    Exception code: 0xc0000024
    Fault offset: 0x00000000000cd7d8
    Faulting process id: 0x6c0
    Faulting application start time: 0x01ce14e1af313fd9
    Faulting application path: C:\Windows\system32\svchost.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: ed3d01c4-80d4-11e2-9128-b499baa9e5e8
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-02-27T11:57:58.000000000Z" />
        <EventRecordID>286291</EventRecordID>
        <Channel>Application</Channel>
        <Computer>AAW29033</Computer>
        <Security />
      </System>
      <EventData>
        <Data>svchost.exe_gpsvc</Data>
        <Data>6.1.7600.16385</Data>
        <Data>4a5bc3c1</Data>
        <Data>ntdll.dll</Data>
        <Data>6.1.7601.17725</Data>
        <Data>4ec4aa8e</Data>
        <Data>c0000024</Data>
        <Data>00000000000cd7d8</Data>
        <Data>6c0</Data>
        <Data>01ce14e1af313fd9</Data>
        <Data>C:\Windows\system32\svchost.exe</Data>
        <Data>C:\Windows\SYSTEM32\ntdll.dll</Data>
        <Data>ed3d01c4-80d4-11e2-9128-b499baa9e5e8</Data>
      </EventData>
    </Event>
    I've searched and cannot seem to find any information as to what may be causing this, or even really where to start. Would someone be able to help me identify what might be causing this event, specific with the Exception code: 0xc0000024, which causes
    the Group Policy Client service to stop?

    You still out there looking at things? If so I have an update. The issue hasn't stopped, even though it did seemingly die down for awhile, however, it is now back with a vengeance.
    I am able to force it to happen by killing the svchost process that is hosting GPSVC. If I run gpupdate /force, then logout/login it does get GPSVC running again. Furthermore, if I simply start svchost again via the Task Manager GPSVC starts running again.
    When I access the server remotely with KVM it acts just like it does as if I'm logging into it via Citrix/RDP which for Admin IDs gives an error saying "Failed to connect to a windows service. Windows could not connect to the Group Policy Client service...",
    however, normal user accounts just get a message when logging into the server "The Group Policy Client Service Failed the Logon. Access is denied."
    I haven't opened a case with Microsoft yet, but we about ready to because of the increase in these errors.
    If you have any further suggestions that would be great, otherwise I'll provide an update once I get word back from Microsoft.
    **EDIT -- apparently I mistook the the server's SCM's actions as my own. I was able to successfully crash the GPSVC service by killing the hosting svchost process, however, after I crashed it and let it sit crashed for awhile when I attempted
    to restart either by starting a svchost task, or running gpupdate /force it failed. Either that, or there is a timing issue where if we don't restart the svchost process, or run gpupdate /force quickly enough it won't be able to recover without a reboot.

  • Where can I find log files for users logging into network homes?

    We're running an open directory master and are using AFP on another server to host our network homes.  I was asked to find a log of users logged into their network homes on a specific date and I'm starting to wonder if that's actually a log that exists.  I've checked the OD logs and in one of the password logs I can see users have authenticated but it doesn't say specifically to what (so it just lists they logged into something).  The AFP logs just show specific files being accessed without usernames.  So what am I missing?  What log would I check?
    Thanks for your help!!

    File Zilla is a dedicated ftp client that you use to upload your published web site to your server.
    I would suggest that you perhaps consider using Cyberduck instead as this might be easier.  Cyberduck is a dedicated ftp client in the same way that File Zilla is.
    To be able to upload what you need is your published website.  Open iWeb and select the site that you want to publish and then select publish to a local folder and your site will then be published to your desktop.  You then upload this to your server using Cyberduck or File Zilla.

  • IPlanet 6.0 SP2 restart on Windows NT when a user logs off the server.

    UPDATE: We have found that the iWS 6.0 only restart with JDK 1.3.1 installed for JSP pages. What is the best JDK to use?
    iPlanet 6.0 SP2 restart on Windows NT when a user logs off the server. If a admin or joe developer logs into the server (C+A+D) and does what ever... When the
    person logs off the NT 4.0 box ... ALL the httpd process restart. We have 80 & 443 & Admin. The processes are running under a user account. Any one have an idea why the process are restarting?"

    Hi,
    You can use following JDK version for Windows NT.
    And please check it out whether WinNT-SP6 as been installed in winNT box.
    Window NT:
    SDK and JRE 1.4 http://java.sun.com/j2se/1.4/
    SDK and JRE 1.3.1_02 http://java.sun.com/j2se/1.3/
    SDK and JRE 1.2.2_011 http://java.sun.com/products/jdk/1.2/
    JDK and JRE 1.1.8_009
    http://java.sun.com/products/jdk/1.1/download-jdk-windows.html
    I hope this helps.
    Regards,
    Dakshin.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • App to view VPN and other user logged into network?

    There has to be an easy way or an app to do this but can't find one. I have a VPN service set up on my OS X Server. Works great. But I have yet to find an easy way to see realtime who is logged into my server or maybe even poking around the ports on the Airport Extreme. I know there are logs that tell me who has logged in, but I have to a) search thought it actively and b) its pretty cryptic and lots of data in there I don't need I have to wade through.
    Is there anything out there in the form or an app or maybe a script that will at least email me to show me who logs in / out when they do so?
    Thanks.

    Carol,
    Not at all. There's a simple solution for this.
    You can use the APEX function v('APP_USER') in your triggers to determine the APEX user name - which in your case will also be the Oracle schema name - of the user who initiated the trigger.
    This way, you can still connect to the database as APEX_PUBLIC_USER (and not open up a whole can of security worms) and at the same time, keep all of your PL/SQL triggers in tact.
    To enable the triggers to work outside of APEX as well, you can use a simple NLV(v('APP_USER'),USER) so that when called from SQL*Plus, for instance, the trigger will use the name of the Oracle schema.
    Hope this makes sense!
    Thanks,
    - Scott -

  • Sharepoint portal goes down Whenever a specific user logs into the portal

    hi All,
    Sharepoint portal goes down Whenever a specific user logs into the portal
    When a specific user logs into the portal , the iis goes down and no one able to access the portal.
    once we reset  iis then portal works fine .Please help us to identify the root cause for this issue.

    What is the error message it throws for everyone after that user user logged into the site. Did you encountered the same behavior for the other web application in the same farm as well?
    It would be worth to check health of that particular application pool and the account used for it during the time you face the issue.
    Veeramani.S

  • Exchange Online users logging into OWA On Premises.

    Greetings!
    We are implementing hybrid Exchange Online with Exchange 2013, and we face the following situation:
    When an Exchange Online user tries to access through OWA on-premises, a page appears with a link to the Exchange Online OWA.
    Is it supposed to be this way?
    Why the redirection is not automatic?
    Seems so obvious that the redirect should be automatic that if it is to be this way (the user having to click the link), there must be some technical justification. Can anyone refer me some article about it? For to convince the top brass of the company here
    that it has to be like that!
    Thanks in advance !!!
    Fabio Martins MCDST/MCSA Brasil!!!

    Hi
    As per the information and details provided by you, to solve the problem of Exchange online users logging into OWA on Premises, please follow these steps: -
    The user will be able to use the
    OWA URL points to the on-premises Exchange 2013 server. On the redirection page, you can choose to
    save the new URL to his browser favorites and click on the URL.
    When clicking on the URL, the user will be taken through the authentication process. For OWA, that means that you can try to access his mailbox in Exchange Online &
    Exchange online will redirect the user to “login.microsogtonline.com”, where
    you can enter UPN.
    Once the UPN is entered and you switches to the password field, Office 365 will detect that the UPN domain is federation with an Office 365 tenant. This result in a redirect
    to the on-premises federation endpoint (in this case sts.clouduser.dk) and depending on whether the user is domain joined and domain-connected or uses an external client, you will get
    single sign-on (SSO) or be required to enter your UPN and password.
    Because of the organizational relationship that was set up between Exchange Online and Exchange on-premises during the Exchange hybrid configuration lookups when booking
    meetings, mail tips, etc. also work as expected from Exchange Online to Exchange on-premises and vice versa.
    I hope this information will be helpful for you.
    Thanks and regards
    Shweta@G 

  • How do I find the number of users logged on another server?

    I'm trying to ping other servers and find the number of users logged on that server. Any leads?

    Do you need maybe something like this?
    FINGER(1) UNIX Reference Manual
    NAME
    finger - user information lookup program
    SYNOPSIS
    finger [-lmMspho] [user ...] [user@host ...]
    DESCRIPTION
    The finger utility displays information about the system users.

  • How to find the number of users log into ESS for last three months

    Hi Team
    Is there any transaction / Report to find the number of users logged into the ESS and used the payslip tab. Is this possible to find?
    Waiting for hopeful replies.
    Regards
    Bhaskar

    Bhaskar,
    you can use google analytics,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b94044-7008-2b10-1680-c04e4526367b
    jo

  • Scanner Sharing Only Working With a User Logged Into Host Computer

    I have been able to get my Brother MFC7020 to work perfectly with the network. I have gotten the scanning to work over the sharing system as well but with a weird glitch. I must have a user logged into the host computer in order for the shared scanner to appear in Image Capture. If I log out of the host computer, the scanner disappears. I have double checked my settings, I have locked the preference pane, and I still have this issue. For some reason when the host computer is idle at the login window I cannot access the shared scanner. Printing usually works however.
    I am running Snow Leopard 10.6.4 on all machines in the network and the host is a mini.

    Probably because the process is set up as a launch agent instead of a launch daemon. Agents launch when somebody logs in. Daemons can run when the system starts up or when someone logs in. You could try moving the plist (which is probably in /Library/LaunchAgents) to the /Library/LaunchDaemons folder and see what happens. But, if it is not designed to run in that environment, it won't work right.
    The plist should have a name like com.brother.something.plist. You will need to restart to get it to register correctly.

  • I cannot log into oracle using the user scott

    I installed oracle, but I did not go through the underlined step. I am not sure if I skipped or it was not there during the installation
    The Database Configuration Assistant will provide installation summary
    and list the accounts that are unlocked. It will ask you for password management. Sys
    and System accounts would be already unlocked.  Unlock HR and Scott accounts,
    and for these two accounts also specify the same password that you had given before.
    When I test logging into Oracle using the user Scott, it shuts down.
    I am using windows 7, and I installed Oracle Database 10g Release 2 (10.2.0.1.0)
    Enterprise/Standard Edition for Microsoft Windows (32-bit)
    How can I log into oracle using the user Scott?

    Hi,
    Welcome to the forum,
    After installing Oracle 10g SCOTT user will be in locked, you should unlock it.
    Login as sysdba using the below command
    sqlplus sys as sysdba
    password:<ur password>
    after connecting as sysdba use the below command to unlock the SCOTT user
    ALTER USER SCOTT ACCOUNT UNLOCK;
    Now connect as scott you will bw able to connect.
    hari

  • How we know the Number of users logged into stratus?

    Hai,
    How can we  know the number of users logged into stratus? If we knows only,in our project we can check the users are valid/authenticated.can we check that?
    Advanced Thanx

    Stratus is adobe service which provides you with p2p id or say all your
    application's users a p2p id. Adobe doesn't have any admin section where you
    can manage/see all connected p2p users in your application.
    This you have to implement at your end in your application code i.e.
    authentication,validation and user counter.
    Thanks,
    Vivek.

Maybe you are looking for

  • Restoring From Time Machine Migration Assistant (and other ??)

    Hello Please bear with me on this long question.... For several reasons I reinstalled ML which involves erasing the HDD first.  I do have everything bakced-up to Carbonite and TM.  Carbonite is slow as molassess so I opted to try Migration Assistant/

  • InfoPath - Directory Creation

    Can I use an InfoPath form to dynamically create a directory on a server? I need for my users to be able to upload a bunch of files at once, by selecting all of them at once instead of uploading them one at a time. And if I can configure an InfoPath

  • Error  while gather schema stats

    Hi, I am getting the error while gather schema stats -1 - ORA-00001: unique constraint (APPLSYS.FND_STATS_HIST_U1) violated Unable to correctly update the history table - fnd_stats_hist. -1 - ORA-00001: unique constraint (APPLSYS.FND_STATS_HIST_U1) v

  • Is is possible to use the MacBook pro as a handsfree for the iPhone?

    Why we cannot control de iPhone using the MacBook pro?. It should be very easy, but it is not. I even can't pair my MacBook pro with my iPhone, see pic! I really do not understand why we can not use the MacBook bluetooth capabilities to make calls, a

  • Adobe After effect cs5.5 Problem at the start

    the picture appear but its freeze on initializing mediacore , Can I Have a answer for this please ? Thanks