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

No Error Message when running mklink as limited user

Discussion in 'Support' started by RichieTheK, Jun 10, 2010.

  1. RichieTheK

    Joined:
    May 18, 2010
    Messages:
    3
    Likes Received:
    0
    Running the mklink command as a limited user does not produce an error message; rather it indicates that the link was successfully created. Mklink requires elevated administrator rights under Visa and Windows 7, so some sort of error should have been reported. The TCMD help file also does not mention that mklink requires elevated administrator rights under Vista and Windows 7.

    This behavior was observed with TCMD v 11.0 build 49 (64-bit) running under Windows 7, 64-bit.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,732
    Likes Received:
    81
    It's a Windows API issue -- MKLINK is calling the Windows CreateSymbolicLink
    API, and returning its result. Not much TCC can do if Windows is lying
    about the outcome!

    (BTW, the Microsoft documentation on CreateSymbolicLink says nothing about
    it requiring admin rights.)

    Rex Conn
    JP Software
     
  3. dbartt

    Joined:
    May 29, 2008
    Messages:
    36
    Likes Received:
    0
    The help for @ipaddress has an example of echo %@ipaddress[] which doesn't seem
    to work anymore.

    The help for @ipname has an example of echo %@ipaddress[0]. Should be echo
    %@ipname[0].
     
  4. Rod Savard

    Joined:
    May 26, 2008
    Messages:
    481
    Likes Received:
    3
    I just tried this with TCC LE 11.00.48 on Windows 7 x64. Not running in elevated mode.

    mklink /d reports that "A required privilege is not held by the client."
    mklink /j works fine without elevation
     

Share This Page