#4 Win32 Registry Access requires Administrator privileges

open
nobody
None
5
2005-05-21
2005-05-21
TJ
No

Geo-IP 1.21 in ActiveState Perl 5.8.6 build 811, on
Windows 2003 Server Enterprise Edition.

Using Geo-IP with AwStats 6.4

Tested AWStats+Geo-IP successfully when logged in as
Adminstrator.

The server uses Scheduled Tasks that run overnight,
with a dedicated user account Machine_Name\Scheduled.

When testing the scheduled tasks the process would hang
up, with task manager showing perl.exe tasks active but
hung.

Using Process Explorer discovered that a DrWatson
instance had captured an unspecified error, and there
was a reference to this in the System Event Log, but no
detail.

The processes had to be manually killed.

Using the sysinternals.com tools File Monitor and
Registry Monitor I discovered that GeoIP attempts to
use RegCreateKey on its HKLM\MaxMind\GeoIP key and gets
access-denied responses because members of the User
group (of which the Scheduled account is a member) only
have read privileges to the key.

I had to manually give the Machine_Name\Scheduled
account full privileges in order for the Scheduled
Tasks to run.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks