Showing posts with label Run as Administrator. Show all posts
Showing posts with label Run as Administrator. Show all posts

Thursday, May 14, 2015

How to run the System File Checker(SFC) program?

After using the computer you may reach a situation that something or the other not working, perhaps it is the browser, perhaps it is some device on your computer. The reason could be corruption of the system files.

This can be fixed using the SYSTEM FILE CHECKER program on your computer. It is located as shown
in the next image.

 
This program requires elevated permissions and should be run by the administrator.
This is a two-step process:
1st Step: Start Command window with administrative privileges. The second step [running SYSTEM FILES CHECKER (sfc )] cannot be run if you are not the administrator of the computer.
Close all open programs
Click on Windows Icon at bottom left extreme and this will bring up a window on top of it as shown. In the place which says ‘Search Programs and files’ type-in cmd as shown.
 

 After you type-in you should see that search brings up the following: (notice the cmd at the very top)
 
 

2.  Go to the very top. Place your mouse on cmd but do not click. Now right click on cmd and a menu opens up as shown.
 

Click on ‘Run as administrator’
The above window goes away and your display goes dark and a small window asking ‘Do you want to allow the following program to make changes to this computer’ is displayed. In the bottom there is a ‘Yes’ and a ‘No’.
3. Click Yes. The screen becomes visible and you will see the following window. In my case it is white and in yours probably black with white letters:
 

You should see ‘Administrator’ at the very top as shown in the above.
This is the window that allows you to make changes to your computer.
Step 2: Running the SFC program that fixes system files.
Type in as shown: Spelling is important. After typing in sfc leave a space and then type the rest.
 

After typing in as shown hit ENTER on your key board.
The process may take some time. You should see the progress as shown:
 

Note: I did not have any serious problems, but to show you the steps I ran this program. It does take quite a bit of time as it goes through the whole system.
However the program cleaned up my files:
 
 


You can check the log file at the above indicated location.
 

Monday, November 10, 2014

What is the difference between Windows PowerShell and Windows PowerShell ISE?

Windows PowerShell is not a GUI application and it runs the PowerShell engine in the host program. You will see the following screen displayed when you access Windows PowerShell from the Search charm on Windows 8.1.


If you choose to launch you should search for 'Windows PowerShell ISE. The following screee will be displaced. It is rich interface that has many features including interactive help in scripting. If you are new to Power Shell you should begin your learning with this tool.


You can launch them as administrator which gives you more power (Run as Administrator) and is called launching with elevated permissions.

You can launch multiple instances.

You may be interested in these two posts as well:
http://hodentekmsss.blogspot.com/2014/11/a-quick-note-on-writing-powershell_12.html
http://hodentekmsss.blogspot.com/2014/11/a-quick-note-on-writing-powershell.html

Do you know that Here-Strings are?
Find it here:
http://hodentekhelp.blogspot.com/2015/06/what-is-here-string-in-windows.html