Month: September 2017

Command to open folder in explorer from same location.

Trick to open a GUI folder from command prompt.

In order to to open a GUI folder from command prompt and list all its content you may just enter the command start followed by a period as shown below:

start.

VICE-VERSA: Similarly, if you wish to open a command prompt from a GUI folder, you can shift-right-click on a desired folder and select “Open command window here”. This should take you to the command prompt.

Thanks,
WintelAdmin

Filed under: Windows(2003/2008/2012)Tagged with: , , , , , , ,

Get-Hotfix Powershell to find Patches installed on Specific Date.

Get-Hotfix Powershell Command to find Patches installed on Specific Date.

There was a request to verify the list of servers if those were patched recently. I succeeded in verifying the servers using the below powershell command.

get-hotfix -CN “Server1″,”Server2″,”Server3” -CRED “Domain\username” | select csname,hotfixid,installedon,description,installedby | where {$_.installedon -gt “8/1/2017”} | Sort-Object csname | format-table

Thanks,
WintelAdmin

Filed under: Powershell (Tutorial), Windows(2003/2008/2012)Tagged with: , , , , ,

Non-compliant with MS Patches using SCCM

Non-compliant with MS Patches

Found few servers to be non-compliant from the patching team. When checked, found that the patches were getting failed when deployed using SCCM. This issues was fixed by renaming the folder named “SoftwareDistribution” located in C:\Windows\. Further to this found that the service named “Windows Modules Installer” was disabled. Changed it to manual. Now the SCCM pop-up and view updates in Control Panel were populated.

Thanks,
WintelAdmin

Filed under: SCCM (Image/Deployment), Windows(2003/2008/2012)Tagged with: , , , , , ,