Winteladmin.com is now on SSL/HTTPS.

Winteladmin.com is now running on SSL/HTTPS that encrypts the connection between our webserver and your web browser. It protects your sensitive data as it travels across the internet. If you’ve ever visited a website using https:// in the address bar, you were on a secure SSL connection and you are very much safe. You will see the boost in performance and SEO.

Happy Reading.
Winteladmin.com

Facebook Comments
Print Friendly
Filed under: x Updates (Wintel Admin)Tagged with: , , ,

Restart a Remote Server Using Command.

At times when the servers located remote doesn’t respond, there is a need to restart. Quickest is to reboot the server using command forcefully. Pretty sure this will help sometime.

Make sure you open the command prompt with administrator

SHUTDOWN /r /f /t 0 /m \\servername /c “description”

/r -Shutdown and restart the computer.

/f -Force running applications to close without forewarning users.

/t xxx Set the time-out period before shutdown to xxx seconds.
The valid range is 0-600, with a default of 30.

/m \\computer Specify the target computer.

/c “comment” Comment on the reason for the restart or shutdown.

Example:
c:\users\Administrator> SHUTDOWN /r /f /t 0 /m \\servername /c “Reboot”

Thanks,
WintelAdmin

Facebook Comments
Print Friendly
Filed under: UncategorizedTagged with: , , , , ,

How to access Recycle Bin from command line?

You can access recycle bin using the command line with the syntax listed below:

start shell:RecycleBinFolder

Else,

C:\> start C:\$Recycle.bin

To list deleted objects on a specific drive:

C:\> dir /s/a :\$Recycle.Bin

Thank,
WintelAdmin

Facebook Comments
Print Friendly
Filed under: Windows(2003/2008/2012)Tagged with: , , , , , , , ,

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

Facebook Comments
Print Friendly
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

Facebook Comments
Print Friendly
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

Facebook Comments
Print Friendly
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

Facebook Comments
Print Friendly
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

Facebook Comments
Print Friendly
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

Facebook Comments
Print Friendly
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

Facebook Comments
Print Friendly
Filed under: Powershell (Tutorial), Windows(2003/2008/2012)Tagged with: , , , , ,