1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

run as limited user

Discussion in 'Support' started by Stefano Piccardi, Feb 27, 2012.

  1. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    I need to run TCC as a limited user starting from an Administrator's TCC shell. Since I did not find a pertinent startup command-line switch or START option I'm now experimenting with Sysinternals' psexec, and I get an issue.
    Code:
    CDD P:\jpsoft\TCMD13\
    psexec.exe -l P:\jpsoft\TCMD13\tcc.exe
    
    Why can't TCC find its dll and is there anything I can do to fix it?
    I verified that psexec starts TCC in P:\jpsoft\TCDM13 which is also in the PATH.
    The psexec help text for -l says: "Run process as limited user (strips the Administrators group and allows only privileges assigned to the Users group). On Windows Vista the process runs with Low Integrity."
    Versions: TCC 13.03.38 Windows 7 [Version 6.1.7601] 32-bit.
    Thank you.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,730
    Likes Received:
    80
    Why can't you use "START runas user password" ?

    Probably a permissions issue -- if you installed TCMD / TCC as an administrator, a standard user won't be able to see the files. And it isn't a TCC error; that message is coming from the Windows loader. No TCC code is ever executed.
     
  3. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    You're absolutely correct. It hadn't occurred to me to test CMD.exe in the same situation and voilĂ 
     

Share This Page