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

%_ADMIN always returns 0

Discussion in 'Support' started by MartinRichter, Apr 6, 2011.

  1. MartinRichter

    Joined:
    Sep 10, 2009
    Messages:
    26
    Likes Received:
    0
    When I start TCC as Admin and I execute ECHO %_ADMIN I always retrieve 0. Shouldn’t it be 1.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
    I am using 12.01.56.

    TIA<o:p></o:p>
    <o:p> </o:p>
     
  2. Fross

    Joined:
    May 30, 2008
    Messages:
    224
    Likes Received:
    1
    Hello Martin,

    I get exactly the same error on one of my machines, but not the other. I
    believe it has something to do with being domain joined, but I could not get
    repeatable results.

    However, %_Elevated seems to work fine for me on both machines.

    Michael


    On Wed, Apr 6, 2011 at 2:32 AM, MartinRichter <> wrote:


     
  3. thedave

    Joined:
    Nov 13, 2008
    Messages:
    254
    Likes Received:
    2
    On Wed, 06 Apr 2011 09:05:35 -0400, frossm <> was
    claimed to have wrote:


    For whatever it's worth:

    ]echo %_admin %_elevated
    1 1

    Windows 7 Pro x64, domain joined, not a domain admin.
     
  4. MartinRichter

    Joined:
    Sep 10, 2009
    Messages:
    26
    Likes Received:
    0
    Just some further Info:
    - I am also in a domain.
    - I am a a local admin (Member of the local group Administrators)
    - UAC is enabled
    - TCC started "As Admin"
    - Windows 7 (64bit)
    - TCC 12.1 (32bit)

    Code:
     
    TCC  12,10,56   Windows 7 [Version 6,1,7601]
    Copyright 2011  Rex Conn & JP Software Inc.  Alle Rechte vorbehalten
    Registriert auf Martin Richter - 1 System License
     
    C:\>echo %_ADMIN %_elevated
    0 1
    C:\>
    
     

Share This Page