none
How to switch the user RRS feed

  • Question

  • Hi all,

    I need switch with user2 to user1 using the command or if there is another possibility

    user1 is admin

    user2 can only run only specific programs

    Thank you.

    Monday, May 16, 2016 8:13 AM

All replies

  • If you are trying to run an application in user2 that can only run in user1, try using the RUN AS command.

    If you are trying to switch user accounts say log off user2 and log in user1, try using the tsdiscon or tscon commands.


    Sean Liming - Book Author: Starter Guide SIM (WEI), Pro Guide to WE8S & WES 7, Pro Guide to POS for .NET - www.annabooks.com / www.seanliming.com

    Monday, May 16, 2016 9:33 PM
    Moderator
  • Our bass-ackward application needed this. (Don't ask)

    If you use GPEDIT to give user2 "debug" then it can start stuff as "user1" 

    computer configuration -> widows settings -> security settings -> local policies -> user rights assignments

    look for "debug programs" here, add user2 and all of a sudden. pwnage!


    =^x^=

    Tuesday, May 17, 2016 3:35 AM
  • tscon can logon if user1 have session active only I need command who can logon on user1 if his session is closed.

    I mean that on start computer automatic logon user2 but maybe time need logon on user1

    tsdiscon can switch users, I need logon user1 if his is not logged

    Tuesday, May 17, 2016 8:31 AM
  • Do you have any suggestions or solutions to this problem ??
    Friday, May 20, 2016 6:08 AM