Page 1 of 1 1
Topic Options
#196909 - 2009-12-01 04:48 PM Kixart 2010 4.61 and @PRIV on Windows 7
Luchino Offline
Fresh Scripter

Registered: 2009-11-26
Posts: 5
Loc: Italy
Hi, all

I use Kix32 4.61 in console (from batch).
I use the macro @PRIV for testing if user have admin privilege.
My script working fine on XP and VISTA.

My problem is that on WIndows 7 the macro @PRIV return GUEST.

I dont understand why? The (login) is an administrator.

Can someone help me?

Regards.

Luca

Top
#196910 - 2009-12-01 04:58 PM Re: Kixart 2010 4.61 and @PRIV on Windows 7 [Re: Luchino]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4574
Loc: USA
It could have something to do with the UAC. However, I have found in the past the @Priv macro was not quite always up to the task.

Try using LocalAdmin to see if you get better results. - http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=84156
_________________________
(... better days ahead)

Top
#196915 - 2009-12-01 05:18 PM Re: Kixart 2010 4.61 and @PRIV on Windows 7 [Re: Allen]
Luchino Offline
Fresh Scripter

Registered: 2009-11-26
Posts: 5
Loc: Italy
Thanks very much Allen!
The function LocalAdmin working fine.

Hi,
Luca.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 988 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.05 seconds in which 0.022 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org