Windows

Remove "Shutdown / Reboot" from Startmenu

If you would like to remove the shutdown / reboot from the startmenu for a single user, that can be easily done by the following registry key.

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

New Dword= NoClose

Value= 1

...Read More »

How to repair Windows Installer (MSI)

Problem:
Instaling any MSI Setup is not possible.

Solution:

  • Start CMD as Administrator
  • run the following commands

sc config msiserver start= demand
Net stop msiserver

MSIExec /unregister
MSIExec /regserver
regsvr32.exe /s %windir%\system32\msi.dll

Net start msiserver

 

Works on Windows 2012 R2

...Read More »

How to fix orphaned SQL users

This will lists the orphaned users:

EXEC sp_change_users_login ‘Report

Fix it by doing:

EXEC sp_change_users_login ‘Auto_Fix’, ‘user’

...Read More »

List installed Windows Patches

open cmd and enter

wmic qfe get > patches.txt

...Read More »

Keyboard Shortcuts for Windows Server 2012

Windows Key + C – Opens Charms bar
Windows Key + Ctrl + Tab – Cycles through apps
Windows Key + Shift + Tab – Cycles through apps in reverse order
Windows Key + D – Switch to desktop (from start screen)
Windows Key + E – Opens file explorerRead More »


Windows Server 2008 R2 Edition Comparison by Server Role

W2K8R2 – Editions Comparison Guide

...Read More »

WMI corrupt - how to reinstall/repair/fix?

  1. Disable and stop the WMI service.
    sc config winmgmt start= disabled
    net stop winmgmt
  2. Run the following commands.
    Winmgmt /salvagerepository %windir%\System32\wbem
    Winmgmt /resetrepository %windir%\System32\wbem
  3. Re-enable the WMI service and then reboot the server to see how it goes.
    sc config winmgmt start= auto

If the problem remains, then try the following steps to...Read More »