PC Review


Reply
Thread Tools Rate Thread

Access denied on remote registry access, from Win2003 sp1

 
 
Jan F. Jacobsen
Guest
Posts: n/a
 
      12th Aug 2005
Hi ....



Your help would be greatly appreciated.



Having developed a native C win32 system, that runs as a service, as LocalSystem account on a Windows 2003 server.



This service is accessing data (RegConnectRegistry() - read and writes) on remote client's (NT4 sp6a, W2K sp4 XP sp2 and W2003)

registry (HKLM\Software aso.), connecting as a domain administrator. No problem - every thing is ok.

But after updating the Windows 2003 server (the server with the service) to service pack 1,

My service gets 'access denied' when trying to access remote registry on all Windows 2000 professional client's,

but no problems on nt4, xp and w2003.



This problem can be replicated with help of native tools, like this:

1.. Use cmsasuser.exe on a windows 2003 server (can be found on the Internet), start it like this: cmdasuser localsystem, this will launch a command box in the security context of the localsystem.
2.. In this cmd box connect to at client computer like this: net use * \\client\c$ /u:domainadmin password
3.. Start (in same cmd box) regedit.exe and connect to the client's registry.
4.. Try this procedure with and without sp1 and against nt4, w2k, xp and w2003 computers.


Is this a bug in w2003 sp1 or ???





Regards

Jan

Denmark



 
Reply With Quote
 
 
 
 
Dave Patrick
Guest
Posts: n/a
 
      13th Aug 2005
Try setting up failure auditing on the local machine hive (affected
machines). Run regedt32.exe then browse to HKLM, then
Edit|Permissions|Advanced|Auditing|Add|"everyone"|OK then check the "Failed"
box on Full Control, Set Value, Create Subkey, Enumerate Subkey, Delete,
Create Link

Then check the Event log security for errors.


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Jan F. Jacobsen" wrote:
Hi ....



Your help would be greatly appreciated.



Having developed a native C win32 system, that runs as a service, as
LocalSystem account on a Windows 2003 server.



This service is accessing data (RegConnectRegistry() - read and writes) on
remote client's (NT4 sp6a, W2K sp4 XP sp2 and W2003)

registry (HKLM\Software aso.), connecting as a domain administrator. No
problem - every thing is ok.

But after updating the Windows 2003 server (the server with the service) to
service pack 1,

My service gets 'access denied' when trying to access remote registry on all
Windows 2000 professional client's,

but no problems on nt4, xp and w2003.



This problem can be replicated with help of native tools, like this:

1.. Use cmsasuser.exe on a windows 2003 server (can be found on the
Internet), start it like this: cmdasuser localsystem, this will launch a
command box in the security context of the localsystem.
2.. In this cmd box connect to at client computer like this: net use *
\\client\c$ /u:domainadmin password
3.. Start (in same cmd box) regedit.exe and connect to the client's
registry.
4.. Try this procedure with and without sp1 and against nt4, w2k, xp and
w2003 computers.


Is this a bug in w2003 sp1 or ???





Regards

Jan

Denmark




 
Reply With Quote
 
Jan F. Jacobsen
Guest
Posts: n/a
 
      14th Aug 2005
Nothing shows up in the security event log, so the access must be blocked before hitting the registry!
If adding the built-in group 'network' to the local administrators group, for testing - everything works again.

--
Regards

Jan F. Jacobsen
Microsoft Certified Systems Engineer

"Dave Patrick" <(E-Mail Removed)> wrote in message news:usX$(E-Mail Removed)...
Try setting up failure auditing on the local machine hive (affected
machines). Run regedt32.exe then browse to HKLM, then
Edit|Permissions|Advanced|Auditing|Add|"everyone"|OK then check the "Failed"
box on Full Control, Set Value, Create Subkey, Enumerate Subkey, Delete,
Create Link

Then check the Event log security for errors.


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Jan F. Jacobsen" wrote:
Hi ....



Your help would be greatly appreciated.



Having developed a native C win32 system, that runs as a service, as
LocalSystem account on a Windows 2003 server.



This service is accessing data (RegConnectRegistry() - read and writes) on
remote client's (NT4 sp6a, W2K sp4 XP sp2 and W2003)

registry (HKLM\Software aso.), connecting as a domain administrator. No
problem - every thing is ok.

But after updating the Windows 2003 server (the server with the service) to
service pack 1,

My service gets 'access denied' when trying to access remote registry on all
Windows 2000 professional client's,

but no problems on nt4, xp and w2003.



This problem can be replicated with help of native tools, like this:

1.. Use cmsasuser.exe on a windows 2003 server (can be found on the
Internet), start it like this: cmdasuser localsystem, this will launch a
command box in the security context of the localsystem.
2.. In this cmd box connect to at client computer like this: net use *
\\client\c$ /u:domainadmin password
3.. Start (in same cmd box) regedit.exe and connect to the client's
registry.
4.. Try this procedure with and without sp1 and against nt4, w2k, xp and
w2003 computers.


Is this a bug in w2003 sp1 or ???





Regards

Jan

Denmark




 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a
 
      14th Aug 2005
Yes then I would agree. Your problem lies somewhere within a policy for
machine access from the network. Control Panel|Admin Tools|Local Security
Policy\Local Policies

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Jan F. Jacobsen" wrote:
Nothing shows up in the security event log, so the access must be blocked
before hitting the registry!
If adding the built-in group 'network' to the local administrators group,
for testing - everything works again.

--
Regards

Jan F. Jacobsen
Microsoft Certified Systems Engineer


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Remote registry request access denied Mr. Arnold Windows Vista Security 0 9th Oct 2008 03:38 AM
Re: Remote registry request access denied Mr. Arnold Windows Vista Security 0 9th Oct 2008 02:38 AM
Re: Remote registry request access denied Mr. Arnold Windows Vista Security 0 8th Oct 2008 05:54 PM
Re: Remote registry request access denied Mr. Arnold Windows Vista Security 1 8th Oct 2008 04:31 AM
Remote Registry access denied problems to SP2 machines Guillermo Bertossi Windows XP Security 0 13th Dec 2004 07:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:50 PM.