?
Solved

Userenv.log Problem

Posted on 2002-04-09
9
Medium Priority
?
283 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
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
 
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 900 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

770 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