Hej Verden!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Posted in Ikke kategoriseret | Leave a comment

Using TS variables when running a script under a different account.

Posted in SCCM / OSD | Leave a comment

Capture none syspreped image using SCCM (Running imagex from a TS)

Posted in SCCM / OSD | 2 Comments

Install XP MUI from SCCM Task Sequence.

 

image Create a new package called Microsoft XP MUI
 
Note: It is not necessary to create a program for the package unless you intend to advertise the package to clients.
image The Microsoft XP MUI package should contain the files from the root of one if the MUI installation CD’s, and any language packages you wish to install.

In this case a included the Danish, Russian, Chinese (simplified) and Chinese (traditional) language MUI’s.

image Now open your TS in edit mode, and add a Run Command Line step at the end of your TS (or at least after the Mini setup has finished).

Point to the newly created Microsoft XP MUI package.

In the Command line: write

MUISETUP.EXE /i 0406 /d 0406 /r /s 

Note: This will install Danish MUI and set Danish menus as default. To setup other languages look in MUISETUP.HLP .

image If you would like to use variables instead, jus replace the language codes with variables

MUISETUP.EXE /i %UserLocal% /d %UserLocal%  /r /s 

image

Right click your deployment collection, and choose Modify collection settings. Now add the variable UserLocale and assign the value 0406.

That value will then be used during deployment, In this way you can place computers in different collections and have different MUI’s installed on them.

 

Be aware that this will only work for region 1 and 2 (Europe and US) out of the box…

If you wish to add MUI’s for Asian or middle east type languages you will have to add support for these, by adding the necessary files to  your image, either before you capture, or during sysprep. A guide for doing that can be found here http://kongkuba1.spaces.live.com/blog/cns!EEFF1607E296E5AB!265.entry

A result of not adding these files will be a prompt for the location of the source XP CD.

Posted in Language | 1 Comment

Hide product key from TS step

 

If you do not want other admin with access to your TS editor to se the product key in the “apply windows settings” step, you can hide it in a variable.

image In your “Apply Windows Settings” step, replace Product key: with a variable. In this case i use %key%
image Right click the collection you have advertised the TS to, and click Modify collection Settings.
image Choose the Collection Variables TAB and click on the starburst image
image type in the name of the variable key and supply the product key twice.

Remember to check the Do not display the value in the ConfigMgr console. And i would suggest using copy paste!

image The key variable now have a hidden value.

Note: the key will still be visible in the sysprep file, if it is opened during deployment, between the TS step, and the completion of the mini setup. 

Posted in SCCM / OSD | 1 Comment

Changing boot order in Vista/Windows 7

If you do not want to play around with BCDedit or 3rd party tools like EasyBCD, it is quit easy to change boot order from within Windows 7.

I Know that this is kind of low tech, but I notice a lot of  questions out there regarding, how to change the boot order using BCDedit.

Here goes:

image Go to Computer – Properties.

Note: You can also do this by hitting the key combo Windows + Pause/Break or

image Click on Advanced System settings
image Open the Advanced tab

In the Startup and Recovery section click on Settings

Note: run sysdm.cpl to go directly to System Properties

image Now choose the OS you want to be the default one to load.
Posted in Tips and Tricks | Leave a comment

Resizing a Microsoft Virtual Hard Disk (VHD)

Ever run into problems with a VHD that ran out of space?? I did just yesterday, and found a couple of solutions for that problem. Here are two ways of dealing VHD size issues .

Methode 1:

Using 3rd part tool “VDH Resizer”

image Download and install VHD Resizer.

http://vmtoolkit.com/files/folders/converters/entry87.aspx

image Open VhdResizer and point to the file you VHD you want resized.

Choose a location to put the new file, and choose a new size.

The resizing process might take a while, but be patient, it will be worth the wait.  

When the resizing is done start a the virtual pc with the new VHD

image Open computer management
image Expand Storage and click on Disk Managment.
image Note that the extra space you just created still sits as unallocated space.
image Right click the active disk and choose Extend volume
image Click Next
image If you want to use the entire amount of added space just choose default settings and click Next. 
image Click Finnish
image You will now notice that the disk now uses the entire volume.

Methode 2:

Using Microsoft  ImageX. (on Windows 7)

image Open computer management on your local computer.

Expand Storage, right click  Disk Management and click on Attach VHD.

Note: This is also a nice way to add and remove files from your VHD’s

image Point to the VHD in question.
image Notes that the VHD has now been added as a disk (in this case I:)
image Run Deployment tools command prompt with administrative rights
image Capture an image of the VHD:

imagex /capture I: C:NewVHD.wim "disk1" /compress max

image The VHD has now been captured as a WIM image.
image From Disk Management click Create VHD
image choose a location to put the VHD, and the size you want it to be…

Click OK

image There will now be a new Unknown disk with the size you just choose.

Right click and click Initialize Disk

image click OK
image Right click the volume and choose New Simple Volume
image Click Next
image Choose default to use the entire volume.

Click Next

image Choose a drive letter and click Next
image Click Next
image Click Finish
image Note that there now is a new Volume with a drive letter assigned (in this case H).
image Open Deployment Tools Command Prompt as Administrator
image to ad the image you captured earlier to the new VHD, type

iamgex /apply C:newVHD.wim 1 H:

image After a while the image will have been applied to the VHD.
image From Disk management, right click the VHD disk and click Detach VHD. 
image Make sure “Delete the virtual hard disk…” is NOT checked

Click OK

 

There you go. Two methods of changing the size of your VHD’s

Posted in Virtual PC | Leave a comment