Monthly Archives: May 2019

save hosts file windows by local admin

Press the Windows key. Type Notepad in the search field. In the search results, right-click Notepad and select Run as administrator. From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts Make the necessary changes to the file. Click File > Save to … Continue reading

Posted in My Windows | Comments Off on save hosts file windows by local admin

Send e-mail alert when Windows Server reboots

Here is how you can send an e-mail alert when a Windows Server reboots. This has been tested on Server 2008, Small Business Server 2008, and Small Business Server 2012. It should work for Server 2012, but I have not … Continue reading

Posted in My Windows | Comments Off on Send e-mail alert when Windows Server reboots

remote enable RDP via network registry

The quickest way to resolve this issue is to change the registry key that enables Remote Desktop directly. I usually have remote registry access to the system because I am an administrator on the system. Open up Regedit Connect Network … Continue reading

Posted in windows | Comments Off on remote enable RDP via network registry

Hyper-V Core Commands Line

all windows list need install/remove get-windowsfeature install-windowsfeature -Name Hyper-V -Restart remove-windowsfeature -Name Hyper-V -Restart -=-=-=-=-=-=-=- storage configuration diskpart –> list volume -=-=-=-=-=-=-=-=- Disk Management for remote admin Netsh advfirewall firewall set rule group=”Remote Volume Management” new enable=yes note: please run … Continue reading

Posted in core | Comments Off on Hyper-V Core Commands Line

PowerShell reset windows

Reset-ComputerMachinePassword -Credential (Get-Credential) Test-ComputerSecureChannel -Repair -Credential (Get-Credential) – this one without reboot please run PowerShell with Admin right

Posted in PowerShell | Comments Off on PowerShell reset windows