Archive for the 'IT' Category

From Windows 2012 Server GUI to Core

Run following command in powershell:
#Uninstall-WindowsFeature Server-GUI-Mgmt-Infra, Server-Gui-Shell –restart

No Comments »

admin on January 22nd 2013 in IT, Windows Server

From Windows 2012 Server Core to GUI

By default Windows 2012 Server is installed without a GUI (Graphic User Interface). But compared to Windows 2008 R2, it can be added later with following command:
#Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell

Unfortunately this command did not work for me because it can’t find the source. So you need to put/mount Windows 2012 Server CD first and after that run following commands:
1. Create a folder to mount Server WIM.
#mkdir C:\MountWim\
2.  Get the index number of the GUI Server image.
#dism /get-wiminfo /wimfile:d:\sources\install.wim
3. Mount the WIM for the installed Server with GUI. In my case it was DataCenter GUI which had the index number 4.
#dism /mount-wim /wimfile: d:\sources\install.wim /Index:4 /mountdir:C:\MountWim\ /readonly
4. Run powershell:
5. Start Installation:
#Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell –restart –source C:\MountWim\Windows\WinSxS

Or you can mount straight away the Wim-File:
1. #Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell –restart –source wim:d\sources\install.wim:4

No Comments »

admin on January 22nd 2013 in IT, Windows Server

How to repair the Boot Manager

Rewrite Masterbootrecord:
bootrec /fixmbr

Scan for all OS:
bootrec /scanos

Adds found OS into Boot Manager:
bootrec /rebuildbcd

Recreate Boot Manager:
bootrec /fixboot

Important: The partition with the boot manager needs to be active to be able to boot Windows 2008 R2 or Windows 2012. If it is not active you can make it active with diskpart:
1. Run DVD Repair Mode
2. diskpart
3. select disk 0 (For the first disk)
4. select partition 1
5. active
6. exit
7. Restart Computer

No Comments »

admin on January 18th 2013 in IT, Windows, Windows Server

Get Windows System Information

Run following command:
msinfo32 (GUI)
systeminfo (Shell)

To save the information into a file formatted:
systeminfo /FO list > C:\sysinfo.txt

No Comments »

admin on January 18th 2013 in Windows

How to change Windows 2012 Product Key

Run following command:
slui 3

No Comments »

admin on January 18th 2013 in IT, Windows Server

Windows 2012 Server Installation get stuck on VMWare

I had the problem that Windows 2012 Server got stuck in the boot sequence. I just had to add a configuration parameter to make it work:
vmGenCounter.enable = FALSE

No Comments »

admin on January 16th 2013 in IT, VMWare, Windows Server

Computer doesn’t find updates on WSUS or can’t install them

Command to search for updates:
wuauclt.exe /detectnow

Following steps solve most of the problems:
1. net stop wuauserv
2. delete everything in: 
3. delete logfile:
4. net start wuauserv
5. wuauclt.exe /detectnow /resetauthorization
6. Check %windir%\WindowsUpdate.log for errors

No Comments »

admin on November 29th 2012 in IT, Windows

How to connect to the WSUS SQL Database

1. Install SQL Management Studio on the Server
2. Run it and use following string as your server:

No Comments »

admin on November 29th 2012 in IT, MSSQL

WSUS Error 364–BITS HTTP 1.1 Range Requests

Error Message:
Content file download failed. Reason: The server does not support the necessary HTTP protocol. Background Intelligent Transfer Service (BITS) requires that the server support the Range protocol header.

You need to configure your firewall that it supports HTTP 1.1 ranges requests. Unfortunately I couldn’t reach our Firewall Administrator and I had to search for a temporary solution on my own.
You just need to change the settings, so that the BITS is working in foreground mode.

Temporary Solution Steps:
1. Install SQL Management Studio and run it
2. Connect to the DB:
3. Run following command on SUSDB:
UPDATE tbConfigurationC SET BitsDownloadPriorityForeground=1
4. Restart Windows Update Service

The solution above worked for me on Windows 2008 R2 Server. But actually you could probably also do it with the solution below.  The advantage of it would be that you don’t need to install SQL Management Studio on the Server.

Solution for Windows 2012:
1. Download and install following packages from Microsoft SQL Server 2012 SP1 Feature Pack
2.  Create a SQL query file “C:\Temp\WSUS_SetBitsDownloadForeground.sql” with following content:
UPDATE tbConfigurationC SET BitsDownloadPriorityForeground=1;
3. Run the query on the Windows Internal Database (WID):
C:\Program Files\Microsoft SQL Server\110\Tools\Binn>SQLCMD.EXE -S \\.\pipe\Microsoft##WID\tsql\query -i C:\Temp\WSUS_SetBitsDownloadForeground.sql
4. net stop wuauserv
5. net start wuauserv

No Comments »

admin on November 29th 2012 in IT, MSSQL, Windows Server

How can I determine SQL Server INstance Name?

Check in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names

No Comments »

admin on November 28th 2012 in IT, MSSQL

Check out new movies online website. Download and buy movies now.