Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

command prompt question


  • Please log in to reply
2 replies to this topic

#1 rp-57

rp-57

  • Members
  • 464 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:oklahoma
  • Local time:11:38 AM

Posted 13 November 2014 - 10:08 PM

Hello,

 

I have windows 8 64 bit, I ran a command prompt and windows had a error of C:\windows\logs\cbs\cbs.log

 

and I wonder if this could be the cause of my pc not being able to restart when windows installs updates? and how do I get rid of this file I have tried to get rid of it but I'am not able to.

 

 

also the windows resource protection found corrupt files using command prompt.

 

any help is appreciated.



BC AdBot (Login to Remove)

 


#2 old rocker

old rocker

  • Members
  • 451 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:East Tennessee
  • Local time:12:38 PM

Posted 14 November 2014 - 01:43 PM

Hi,

 

Open an elevated command prompt in Windows 8...
http://www.bleepingcomputer.com/tutorials/open-an-elevated-command-prompt-in-windows-8/

 

Type the following...

dism /online /cleanup-image /restorehealth

Press <Enter> to execute the command.

 

This will take some time to complete. When it is finished, reboot your system.

 

Again, open an elevated command prompt and type the following...

sfc /scannow

Press <Enter> to execute the command.

 

The scan will take a few minutes to run, upon completion it will let you know the status of the scan.

 

Immediately following the displayed string type or copy/paste the following line...

"findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >%userprofile%\Desktop\sfcdetails.txt" (without the quotes)

Press <Enter> to execute the command.

 

Immediately following the displayed string type "exit" (without the quotes) and press <Enter> to execute the command and close the window.

 

Look for a new text document on your desktop named sfcdetails.txt.

 

Open the document and copy/paste the contents into your next post.

 

 

 

Best of luck and Please keep BC posted!



#3 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,364 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:09:38 AM

Posted 14 November 2014 - 02:12 PM

You need to open the Elevated Command Prompt and run as Administrator.

 

In Window 8 this can be accomplished very easily.

 

Press the Windows key windowskey_zps092d5c75.png and the X key at the same time.  In the menu which opens click on Command Prompt (Admin), this will open the Elevated Command Prompt with Administrator rights.


Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users