Jump to content
Compatible Support Forums
Sign in to follow this  
korn11

Access denied in DOS

Recommended Posts

First of all I am kinda new to all this so hope this makes sense and somebody could make a suggestion.

 

I was in the middle of a system restore and my comp died (not really sure why) but now when I start up I get a black screen and just my mouse pointer. I went to hp website and they had a step by step how to fix this, but in DOS, when I try to do the following command, I get error " Access is Denied"

 

expand lsass.ex_ c:\windows\system32

 

Any way around that? any info is greatly appreciated!

 

Thanks

Share this post


Link to post

Well, that "lsass.exe" is in use when you have started XP/200x and it does not let you replace it.

 

You need to do this from Windows recovery console.

 

But, first type "gpedit.msc" to Start->Run dialog to start Group Policy Editor.

Select:

Computer Configuration->Windows Settings->Security Settings->Local Policies->Security Options, then double-click "Recovery Console: Allow floppy copy and access to all drives and all folders." Select Enabled, then click OK.

Close Group Policy Editor.

 

Put your Windows cd to cdrom drive and reboot.

Start from cd and when you get to "Welcome to Windows setup" screen,

Windows 2000

Select "r" for repair.

Then select "c" to use recovery console.

Windows XP

Select "r" for repair.

 

Select your Windows installation (default is 1), login to system with your Administrator account.

When logged in successfully, execute following commands:

 

"set AllowAllPaths = TRUE"

and:

"expand %cdromdrive%:\i386\lsass.ex_ c:\windows\system32"

(Replace the %cdromdrive% with your cdrom drive letter. eg. D )

Then write "exit" and reboot your system.

 

Good luck smile

Share this post


Link to post

Hey Thanks guys. I haven't tried it yet but really appreciate the info and help!!!

 

Thanks again! :-)

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×