Tweaking.com Support Forums

Main Forum => General Computer Support => Topic started by: garegin on May 18, 2015, 12:21:01 pm

Title: dism says the c:\windows is not a valid windows directory, dism.log is linked
Post by: garegin on May 18, 2015, 12:21:01 pm
I get a black screen with a mouse cursor when I try to boot. Ctrl+alt+del, doesn't work. When I try to run dism /cleanup-image it throws an error. The dism.log on the google drive is linked here.

https://drive.google.com/file/d/0B1lqZhpyr-KQQ1F2N1hlRFFNUEU/view?usp=sharing
Title: Re: dism says the c:\windows is not a valid windows directory, dism.log is linked
Post by: Shane on May 18, 2015, 02:39:55 pm
From the looks of the log file it is either something wrong with the file system or the permissions are screwed.

First thing to do is a chkdsk on the drive and have it check for bad sectors as well.

Had a customer today whos system was going bonkers, no infections and everything I found wrong seemed to be hard drive related, thought for sure she had bad sectors. So did a chkdsk and had it look for bad sectors, it found no bad sectors but did find problems with the file system which it fixed, then at reboot everything was working like it should.

I am still replacing the drive later this week as it is an old drive and the smart status is showing it isnt in the best of health, plus the file system should just mess up out of no where.

So what I would do on yours is a chkdsk first, then once done see if you can get into safe mode and if you can run my repairs, all of them and it should fix the permissions and so on.

For it to say Windows isnt a valid folder means a bad file system or corrupted permissions, also the permissions are stored in the file system, so that chkdsk is the best first step.

Shane
Title: Re: dism says the c:\windows is not a valid windows directory, dism.log is linked
Post by: garegin on May 18, 2015, 03:27:37 pm
it's not bad sectors nor the filesystem. I've check both. How would I fix permissions? I can't run tweakingtool in an offline mode, right?
Title: Re: dism says the c:\windows is not a valid windows directory, dism.log is linked
Post by: Shane on May 18, 2015, 03:32:45 pm
The file permissions can be ran actually, just not the others because of the registry. So if the drive was hooked into another system and had a drive letter of its own you could run the file permissions repairs on that drive.

I havent tested what is needed for the program to run in Windows PE.

Shane