Disk Alignment

Disk Alignment

To do a disk alignment you can follow the steps below:

  • Check which disk you want to allign
  • Using diskmanager is the fastest option
  • “My Computer” – “Manage” – “Disk Management”
  • For example this is Disk 1
  • Go to “Start – run – CMD”
  • Type “Diskpart”
  • Type “List disk” to see the disks and sizes when “Size” is the same like the disk you saw in Diskmanager you are now ready to select it.
  • Type “Select Disk 1”
  • Disk 1 is now the selected disk
  • Now create the partition with the good allignment
  • Type “Create partition primary align=1024”
  • After this you will get a success message that the partition is created with the correct allignment.

For more explanation about this see:



Remove folder entry eventviewer

Remove folder entry eventviewer.Official(Clean)For example we use Patchlink1. Go into Services and locate the EventLog service. Right Click the service, select Properties and Disable it under the Startup type.2. Navigate your way to the registry and find the offending Event Log under: Hkey_Local_MachineSystemCurrentControlSetServicesEventlogPatchlink. Right click the registry key and remove it.

3. Restart Windows.

4. When the operating system is back up, browse to System32Config and remove the Patchlink.evt.

5. Go back into Services and change the Startup type back to Automatic and start it.

6. The Patchlink should now be removed from the Event Viewer.


You also can remove the registry entry without restarting the computer. In that case you will have the eventviewer entry removed . But the log file in System32Config will remain. This because eventviewer starts at computer boot and claims the .evt files so they cannot be removed without stopping the service who uses the files.

I also made a little powershell loop script which cleans all eventviewer entries in the text file

Foreach ($Server in gc "*:****server.txt")

Clear-EventLog patchlink -ComputerName $server
Write-Host "$Server Cleaned"
Write-Host "DONE" -ForegroundColor green