The Operations Manager 2012 Beta

This morning I received a mail from the OpsMgr 2012 Team.

In August you can expect an email from msftconn@microsoft.com at this email account.

The program will be run on a Microsoft Connect portal which will provide access to evaluation resources, downloads, meeting invitations and discussions – all designed to provide a guided evaluation as well as create opportunities to connect with others in the community. 

We look forward to connecting with you throughout the program.

Best regards,

The Operations Manager CEP Team.

When will it be RTM, at the end of Q4?

First thing to check out will be the avicode integration.

Posted in OpsMgr2012 | Tagged | Leave a comment

Links will not open a new window or tab in Windows 7 IE9

I see all over that this is a problem for many in Windows 7.
Clicking a link on a web page that should open a new window or tab just stalls. Nothing happens. I have tried changing the UAC settings, security settings, re-registering the dlls, no plug-ins, no pop-up blocker, and etc to no avail.
Something interesting I have found.http://iefaq.info/index.php?action=artikel&;cat=42&id=133&artlang=en

That’s it.

@echo off
echo.
echo IEREREG-64 Version 1.08 for IE8 02.01.2010
echo for the 64bit version of IE8 on 64bit Windows
echo by Kai Schaetzl http://iefaq.info
echo installs and registers (if suitable) all DLLs known to be used by IE8.
echo should only take a few seconds, but please be patient
echo.
REM ******************************
echo registering IE files
REM IE files (= part of setup)
regsvr32 /s /i browseui.dll
REM regsvr32 /s /i browseui.dll,NI (unnecessary)
regsvr32 /s corpol.dll
regsvr32 /s dxtmsft.dll
regsvr32 /s dxtrans.dll
REM simple HTML Mail API
regsvr32 /s "%ProgramFiles%\internet explorer\hmmapi.dll"
REM group policy snap-in
regsvr32 /s ieaksie.dll
REM smart screen
regsvr32 /s ieapfltr.dll
REM ieak branding
regsvr32 /s iedkcs32.dll
REM dev tools
regsvr32 /s "%ProgramFiles%\internet explorer\iedvtool.dll"
regsvr32 /s iepeers.dll
REM Symptom: IE8 closes immediately on launch, missing from IE7
regsvr32 /s "%ProgramFiles%\internet explorer\ieproxy.dll"
REM no install point anymore
REM regsvr32 /s /i iesetup.dll
REM no reg point anymore
REM regsvr32 /s imgutil.dll
regsvr32 /s /i /n inetcpl.cpl
REM no install point anymore
REM regsvr32 /s /i inseng.dll
regsvr32 /s jscript.dll
REM license manager
regsvr32 /s licmgr10.dll
REM regsvr32 /s msapsspc.dll
REM regsvr32 /s mshta.exe
REM VS debugger
regsvr32 /s msdbg2.dll
REM no install point anymore
REM regsvr32 /s /i mshtml.dll
regsvr32 /s mshtmled.dll
regsvr32 /s msident.dll
REM no reg point anymore
REM regsvr32 /s msrating.dll
REM multimedia timer
regsvr32 /s mstime.dll
REM no install point anymore
REM regsvr32 /s /i occache.dll
REM process debug manager
regsvr32 /s "%ProgramFiles%\internet explorer\pdm.dll"
REM no reg point anymore
REM regsvr32 /s pngfilt.dll
REM regsvr32 /s /i setupwbv.dll (not there anymore!)
regsvr32 /s tdc.ocx
regsvr32 /s /i urlmon.dll
REM regsvr32 /s /i urlmon.dll,NI,HKLM
regsvr32 /s vbscript.dll
REM VML renderer
regsvr32 /s "%CommonProgramFiles%\microsoft shared\vgx\vgx.dll"
REM no install point anymore
REM regsvr32 /s /i webcheck.dll
regsvr32 /s /i /n wininet.dll
REM ******************************
echo registering system files
REM additional system dlls known to be used by IE
REM added 11.05.2006 Symptom: Add-Ons-Manager menu entry is present but nothing happens
regsvr32 /s extmgr.dll
REM added 12.05.2006 Symptom: Javascript links don’t work (Robin Walker) .NET hub file
regsvr32 /s mscoree.dll
REM added 23.03.2009 Symptom: Find on this page is blank
regsvr32 /s oleacc.dll
REM added 24.03.2009 Symptom: Printing problems, open in new window
regsvr32 /s ole32.dll
REM mscorier.dll
REM mscories.dll
REM Symptom: open in new tab/window not working
regsvr32 /s actxprxy.dll
regsvr32 /s asctrls.ocx
regsvr32 /s cdfview.dll
regsvr32 /s comcat.dll
regsvr32 /s /i /n comctl32.dll
regsvr32 /s cryptdlg.dll
regsvr32 /s /i /n digest.dll
regsvr32 /s dispex.dll
regsvr32 /s hlink.dll
regsvr32 /s mlang.dll
regsvr32 /s mobsync.dll
regsvr32 /s /i msieftp.dll
REM regsvr32 /s msnsspc.dll #no entry point
regsvr32 /s msr2c.dll
regsvr32 /s msxml.dll
regsvr32 /s oleaut32.dll
REM regsvr32 /s plugin.ocx #no entry point
regsvr32 /s proctexe.ocx
REM plus DllRegisterServerEx ExA ExW … ?
regsvr32 /s /i scrobj.dll
REM shdocvw.dll hasn’t been updated for IE7 and IE8, it still registers itself for the Windows Internet Controls
regsvr32 /s /i shdocvw.dll
regsvr32 /s sendmail.dll
REM ******************************
REM PKI/crypto functionality
REM initpki can take very long to run and is rarely a problem
REM if there are problems with crypto, SSL, certificates
REM remove the three following REMs from the lines
REM echo We are almost done except one crypto file
REM echo but this will take very long, be patient!
REM regsvr32 /s /i:A initpki.dll
REM ******************************
REM tabbed browser, do at the end, why originally with /n ?
regsvr32 /s /i ieframe.dll
REM ******************************
echo if your new tabs page has changed, please read the comments at the end of the script
REM Symptom: new tabs page cannot display content because it cannot access the controls (added 27. 3.2009).
REM This is a result of a bug in shdocvw.dll (see above), probably only on Windows XP.
REM If this problem happens for you run the following command.
REM reg add "HKCR\TypeLib\{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}\1.1\0\win32" /ve /t REG_SZ /d %systemroot%\system32\ieframe.dll /f
REM ******************************
echo all tasks have been finished
echo.
pause

Posted in Windows7 | Tagged | Leave a comment

scom2007 gateway server state healthy, management server state not monitored

Suddenly the gateway server shows not monitored! What is going on, it seems that the local Health Service State cache is damaged.

How to fix this??

Stop the Health Service.

Delete the Health State folder under “C:\Program Files\System Center Operations Manager 2007\Health Service State”

and restart the Health Service.

Posted in SCOM2007R2 | Tagged , | Leave a comment

Windows update client reset

A deployed image giving error using windows update (wsus server).

Be shure that at the final stage of the image a sysprep or newsid is applied.

net stop "Windows Update"
del /f /s /q %windir%\SoftwareDistribution\*.*
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v NextDetectionTime /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientIdValidation /f
net start "Windows Update"
wuauclt.exe /resetauthorization /detectnow
pause

This is it.

Posted in Windows Server 2008, Windows7 | Tagged | Leave a comment

Edit folders for Synology media server

When you enable the Synology Media Server on your NAS, there are 3 directories added to your file-system (video, music and photo) which will be used for the DLNA/UPnP media server to play the corresponding files.

I was searching for a solution to change / edit this. How to start

You have to enable ssh login. Then you can use putty to conect to your device

username root, password [your admin password]

navigate to the etc folder and create a file called rc.local .
syntax vi rc.local (vi editor is real painful editor so keep in mind this manual vi commands synology)
I added three entry’s (because I have also enabled nfs on my system for the popcorn media player)

mount –bind /volume1/[your path]/music /volume1/music
mount –bind /volume1/[your path]/photo /volume1/photo
mount –bind /volume1/[your path]/video /volume1/video

Save and exit the file :wq

while you have still your putty session open type reboot and hit Enter.

Thanks to http://dev.eek.be/

Posted in Synology 411J | Tagged , , , | Leave a comment

BPOS Mailbox Sharing and Delegation

The contents for your powershell script

$cred = get-credential
$csv = Import-Csv –Path c:\bposscripts\mailbox-permission.csv
$csv | Add-MSOnlineMailPermission -Credential $cred

Example content csv:

Identity,TrustedUser,GrantFullAccess,GrantSendAs
user1@example.com,admin@example.com,True,True
user2@example.com,admin@example.com,True,False

This command grants admin@example.com (TrustedUser) full
access and/or send as permissions on user@example.com

MSOnlineMailPermission
Posted in BPOS, PowerShell | Tagged , | Leave a comment

Slow startup and endless buffering popcorn hour conected to NAS device

After pulling my hair out I found the solution :

Use the remote control of your popcorn and change the connection string on your network config page. I must be like this: NFS-TCP:// in the connection string.

Posted in popcorn, Synology 411J | Leave a comment

Change AD-User property’s using PowerShell

# =======================================================
#
# Microsoft PowerShell Source File
#
# NAME: Update Active Directory Users 
#
# AUTHOR: JWN
# DATE  : 11/01/2011
#
# COMMENT: This sample script performs an update of AD users
# Using the powergui AD module http://www.powergui.org/index.jspa
# ========================================================
$users = $null
$dummy = $null
$users = Get-QADUser -searchRoot "OU=…..,OU=DomainAccounts,DC=contoso,DC=nl"
$csv = Import-Csv c:\scripts\nawgegevens.csv -delimiter ‘,’
# Loop through AD user
    ForEach($user in $users) 
    { 
        # Loop through Imported users from csv
        ForEach($persoon in $csv)
        {
        # If there is a match between LastName
        if($user.LastName -eq $persoon.Naam) 
            {
            #set dummy var for adress
            $dummy = $persoon.adres + " " + $persoon.huisnr
            #Update User
            Set-QADUser -Identity $user.DN -City $persoon.woonplaats -PostalCode $persoon.postcode -HomePhone $persoon.telefoon -StreetAddress $dummy -StateOrProvince " "
            $dummy = $null   
            }
        }
    }

Posted in PowerShell, Windows Server 2008, Windows7 | Tagged , | Leave a comment

Hung VM on ESX4

Today I stumbled into a hung VM. Start using the GUI. If that does’t work use vmware-cmd to try and stop the VM.  If all else fails. Nothing left than the hard way.

Start a putty session to the expected ESX server.

Check if you are connected to one you need by typing > vmware-cmd –l

If so you can continue.

type: ps -efww | grep exchangeserv ( your machine name)

The result will be:
root      2941     1  0 Feb02 ?        00:00:04 …………exchangeserv.vmx
……………………………………………………………………………………………………
root     30029 29692  0 16:08 pts/0    00:00:00 grep exchangeserv
Type: kill -9 2941
Note: This could possible corrupt the vmdk disk.
Posted in Esx4, Esxi4 | Tagged , , | Leave a comment

Could not load type ‘System.ServiceModel. Activation.HttpHandler’ from assembly ‘System.ServiceModel, version=3.0.0.0 Culture=neutral, PublicKeyToken= b77a5c561934e089

Yesterday I hat to configure a webservice, I stumbled into this error.
I fould and tried serveral solutions blogs.iis.net but none of them lead to a solution.Together with the guys from ADA ICT Devsquad’s Blog we found the solution.

Open your web.config and search for:
<system.serviceModel>
                               <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
</system.serviceModel>

After switching this to false it works. More info about this parm! msdn.microsoft.com

Posted in IIS7 | Tagged , | Leave a comment