How to take care of your Dog?

VPN error on XP: Database handle is corrupt.?

Cassie - 2008-01-12 19:23:30 - Computer Networking

Hi, I'm trying to set up a VPN server on my pc, and I get the ff. error: "An internal error has occurred: The local user database handle is corrupt." The error pops up after I clicked on "Allow virtual private connections" option (via New Connection Wizard). Then clicking "OK" to the error brings me to the "User Permissions window" which is blank (there are no users listed). So I decided to add a user, and it gives me another error: "The new user you entered was not added to the local user database because the name or password entered violated a system policy (it was too large, too small, or ill-formed)." Is there anyway to fix this without reinstalling Windows? I am using Windows XP a linksys router. When I try to setup the VPN server on my laptop using the same connection and O/S, it works flawlessly. If there is absolutely no fix for this, can someone tell me of another way to set up a VPN server? Please post guides/links/recommended sofware/etc. Thanks! Oh and yes, I have admin privileges. Hi Tom, thanks for your reply! Unfortunately there was no list (came up blank i.e. went to the netsh prompt again) when I did "ras show user" in step 5. I went to "Computer Management" to check, and there are "Users" listed. So I tried to do step 6 "ras set user CASSIE PERMIT NONE" and chose a user (cassie) with admin priviliges, and it just gives me the error "The parameter is incorrect." Tried creating another user, etc., but to no avail. I get the same error msg above. Any other suggestions?


Best Answer:

Disclaimer: I have never experienced this problem. Putting "local user database handle is corrupt" in your favorite search engine will turn up various threads on this subject, most of which come to the same solution you've found - reinstall the operating system (ugh!). I found the information below at the link in the Source part of this message. I cannot verify the accuracy of the information nor can I tell you the original source. 12/18/2007 Solution: The local user database handle is corrupt This usually occurs when you are setting up a VPN incoming connection in Windows XP/2003. It's been "well-known" for years not because of the frequencies of its occurrence, but because there is NO fix for it, and even you call Microsoft for the tech-support. However, there is a FIX to this issue, which is to use the DOS command line. "The local user database handle is corrupt" error message doesn't cause the entire VPN configuration failed. It only gives you a hard time to select the users who will be allowed to log on to your VPN. But please do not forget one thing, we fortunately still have a DOS command tool - NETSH. This can help us in this issue instead of implementing the "terrible" solution from MS of re-installing your OS. Here is my way to get away from "The local user database handle is corrupt": 1. Continue the creation of your incoming VPN connection (When you see the error message, just click on OK and then go NEXT) 2. After you finish the creation, you will still see a VPN connection icon shown below the Incoming Connection group in Network Connection 3. Run "cmd" as administrator 4. Type in "netsh", and enter 5. "ras show user" will list all local accounts and their RAS (Remote-Access-Service) permissions. 6. The default permission to each account should be denied by policy. To make a specific user account be PERMIT (meaning to allow the user to use VPN), use the following command: ras set user USERNAME PERMIT NONE 7. After you press ENTER, the specified user account will be good to use. Above steps are necessary, and equivalent to use the dialog window to select allowed user accounts for VPN service. It is better and easier to use if someone makes this in a VBs or batch file. 14-JAN-2008 update: Thanks for updated info in your problem. Sorry, I don't have any additional info nor ideas.

More Answers:

tom_gronke - 2008-01-12 21:34:04
Disclaimer: I have never experienced this problem. Putting "local user database handle is corrupt" in your favorite search engine will turn up various threads on this subject, most of which come to the same solution you've found - reinstall the operating system (ugh!). I found the information below at the link in the Source part of this message. I cannot verify the accuracy of the information nor can I tell you the original source. 12/18/2007 Solution: The local user database handle is corrupt This usually occurs when you are setting up a VPN incoming connection in Windows XP/2003. It's been "well-known" for years not because of the frequencies of its occurrence, but because there is NO fix for it, and even you call Microsoft for the tech-support. However, there is a FIX to this issue, which is to use the DOS command line. "The local user database handle is corrupt" error message doesn't cause the entire VPN configuration failed. It only gives you a hard time to select the users who will be allowed to log on to your VPN. But please do not forget one thing, we fortunately still have a DOS command tool - NETSH. This can help us in this issue instead of implementing the "terrible" solution from MS of re-installing your OS. Here is my way to get away from "The local user database handle is corrupt": 1. Continue the creation of your incoming VPN connection (When you see the error message, just click on OK and then go NEXT) 2. After you finish the creation, you will still see a VPN connection icon shown below the Incoming Connection group in Network Connection 3. Run "cmd" as administrator 4. Type in "netsh", and enter 5. "ras show user" will list all local accounts and their RAS (Remote-Access-Service) permissions. 6. The default permission to each account should be denied by policy. To make a specific user account be PERMIT (meaning to allow the user to use VPN), use the following command: ras set user USERNAME PERMIT NONE 7. After you press ENTER, the specified user account will be good to use. Above steps are necessary, and equivalent to use the dialog window to select allowed user accounts for VPN service. It is better and easier to use if someone makes this in a VBs or batch file. 14-JAN-2008 update: Thanks for updated info in your problem. Sorry, I don't have any additional info nor ideas.

Drake Lu - 2008-01-17 13:28:54
Hi, well, NETSH works perfect for me. If you are getting an error msg "The parameter is incorrect", actually, you are lucky, you are still good to go. you just have to keep playing around with your "inputs". Believe me, the above solution is working, I just tested again. Please be careful of those space you entered. ras set user CASSIE PERMIT NONE there is a space between each word, case NON-sensitive, and before you run this command, you have to run "netsh" then press enter. so you will see: netsh>ras set user CASSIE PERMIT NONE

map google sitemap
Copyright© Dog-Trader.com, it's all about Dogs | Privacy Policy