Saturday, April 9, 2011

Blackberry Mail Store Service

If you are getting this :
MailStoreExchange::RefreshGALUsingMAPI - Error in HrFindExchangeGlobalAddressList, result=0x80004005.

You need to modify your BES admin user profile registry.

here
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\BlackBerryServer\dca740c8c042101ab4b908002b2fe182
name: 001e6602 Data:
and here

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\BlackBerryServer_MailStoreProfile\dca740c8c042101ab4b908002b2fe182
name: 001e6602 Data:

Friday, March 25, 2011

Straighten up and fly right WMI

sc config winmgmt start= disabled 
kill -f XXX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< pid obtained before 
cd /D %windir%\system32\wbem 
rmdir /s /q repository 
rmdir /s /q Logs 
mkdir Logs 
for /R %i in (*.dll) do (regsvr32 /s %i) 
regsvr32 /s fastprox.dll 
for /R %i in (*.exe) do (%i -regserver) <<<<<<<<<<<<< this will open wbemtest and/or wmic.exe. Just close it 
sc config winmgmt start= auto 
regsvr32 wbemupgd.dll  <<<<<<<<<<<<<< this can take 30 seconds to 2 minutes 
net start server && net start workstation && net start termservice 




snipped fromhttp://groups.google.com/group/microsoft.public.win32.programmer.wmi/msg/1da6ab3690bc75a0>

Tuesday, March 22, 2011

Those empty WSUS Groups got ya down

Can't delete those empty WSUS groups:

DELETE FROM [SUSDB].[dbo].[tbDeployment]
WHERE [TargetGroupID]=''

DELETE FROM [SUSDB].[dbo].[tbFlattenedTargetGroup]
WHERE [TargetGroupID]=''

DELETE FROM [SUSDB].[dbo].[tbTargetGroup]
WHERE [TargetGroupID]=''
Go

Thursday, February 24, 2011

Quick DCOM Security Reset

Remote Administration: Quick DCOM Security Reset: "The ACLs are stored in the registry under the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole, in the following binary values:

DefaultAccessPermission
DefaultLaunchPermission
MachineAccessRestriction
MachineLaunchRestriction"

Backup the registry key and then blow all of them away.

Monday, February 14, 2011

Suck on it Broadcom

After hours of freaking headaches here's how I got the broadcom drivers for the VBD to integrate and be detected in MDT 2010 Update 1...  May also be fixed by including system class drivers.  I'm testing that next.


Dism /mount-Wim /WimFile: /mountdir:c:\image /index:1
Dism /Image:C:\image /Add-Driver /Driver: /recurse /ForceUnsigned
Dism /unmount-Wim /mountdir: /commit

Wednesday, February 2, 2011

MDT 2010 - Customizing Application Installs based on option sets

When you're in the consulting business like I am, deploying/repairing/rebuilding systems can be a tedious task.  Especially when you want to have consistency across desktops.  This is why I love MDT 2010 and you should too.

So today I wanted to discuss how I manage one specific installation task to install VMTools on ESX guest OS.  In my case the guest OS is Windows.  I generally like to keep my task sequences simple so by dynamically installing VMTools on the fly it saves me one more step.

Assumptions:
A.  You already have a VMtools Install package working
B.  You are running ESX 3.5 (you can port it to a 4.x environment too)

In MDT
1.  Add a new Install Application task
2.  On the properties page select Install a single Application radial box
3.  Browse to your VMtools installation package and click OK
4.  Click the Options Tab
5.  Check Continue On Error
6.  Add Query WMI
7.  In the WQL query box enter Select * From Win32_ComputerSystem WHERE Model LIKE "%VMware%"
8.  Image your machine