Friday, April 23, 2010

Solution?


Think this could be my problem.  Can't use a 32 bit unattend on a 64 bit installation

http://blogs.technet.com/deploymentguys/archive/2009/08/27/windows-7-waik-and-custom-images.aspx

*bang head* *on wall*

Problems with Sysprep in Windows 7 64 bit

Trying to sysprep the 64 bit version with the working 32 bit version.

Well, it is able to enable Administrator.  But it thinks the username or password is incorrect, even though I can  type it manually.  Here are my observations:

It will then hang with the wallpaper on.  But one can CTRL-ALT-DEL, switch user, login as another admin, delete the remaining sysprep files (otherwise on reboot it will have the Windows failed to install and needs to restart reboot loop).

1) If I run audit mode without the unattend.xml at least it will manually logon as Administrator and not hang.
2) I manually run the scripts there is no problem.  So it is compatible with 64 bit.
3) Turned off CTRL-ALT-DEL that wasn't the problem.

Will try without resetting the administrator password.  It failed on my original install.

Wednesday, April 14, 2010

Changing text color in Photoshop CS4

I'm not sure why it is so difficult to change text color in PS CS4.

1) Right click on the choosen layer. Click Blending Options.
2) Select Color Overlay.
3) Click on the color (next to blend mode) to select the color, click OK when finished.

Friday, April 9, 2010

Renaming computer and joining a domain in Windows 7

These code snippets run during sysprep.

Ensure that your machine is appropriately named in the auditUser mode.

Reboot into OOBE.  This will join the domain

--
powershell "set-executionpolicy unrestricted"

powershell ".\joindomain.ps1"
--

The contents of joindomain.ps1 are:

--
$creds = New-Object System.Management.Automation.PsCredential("domain\user", (ConvertTo-SecureString "password" -AsPlainText -Force))


add-computer -DomainName domain  -Credential $creds -PassThru
--
 
The downside is that the password is still in plaintext.  Will need to find a way to encrypt it.  Will post my failed method later.

Wednesday, April 7, 2010

Powershell is annoying

Ok.  I figured out how to make an unsigned script run in powershell.

Case 1:
Set execution policy to unrestricted and try to run from server.  Still prompts for a security warning.

Case 2:
Set execution policy to remotesigned and copy the file locally.

Problem fixed