Author: WintelAdmin

WintelAdmin.com in Top Microsoft Windows Blogs list!

Thanks to all our readers, WintelAdmin.com has made it to this Top Microsoft Windows Blogs list! prepared by Feedspot.com This is the most comprehensive list of best Microsoft Windows blogs on the internet and I am honored. Thanks once again to all my readers.

Special Thanks to Feedspot.com.

Microsoft Windows Blogs

Filed under: x Updates (Wintel Admin)Tagged with: , , , , ,

Convert a snapshot file to memory dump.

A very recently one of our Windows 2012 servers was getting hung, and we were not able to collect dump file. Fortunately, this was a VM and we had an option to convert VM snapshot to a memory dump that can be used for the RCA.

Well, in order to  get this file converted we needed a separate tool named vmss2core

This can be downloaded from Fling link

Once you have downloaded, extract the file named vmss2core.exe.

Open command prompt and change the current working directory to the location where you have the file.

Run the vmss2core tool with the option to create a memory dump.

vmss2core -W virtual_machine_name.vmss virtual_machine_name.vmem

Note: If you are using Microsoft Windows 8/8.1 or Windows Server 2012, run this command:

vmss2core -W8 virtual_machine_name.vmss virutal_machine_name.vmem

This will create a new dump file in same location with an extension of *.dmp, which can be used for dump analysis.

 

Thanks,

WintelAdmin

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

Slow mouse movement in Windows 2012 ?

Slow mouse movement in Windows 2012 ?

When connected to Windows 2012 server using RDP, cursor / mouse movements are very slow. Sometimes this is very horrible while troubleshooting any issue. Well when checked this was all due to the pointer shadow that was on. There needed it to disable and once done cursor movement was back on its normal speed.

Please follow the steps listed below to disable the pointer shadow quickly:

  • Start main.cpl ,1
  • Press Alt key and E.
  • Press Alt key and A.
  • Press Esc key.

Note: Please execute the above mentioned commands in its sequence in command prompt.

 

Thanks,

WintelAdmin

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

How to reduce the size of datastore.edb?

How to reduce the size of datastore.edb?

If your software distribution folder consuming more disk space? Is it good to delete the folder? Hey, before you delete teh folder you have an option to defrag the datastore file to recover free disk space. This will keep you in safe zone.

datastore.edb is located at c:\windows\softwaredistribution\software. In order to shrink its size, please follow the steps listed below:

Stop windows update and Bits service.

Open command prompt and execute the below command:

esentutl.exe /k c:\Windows\SoftwareDistribution\DataStore\DataStore.edb

For help type

esentutl.exe /?

You can also defrag and repair. If problems were detected in the verify do a recovery followed by a repair.

esentutl.exe /r c:\Windows\SoftwareDistribution\DataStore\DataStore.edb
esentutl.exe /p c:\Windows\SoftwareDistribution\DataStore\DataStore.edb

For me, defragging helped to recover around 200 MB free space.

esentutl.exe /d c:\Windows\SoftwareDistribution\DataStore\DataStore.edb

Thanks,
WintelAdmin

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

RDP – The client could not establish a connection to the remote computer.

The client could not establish a connection to the remote computer.

Had issues connecting to one of the Windows 2008 R2 Server using RDP. Got the below error:

[Window Title]
Remote Desktop Connection

[Content]
The client could not establish a connection to the remote computer.

The most likely causes for this error are:
1) Remote connections might not be enabled at the remote computer.
2) The maximum number of connections was exceeded at the remote computer.
3) A network error occurred while establishing the connection.
4) The remote computer might not support the required FIPS security level. Please lower the client
side required security level Policy, or contact your network administrator for assistance.

[OK] [Help]

When checked event log, found Event ID 50 Summary: The RDP protocol component X.224 detected an error in the protocol stream and has disconnected the client.

This issues was solved by changing the Security Layer at the RDP stack to RDP Security Layer from Negotiate.
This can be changed by going to Remote Desktop Host Configuration – General

Thanks,
WintelAdmin

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

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: , , , , , ,

Stop multiple services starting with same name

Stop multiple services starting with same name. Well I was in need to reboot a Windows 2008 server and before reboot all the application services were supposed to be stopped. I had to manually stop all services one by one. After couple of days I was requested to perform the same activity once again. This time I thought to look for an option to stop all services using single command. I found that all the application services names started in same format. Hence, below listed powershell command made my task very easy.

Get-Service | Where-Object {$_.displayName.StartsWith(“ABCD”)} | stop-Service

Note: Replace ABCD with your requirement.

Thanks,

WintelAdmin

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