TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
amyra_taurus
NA
1
0
Interesting issue with windows security
Sep 22 2005 12:32 AM
Hi All: I have developed a .NET windows application which uses a third party database server. The db server can be installed as a service but the user which starts this service must be very restricted due to security reasons. So in the installation of my application I first create a user and then I install the db server and then I install my application. I use following script to create the user: net user /add /y dbuser password /EXPIRES:NEVER /COMMENT:"DB Service Account" /FULLNAME:"DB Service Account" ntrights -u dbuser +r SeServiceLogonRight ntrights -u dbuser +r SeNetworkLogonRight ntrights -u dbuser +r SeInteractiveLogonRight This works fine initially till the clients have power outage. Once they start PC back up after power has come back for some reason this user can't start the db service. The error we get is "1069 logon failure". Basically to fix this problem I have to go into "users and password" and set the password for this user again to the same password as original during install time and then every thing starts working. I am not sure why after a power outage this user would lose its password? Maybe the user is created or given the rights is not correct? Any help in this regard would greatly be appreciated. Thanks Karim
Reply
Answers (
0
)
how to access private key of a certifcate from cert store
X.509 Certificates for web applications authentication and authorization (How to?)