Solved

Userenv.log Problem

Posted on 2002-04-09
9
265 Views
Last Modified: 2012-08-14
After i had perform the following command: -
  secedit /refreshpolicy machine_policy /enforce
   or
  secedit /refreshpolicy user_policy /enforce

The following error appear in c:\winnt\system32\Userenv.log: -
  userenv WriteStatus : Failed to create reg key with 5.

Can someone help me to resolve it. Once thie error occur, the domain policy couldn't be propgate to the domain machine.
0
Comment
Question by:cclim
  • 4
  • 4
9 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 6928103
>>userenv WriteStatus : Failed to create reg key with 5.

Error Code 5 is for

//
// MessageId: ERROR_ACCESS_DENIED
//
// MessageText:
//
//  Access is denied.
//
#define ERROR_ACCESS_DENIED              5L

It seems that the security settings for the key you are trying to create the subkey in don't allow this...
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 6929032
jkr, are you saying this is most likely registry key right?

Thanks
0
 

Author Comment

by:cclim
ID: 6930105
jkr, how to resolve it? or how should i determine which registry key is giving error?
0
 
LVL 86

Expert Comment

by:jkr
ID: 6930116
Well, as you know which keys you want to add, either use an account that can handle that or set the access rights for the parent keys accordingly...
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 86

Expert Comment

by:jkr
ID: 6938240
Well, did that help?
0
 

Author Comment

by:cclim
ID: 6941099
jkr, another problem prompt at the userenv.log

"USERENV(12c.1b0) 10:01:17:890 MyGetUserName:  GetUserNameEx failed with 1722."

Any idea? I know it is somethind to do with DNS but i had try to ping the dns also nslookup from this machine,it seem like i have a correct ip for the dns server. (For ur info, this machine have more than 1 NIC card).

0
 
LVL 86

Accepted Solution

by:
jkr earned 300 total points
ID: 6941869
//
// MessageId: RPC_S_SERVER_UNAVAILABLE
//
// MessageText:
//
//  The RPC server is unavailable.
//
#define RPC_S_SERVER_UNAVAILABLE         1722L

Are you trying to access a DC that isn't there?
0
 

Author Comment

by:cclim
ID: 6942714
jkr, the DC is the same machine as DNS.all other machine that join to this DC had no problem except for this. This machine is located in different segment with DC, seperate by a firewall. But previously it had no problem. Only recently, these 2 error occur.

Is there any services i need to reverify? such as computer browser and etc?Also how do i check whether the DC machine had the DC being configure correctly?
0
 

Author Comment

by:cclim
ID: 6958803
jkr, thks for the comment.It help me a lot.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In  today’s increasingly digital world, managed service providers (MSPs) fight for their customers’ attention, looking for ways to make them stay and purchase more services. One way to encourage that behavior is to develop a dependable brand of prod…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now