Exchange 2010 Deployment Assistant

Microsoft had released the Exchange 2010 Deployment Assistant to help administrators with steps to move to a 2010 platform. The tool allows you to create Exchange 2010 on-premises deployment instructions that are customized to your environment. The Assistant asks a small set of questions and based on a your answers, it provides a finite set of instructions that are designed to get you up and running on Exchange 2010.

The team has updated the tool now and provides three scenarios – on-premises only, co-existence (onsite + cloud) and cloud only.

You can find the Deployment Assistant here

Black background in Windows 7 when using a mandatory profile

When you’re configuring a mandatory profile whitin Windows 7 and the first users are logging in, the desktop background is completely black….Personnaly I don’t like this kind of dark backgrounds 🙂 Why is this backgound black? Let’s have a look!

When you’ve created the mandatory profile, there was a default Windows 7 background. There’s a registry key that saves this background setting and there the whole point!

1.) Open the registry editor (regedit)
2.) Select the HKEY_USERS
3.) Click File, Load Hive
4.) Browse to your mandatory profile and select the NTUSER.MAN file
5.) Give it a name and click OK
6.) Browse to HKEY_USERS and select your Hive
7.) Browse to HKEY_Users\YOURHIVE\Control Panel\Desktop
8.) There’s a REG_SZ named Wallpaper
9.) This vallue is the wrong one. It’s located to the template user for creating the mandatory profile.
10.) Let’s chance this location to the new location. In my example it’s the Windows folder, but it can alse be a custom location. C:\Windows\Web\Wallpaper\Windows\img0.jpg
11.) After changing this path, don’t forget to unload the completely Hive from your registry editor
12.) Login again with a user and you’ll see that there’s the wallpaper. It’s a mandatory profile, so all users will get the same wallpaper!

       

 

Hyper-V snapshots, why are they still there..??

When you create some snapshots (or checkpoints named in Microsoft SCVMM) within Microsoft Hyper-V, there’re some new files within the folder where the VHD file is located. The snapshot (checkpoint) files have the extension .AVHD. When you delete these snapshots (checkpoints), the .AVHD files are still there…but why? The only solution to automatically delete these .AVHD files is to Shutdown or Turn Off the virtual Machine. As you can see, all the . AVHD files are gone after a shutdown.

SCCM 2007 Machine Policy Retrieval & Evaluation Cycle VBScript

When you make any changes to your SCCM 2007 environment, the clients will polling for this changes by a interval. Default this is 60 minutes. If you want to force an Machine Policy Retrieval, you can use to following two options:

1.) Open your control panel
2.) Configuration Manager
3.) Action tab
4.) Machine Policy Retrieval & Evaluation Cycle
5.) Initiate Action

The next option is to use the following script.
———————————————————————————————
on error resume next

dim oCPAppletMgr ‘Control Applet manager object.
dim oClientAction ‘Individual client action.
dim oClientActions ‘A collection of client actions.

‘Get the Control Panel manager object.
set  oCPAppletMgr=CreateObject("CPApplet.CPAppletMgr")
if err.number <> 0 then
    Wscript.echo "Couldn’t create control panel application manager"
    WScript.Quit
end if

‘Get a collection of actions.
set oClientActions=oCPAppletMgr.GetClientActions
if err.number<>0 then
    wscript.echo "Couldn’t get the client actions"
    set oCPAppletMgr=nothing
    WScript.Quit
end if

‘Display each client action name and perform it.
For Each oClientAction In oClientActions

    if oClientAction.Name = "Request & Evaluate Machine Policy" then
        wscript.echo "Performing action " + oClientAction.Name
        oClientAction.PerformAction
    end if
next

set oClientActions=nothing
set oCPAppletMgr=nothing
———————————————————————————————