Have program start at logon for everyone EXCEPT administrator?

Posted on 2005-05-16
Last Modified: 2010-04-14
I've got teller machines that should run a program everytime a teller logs in. The problem is it gets annoying when I logon as administrator. Is there a way to set it to run for everyone, except admin?
Question by:hullc65203
    LVL 18

    Expert Comment

    Are you in a domain? You could set this up via group policy and a logon script. You could apply the group policy only to the persons you wanted the program to run for.

    If it is locally then you can still do this using group policy and denying the admin group read access to the policy....but you'd have to touch each machine.
    LVL 16

    Accepted Solution

    If the program starts from the startup program files group, you can deny the account you are logging on with access to the file shortcut.  If it is the only startup item, you can hold down the control key as you are logging on.

    LVL 14

    Expert Comment

    >>run for everyone, except admin?<<

    If you can start the teller program with a bacth or logon script.

    @echo off
    if /I %username% == Administrator goto done
    call teller.exe


    Author Comment

    I'd forgotten about that. Sometimes the simplest answer is the best.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    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…
    Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now