Windows could not parse or process unattend answer file (c:\windows\panther\unattend.xml) for pass [specialize]
Posted by Terje Skulstad in Software, Windows on July 28th, 2010
Got this error during setup of Windows Deployment Services on Windows 2008 R2. I used a standard boot.wim and install.wim file for the install. After doing som backtracking I found out that I had misconfigured a setting for the automatic naming of the machine name in the domain. I had used NN-%username-%# in the WDS properties, and that caused the machines to all trying to use the same name (NN-administrator-1).
After changing to NN-%username-%03# the problem was solved.
Offline files on a DFS mapped drive
Posted by Terje Skulstad in Software, Windows on October 14th, 2009
Seems KB940648 is valid for more than the KB says. Experienced problems with offline files on a DFS mapped network drive with Windows XP SP3. When the machine went offline and you tried to open the file from the Offline files folder or the mapped drive I got
“Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied”
I found a couple of KB’s related to DFS problems with offline files, but they where all for SP1 or SP2. Anyway, I installed the hotfix and the problem was solved. I can now open and save files to both Offline files folder and the mapped drive (only the folder structure for the offline files visible of course)
The KB’s that described similar problems for SP1/SP2 are KB937357 , KB893231(which both actually is a better description of my problem)
Automated install of Adobe CS4 Creative Suite Premium
Posted by Terje Skulstad in Software on October 13th, 2009
Adobe has a deployment guide for silent install of CS4. If you need that, visit Adobe. I needed an automated installer, which gave the user some kind of indication on what was going on (progress bar). When running silent I got about 4 calls per user asking if the installer was finished since they couldn’t see anything going on and couldn’t do anything else when it was running. Despite the fact that the silent installer was scripted to tell the use exactly that and that he/ she should wait for a reboot to indicate that the install was completed.
This script for automated install was made using AutoIT which is a great tool for these jobs. If you decide to use this I would recommend downloading AutoIT and also the Script Editor from http://www.autoitscript.com/autoit3/downloads.shtml. The editor includes a tool called ScriptWriter, which will record your actions during a manual install and make a script for automating the procedure. The base usually needs some work, but will help you in the right direction.
Since CS4 has integration towards a lot of programs, you should first issue a warning that all other programs should be closed during the install. This is important to avoid pauses in the script execution. These two show typical showstoppers in the install. If you expect any of these you have to adapt your script.
The screenshots below the script show the steps for the manual install, but first the script.
CODE:
;Script for automated install of Adobe Creative Suite CS4
Opt(“WinWaitDelay”,100)
Opt(“WinTitleMatchMode”,4)
Opt(“WinDetectHiddenText”,1)
Opt(“MouseCoordMode”,0)
;Give the user a warning
Switch MsgBox(4161, “Important”, “Before you start installing Adobe CS4 Creative Suite close all running programs or the install will fail. Click Ok to continue or Cancel to abort the install”)
Case 1 ;”Ok”
;Path to the Adobe CS4 setup file
Run(‘.\Adobe\Adobe.CS4\Setup.exe’)
WinWait(“Installasjon av Adobe Creative Suite 4 Design Premium – Welcome”,”")
If Not WinActive(“Installasjon av Adobe Creative Suite 4 Design Premium – Welcome”,”") Then WinActivate(“Installasjon av Adobe Creative Suite 4 Design Premium – Welcome”,”")
WinWaitActive(“Installasjon av Adobe Creative Suite 4 Design Premium – Welcome”,”")
;Your serial number for the install
Send(“xxxxxxxxxxxxxxxxxxxxxxxx{ALTDOWN}n{ALTUP}”)
WinWait(“Installasjon av Adobe Creative Suite 4 Design Premium – License”,”")
If Not WinActive(“Installasjon av Adobe Creative Suite 4 Design Premium – License”,”") Then WinActivate(“Installasjon av Adobe Creative Suite 4 Design Premium – License”,”")
WinWaitActive(“Installasjon av Adobe Creative Suite 4 Design Premium – License”,”")
Send(“{ALTDOWN}a{ALTUP}”)
WinWait(“Installasjon av Adobe Creative Suite 4 Design Premium – Options”,”")
If Not WinActive(“Installasjon av Adobe Creative Suite 4 Design Premium – Options”,”") Then WinActivate(“Installasjon av Adobe Creative Suite 4 Design Premium – Options”,”")
WinWaitActive(“Installasjon av Adobe Creative Suite 4 Design Premium – Options”,”")
Send(“{ALTDOWN}i{ALTUP}”)
WinWait(“Adobe Creative Suite 4 Design Premium”,”Register &Later”)
If Not WinActive(“Adobe Creative Suite 4 Design Premium”,”Register &Later”) Then WinActivate(“Adobe Creative Suite 4 Design Premium”,”Register &Later”)
WinWaitActive(“Adobe Creative Suite 4 Design Premium”,”Register &Later”)
Send(“{ALTDOWN}l{ALTUP}”)
WinWait(“Installasjon av Adobe Creative Suite 4 Design Premium – Done”,”")
If Not WinActive(“Installasjon av Adobe Creative Suite 4 Design Premium – Done”,”") Then WinActivate(“Installasjon av Adobe Creative Suite 4 Design Premium – Done”,”")
WinWaitActive(“Installasjon av Adobe Creative Suite 4 Design Premium – Done”,”")
Send(“{ALTDOWN}e{ALTUP}”)
;Some registry keys for features you might want to disable.
;Suppress updates for Acrobat 9
;The installer does not contain a method to automatically cause the updates to be suppressed for Acrobat 9.
RegWrite(“HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Adobe Acrobat\9.0\FeatureLockdown”,”bUpdater”, “REG_DWORD”, “00000000″)
;Disable Adobe Product Improvement Program
RegWrite(“HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\APIP”, “enabled”, “REG_DWORD”, “00000000″)
;Disable Help > Digital Editions” (get e-book$ online) for Acrobat 9
RegWrite(“HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Adobe Acrobat\9.0\FeatureLockDown”, “bShowEbookMenu”, “REG_DWORD”, “00000000″)
;”Disable all Acrobat.com access, including initiation and participation” for Acrobat 9
RegWrite(“HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\9.0\Downtown”, “bDontShowAtLaunch”, “REG_DWORD”, “00000001″)
RegWrite(“HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\9.0\Downtown”, “bGoOnline”, “REG_DWORD”, “00000000″)
Case 2 ;”Cancel”
Exit
EndSwitch
Screenshots:
WSUS client error 0×80244022
Posted by Terje Skulstad in Software, Windows on August 17th, 2009
Ever seen this error “Error 0×80244022 occurred while downloading update notifying dependent calls” in your Windows Update.log?
Typically you have a Windows client, set up to use WSUS, but still you see that it keeps banging at http://update.microsoft.com for updates. Most likely this is caused by a corrupt download, and the best way (if you ask me) is to delete the WSUS client cache and let it check for updates on the local WSUS server instead.
To delete the cache:
On the client, stop the service “Automatic Updates”, delete (or rename) the SoftwareDistribution folder under %windir% (typically C:\Windows or C:\Winnt) and start the “Automatic Updates” service again.
Unable to delete files or folders from System Volume Information?
Posted by Terje Skulstad in Software, Windows on July 20th, 2009
OK, probably a security feature built in to Windows 2008. If you give yourself access to the System Volume Information folder in 2008 (e.g take ownership) you can see the files, but if you try to delete something, everything looks OK. You press Delete, confirm with Yes and “What the f#%¤!”, the folders are still there? Even if you try running Explorer with elevated privileges, it doesn’t help.
What you have to do is run it from the command line.
Start –> Run –> cmd –> ”OK”
cd System Volume Information
rd “folder name” /s /q
You might have to run the last command twice or else it won’t delete the top folder.
Please BE CAREFUL when deleting stuff under System Volume Information! In my case I had to do it due to an unsuccessful restore which left behind 5Gb of data
Bug in Windows 2003 Network Connections?
Posted by Terje Skulstad in Software, Windows on July 15th, 2009
I’ve found something that appears to be a bug in the Windows 2003 GUI. I’ve had some trouble getting the status dialog box for the Network Connections to show. Selecting the LAN connection and double-clicking, right-clicking or File –> Status all failed. Usually I just go to the Start menu, select Network connections and double-click Local Area Network, but on some servers it just wouldn’t show the Status dialog. Same thing happened if I went through the Control Panel.

Since I’m writing this post of course I’ve found a workaround
I could report it to Microsoft, but it would probably cost me big bucks to fix it…
Workaround:
Instead of just clicking Network Connections on the Start Menu (or Control Panel), right-click and select Open. The you should be able to get the Status dialog on your LAN Connections.
It worked for me, and might work for you too
(Tested on Windows 2003 R2 SP2)
Move the local WSUS update folder
Posted by Terje Skulstad in Software, Windows on July 14th, 2009
To move the WSUS content folder to a new location, use the wsusutil.exe. It’s located in C:\Program Files\Update Services\Tools\
To move the folder to d:\wsus you first have to create the folder, then run the wsusutil from the command line. Log file has to be specified.
wsusutil.exe movecontent d:\wsus d:\wsus.log
Depending on the size of the local update folder and disk speed, the content will eventually be moved to the new location.
As you can see from these before and after screenshots from the Share and Storage management snap-in in 2008, the util takes care of changing the shares.
I noticed that the utility doesn’t seem to move the updates, but copy them. After the operation was complete, I had to delete the folder C:\WSUS manually (6GB).
More info on storing WSUS updates: http://technet.microsoft.com/en-us/library/bb245839.aspx
Move the Remoteinstall folder in Windows 2008
Posted by Terje Skulstad in Software, Windows on July 14th, 2009
When I set up my testserver I only had one disk available. Afte a while it started filling up, so I added a second disk to it. To move the RemoteInstall folder from the Windows Deployment Services in 2008 while keeping all the settings I followed this procedure:
Using elevated privileges Start –> Run –> cmd
Run WDSUTIL /uninitialize-server
The copy the RemoteInstall folder to the new location (in my case D:\)
Run WDSUTIL /Initialize-Server /RemInst:C:\RemoteInstall
That’s it!
Your WDS storage is now moved to the new location. Needless to say, but you should now check to see that your still able to PXE boot and install images.
Which version of SQL Server 2008 Express Edition?
Posted by Terje Skulstad in Software, Windows on July 9th, 2009
Microsoft has released 3 different versions of SQL Server 2008 Express Edition. Which version should I download and use? Well, depends on your needs, but just to be sure, I downloaded SQL Server 2008 Express Edition with advanced services. This is the one that has the most features, but if you need them is another question…
Found this link to an MSDN blog which shows the features in each edition: http://blogs.msdn.com/sqlexpress/archive/2008/08/07/what-s-up-with-sql-server-2008-express-editions.aspx
I’m using it for a Windows 2008 WSUS test environment, so I could use the Windows Internal Database, but where’s the fun in that
If you want to do it the easy way, you don’t have to install any version of SQL Server Express on Windows 2008 at all. You could use the Windows Internal Database which is included with the OS. Just add the feature Windows Internal Database.
Haven’t looked into this yet, but I think it should also be possible to migrate the internal database to feor example an express edition (2008). Have a look at these:
Snapdrive install – Event id 11923
Posted by Terje Skulstad in Software on July 3rd, 2009
Tried installing a Snapdrive upgrade (6.1)on a cluster, but ended in error code 1923 that the current account didn’t have rights to add a service. I tried both the local administrator account and the domain admin account, but both failed. Don’t get more rigths than these, so I was puzzled that the installer failed. Event log reported MSIInstaller error 11923.
After som trial and error I solved it! During the wizard, you have to select the account the service should run as (local account in my case). It didn’t accept the dafault value which was .\”accountname” and I just punched in “accountname” and the password twice and I was able to continue but ended in the 1923 every time.
What you have to do, is type in the account as “servername\accountname” and the service installs just fine
. If you’re using a domain account you would probably not see this problem since it’s always punched as “domainname\username”
Netapp’s own support site describes a similar problem in kb46940, but that one is related to missing .NET Framwork Servicepack
—quote—
If .NET Framework 3.0 is installed via Windows Update, Service Pack 1 will not be installed at the same time. However, the SnapDrive 6.0.1 Install Wizard will allow the installation to continue, without SP1.
- Install .NET Framework 3.0 SP1 from Windows Update.
- Install SnapDrive installation again.
Once the .NET Framework 3.0 Service Pack 1 is properly installed, the SnapDrive service will start without issue.
—End quote—
EDIT: Tried this on another node, but still failed. Stopped the cluster service, set it to manual, did a repair on Microsoft .NET 3.5 SP 1 and restarted. After this the installed worked. Started Cluster service and everything looked ok.







