windows server core – sconfig.vbs(696, 21) SWbemObjectEx: Invalid index.

the situation

when i was trying to change the network settings of our servers it fails with the error:

C:\Windows\System32\en-US\sconfig.vbs(696, 21) SWbemObjectEx: Invalid index.

the solution

it turned out that i disabled ipv6 previously on that ethernet port. so i enabled it via powershell using the following command (you may have to edit the property “InterfaceAlias”):

Enable-NetAdapterBinding -InterfaceAlias Ethernet -ComponentID ms_tcpip6

windows server backup – cancel a running job

i had a bit of a trouble finding a way to stop a running windows server backup.

the internet told me to click on “show details”  or “modify scheduled backup settings” in the mmc snap-in .. but all i got was an error that i could not click on the option as a backup was running or i got just details from the last completed backup …

turned out you can do this via this command:

wbadmin stop job

you are prompted whether you really want to stop the job …

@MS: would a button “stop current backup” have been too much of an effort?! or am i blind and don’t see the button / gui-way to solve this task?

send “ctrl + alt + delete” to a remote computer via rdp

after bugging around with the tool “passchg” (from  http://ctrl-alt-del.com.au/CAD_TSUtils.htm) to change the password on a remote computer i finally found a shortcut to send ctrl + alt + delete …

just hit “ctrl + alt + end” …

as this will not work in a nested rdp-session i still have to use the tool there .. but for 90 % of my sessions this will work for me …

keyboard layout switching button – stop the systray from jumping by activating desktop language bar

as an administrator i am often connected to different servers via rdp .. as i use multiple keyboard layouts i noticed that with windows 8 the systray icons seems to “jump” when a rdp-session is focused and then not focused …

rdp-session focused:

keyboard layout switching button - stop the systray from jumping by activating desktop language bar

rdp-session not focused:

keyboard layout switching button - stop the systray from jumping by activating desktop language bar

the annoying thing was .. when you click any icon while the rdp-session is focused you will actually click the icon right from it …

i found out that the new keyboard layout switching button can be replaced with the old desktop language bar …

keyboard layout switching button - stop the systray from jumping by activating desktop language bar

this bar will also hide when a rdp-session is focused .. but it will not make the systray icons jump as it is located left from the systray …

to activate it you have to go to the language settings and there click on “advanced settings”:

keyboard layout switching button - stop the systray from jumping by activating desktop language bar

in the advanced settings you will find the option “use the desktop language bar when it’s available” .. this will bring back the old desktop language bar …

keyboard layout switching button - stop the systray from jumping by activating desktop language bar

 

installing microsoft sql server 2008 r2 on windows 8/windows server 2012

when trying to install microsoft sql server 2008 r2 on windows 8 or windows server 2012 i was always prompted with the “program compatibility assistant” … which i knew for quite some time and which back then always told me “you can not install the software you are trying to install but you can click the button to get help online” …

installing microsoft sql server 2008 r2 on windows 8/windows server 2012

therefore without further reading i closed the window … searching for a solution i stumbled upon an article where someone from microsoft describes when this popup is shown and what help one would get if he clicked the “Get help online button” … at a first sight this seemed not much of a help … but looking at it again i then realized the second button “run the program without getting help” … which .. obviously .. is the answer …

installing microsoft sql server 2008 r2 on windows 8/windows server 2012