Skip to main content


Showing posts from January, 2016

Able to ping but cannot browse in Windows

If the PC, Laptop or Server has ever worked before then it will be easier to troubleshoot.
Since it has worked before, what are the changes done to the machine?
If there are quite a few changes done to the machine, undo or remove all the changes done.
After removing or undoing all the changes, check whether web page will load or not.
If still not working, try "resetting" the browser settings.
For IE or Internet Explorer, go to "Tools", click "Internet options", click "Advanced" tab and click on "Reset" button.
Close the browser and open again, check whether the page will load or not.
If still not loading, open an elevated command prompt and do the following one by one:

To open an elevated command prompt you need administrator credentials, check out the link below on how to open an elevated command prompt.
ipconfig /flushdns

ipconfig /release

netsh winsock reset


PowerShell Get Registry Values or Entries

Navigating the registry is sometimes annoying you need to click here and there.
With the use of PowerShell life can be easier, provided you know exactly the complete registry path.
Below is a PowerShell cmdlet that will list all the software that will run automatically on the computer for all users.
Get-ItemProperty -Path Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

The PowerShell cmdlet below will list the software that will run automatically for the currently logged on user in which the command is executed.
Get-ItemProperty -Path Registry::HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Sample Output:

Akamai NetSession Interface : "C:\Users\User_007_JB\AppData\Local\Akamai\netsession_win.exe" ISUSPM: "C:\ProgramData\FLEXnet\Connect\11\ISUSPM.exe" -scheduler Sidebar: C:\Program Files\Windows Sidebar\sidebar.exe /autoRun LightScribe Control Panel: C:\Program Files\Common Files\LightScribe\LightScribeControlPanel.exe -hidden PSPath: Micros…

Download Windows 10 ISO

Ever want to download the ISO file for Windows 10 but keeps getting an error.
To download Windows 10, click on the link below and on Microsoft Webpage scroll down and click on "Download tool now". Click "Using the media creation tool" on how to use this tool.
Link to download Media creation tool:

Download the tool; once its downloaded the file name should be "Media Creation Tool".

ISO file is around 3GB so depending on your bandwidth it make take some time. If your bandwidth is not reliable use a browser that continue or resume the download, even though the connection was disconnected. Firefox supports this feature.
If the tool is executed at an elevated mode, you will receive an error like:

There was a problem running this tool
We're not sure what happened, but we're unable to run this tool on your PC. If you continue experiencing problems, reference the error code when contacting custome…

List all files with a particular extension using PowerShell

One liner command to list files with a specific extension in a given path.

Command below will list all the file that will match and display it's file name, file size and the directory where the file is located or found.

The output of PowerShell is redirected to a text file.


$FilesDir = get-childitem "d:\CertKeys" -recurse | where {$_.extension -eq $FileExtension } | format-table name,length,Directory -AutoSize

$FilesDir | out-file "d:\certkey.txt"

Or save some few bytes by using the shorter form of the cmdlets.


$FilesDir = gci "d:\CertKeys" -recurse | ? {$_.extension -eq $FileExtension } | ft name,length,Directory -AutoSize

$FilesDir | out-file "d:\certkey.txt"

Sample Output:
Name                          length         Directory 
----                              ------          --------- 
ca.key                        963    D:\CertKeys\apache\ssl.key 
server.key        …