System error 5 has occurred.

by admin on August 30, 2010

In Windows Vista and Windows 7 when you run some previliged commands from command prompt you may get system error 5.  On these Windows editions, commands that need administrator previliges should be run from elevated command prompt. Othewise we would get this error like below.

C:\>net user techblogger /add
System error 5 has occurred.
Access is denied.
 
C:\Users\srinus>

Now open elevated administrator command prompt as explained in the below article.

How to open elevated administrator command prompt

Now if you run the same command from the elevated command prompt you will not see any issue.

C:\Windows\system32>net user techblogger /add
The command completed successfully.
C:\Windows\system32>

{ 0 comments… add one now }

Leave a Comment

HTML tags are not allowed.

Previous post:

Next post: