Windows 7 & DS = Grrrr
So, I've been bashing my head against this for quite some time. I have been tasked with having conducted initial approval testing of a Windows 7 image (initially IT Workstations) prior to the official public release. We have a Microsoft Agreement and actually have all teh RTM pieces we need. Unfortunately things have hit a wall.Here's hoping that someone here can assist me.
Intro: So I started developping a W7 deployment strategy using the RC and DS 6.9 SP2. I scripted all my own deployment tasks, and had this working. I have since built a test build of RTM and have installed DS v6.9 SP3. Unfortunatey SP3 hasn't helped me out at all, as I am using custom tokenised unattend XMLs and a variety of scripts to perform the unattended instalaltion ... I am not using the inbuilt ImageX or SYSPREP options in DS. I have *almost* everything working that I need to... except;
Here are the issues;
1) Does anyone know why the ordering of computers in the DS console is wrong? I have all my Windows XP/Aclient computers showing up the correct way, but when I expand a folder in the "Computers" pane, the W7/Dagent computer shows up at the bottom of the list. It's not in alphabetical order. If, instead of expanding the folder to reveal computers, you simply click on teh folder, the computers show up in the right-pane in the correct alphabetical order. It's pretty confusing, and makes it hard to track systems down.
2) What is with remote control? Using the new Dagent (6.9.430) I get artifacts on the remote screen. The user doesn't see it, but I have heaps of little horizontal lines all over the interface. I have confirmed this on a variety of systems using Intel, Nvidia and ATI cards. Windows XP computers running Aclient (6.9.430) appear unaffected.
3) Dagent is unstable? I am still testing why/how this service crashes, but I think it may have something to do with a UAC prompt I had when switching "Task Manager" to show all user processes. I just lots remote control. I still had the last picture (screen shot) on the system, but it would not respond. on investigation the Dagent service had stopped. There was no error message or anything. I thought that my stability issues were due to having the older Dagent (SP2), but the SP3 doesn't appear to have improved things.
4) Still no cross-session remote control? As expected, due to still using Altiris Remote Control instead of pcAnywhere as the remote engine, the Vista/Windows 7 logon screem, lock screen, UAC screens, etc are all blocked from the remote control. This is a real pain when trying to remotely diagnose a problem. The inability to remotely log on to a system to test something is a pain. When this issue was found (when Vista was in Beta), there were plenty of other programs that worked a treat (Radmin for example). I still can't believe this is an issue. Has anyone found a workaround or another solution? I need to remotely access my computers.
5) Still issues with deploying software? I am also butting my head against MSI isntallation dramas. It would appear that any MSI that contains a per-user component (that uses a non-present HKEY_CURRENT_USER registry key to set of a per-user heal - for creating first-run user settings etc) will fail with a 1603 Fatal error when deployed through DS. Unfortunately a LOT of our packages are adminiastrative installs (files outside of MSI/CABs) and/or require trasnform files. As such I cannot use the "Copy using Deployment Server" or "Copy then execute" options for the "Distribute software" task. I instead use a locked-down domain account (with local admin rights to the computers) to run the installs directly from our Application DFS folder/share. This works perfectly in XP, but seems to be our issue with Windows 7.
I have run a series of tests for this issue (5) and can tell you this;
a) If you remove the per-user component from the MSI, the instalaltion works perfectly as a per-machine instalaltion, however required user registration, settings, etc, are not present for any user. This is a possible work-around, but not one we want to use.
b) If you keep the per-user component and attempt to deploy to an XP computer, it all works perfectly. The user launches the application, it heals the user settings into the system, then launches the software. Great.
c) If you keep the per-user component and attempt to deploy to a Windows 7 computer, it will fail. Logging the install verbosely indicates that the MSI produces it's fatal error (1603) because of a registry key not being present (1402 - error accessing the "HKEY_CURRENT_USER" and/or "HKEY_CURRENT_USER32" key required for the install) and that results in a system error (1018). The exact error message goes something like this;
MSI (s) (X:Y) [HH:MM:SS:sss]: Product: <Software_Title> -- Error 1402.Could not open key: HKEY_CURRENT_USER32\Software\<path_to_software_user_settings>. System error 1018. Verify that you have sufficient access to that key, or contact your support personnel.
d) If you keep the per-user component and attempt to deploy to a Windows 7 computer that is logged on with the exact user account specified in the "Run As" within DS.... then the install works 100%. It even heals the per-user registry settings on launch like it is meant to.
Any ideas? Solutions? Work-arounds? I need to be able to deploy our software to our computers.
----
Conclusion: I may be able to get a Windows 7 deployment process working, but post-image management of the system is a joke at the moment. With the inability to deploy software, remote control correctly (without crashes and from the logon screen etc), I am seriously unhappy with recommending a Windows 7 deployment while we are using the Altiris tools.
Any assistance grratefully received.
Comments
We are having the same
We are having the same issues. Anyone have a response?
Same
We are having the same problems as well. I had to create a wise script to enable the autologin of the account we use to deploy software to get it to work the same way as it did in XP. I have only recently noticed your problem 1 and it is with system that are XP SP3. I don't know why these 3 computers are at the bottom of my list, so I would be curious if anyone knows what is going on.
Updates!
Solutions and further information:
1) DS ordering issues have been confirmed by Symantec. Apparently a few types of computers, like the HP Evo dc7900 desktops, report into the system as "Thin Clients" with a node type of "3" instead of the standard desktop type "4". This is causing the ordering issue. Symantec have provided me a testing "axengine.exe" version 6.9.436. I have installed this and reset my client conenctions and it has resolved all my issues. Symantec will be bundling this, with a bunch more fixes, into a new SP4 release soon.
2) Screen artifacts in Dagent (and Aclient) have been confirmed by Symantec. They are working on a solution. I have heard nothing back as of yet.
3) Dagent "can" become unstable, although I am still unsure why. It appears to be a combination of things, but certinly a few things stand out;
Since installing a few Symantec test fixes, updating drivers, and tweaking a few things here and there... the crashes have all-but-gone. I am now fairly happy with the stability.
4) UAC/Session issues with remote control (can't remote from the logon etc) have been confirmed by Symantec as known issues and will not be resolved within the "DAgent" life. The new DS uses pcAnywhere as the remote control client, and it apparently does everything we need including logon screen interaction, UAC interaction etc. Apparently those with current maintenance agreements for "Carbon Copy" can request version 12.1 of pcAnyWhere as a stop-gap. There's a KB article on how to integrate it into DS as well. Unfortunately, I am not one of these lucky people and will need to wait for the new DS.
5) Deploying software is now fixed (in testing). Symantec have provided me a texting "default.dll" (for both 32-bit and 64-bit) version 6.9.600. I have installed this on a number of "Windows 7" computers and can now deploy all software that was previously giving me 1603 errors. Symantec will be bundling this, with a bunch more fixes, into a new SP4 release soon.
---
So for me at least... my computers show up correctly in DS, I can deploy images and software, and can *mostly* do the remote controlling I need. Seems I have no excuse now... Windows 7 it is. I just hope Symantec releases the SP4 soon, as I need to have my first production client image ready to roll in four (4) weeks time.
Quote: "I know not what other much is else. But what other else is there?" - ***** (OP hidden as that was too awful! Lol)
So sounds like SP4 is a must for Windows 7
Would you say that?
I thought Sysprep was a required step for creating images. Are you using something else for prep the image? I'm looking for any guide lines for Windows 7 Deployment with DS 6.9 SP3.
Andres Ochoa
CMS II Administrator
ACE
SP4 is a must
Unless your DS usage is extremely limited, you'll hit a number of walls with the current SP3 installation. So, yes, I think SP4 is a must. That being said, If you're only starting out, SP3 and some work-arounds will let you start building a Windows 7 image. With that said, you don't even need SP3! I started to build my "Windows 7" process with SP2. Sure a few labels and descriptions weren't "Windows 7", but the "support" added through SP3 is somewhat limited anyway and everything I had done in SP2 was still good in SP3.
As for the imaging process... here are a few pointers;
a) I've never had much luck using the inbuilt Deployment Server samples and options for "Scripted OS Install" etc. Lucky for me, there is nothing stopping me from using scripts and a little tinkering to achieve the whole image/configure process anyway. More "manual", but a LOT more control. I still use SYSPREP, but my scripts are my own, and seems to work a heck of a lot better.
b) While the supported method for image creation is to use SYSPREP, most people gave SYSPREP the flick and used HII (HAL and Driver injection), unique images (per HAL and/or machine type), etc, and most did that in combination with "NEWSID" to make the computer unique. SYSPREP used to kill alot of things I needed to retain (like user profiles, wireless pre-configurations ettings, browser settings, all "default profile" settings etc), so I stopped using it in favor of one of the aforementioned processes. As of Vista/7 though, I changed back to "SYSPREP" as the process is much better and far more reliable. It still nukes a lot of things, but it's certainly better than is was. Also, in case you didn't hear, Mark Russinovich from Microsoft (the writer of "newSID") has recently binned "NewSID" and is now claiming that the whole "SID generation" process is no longer needed, and in fact never was. That means, you can always make a model-specific image, then roll that out with some scripts to reset the WSUS and AV-vendor IDs, then you're right... the only requirements are that the cloned computer is removed from the domain PRIOR to capturing the image and will never be used to create a domain (as domain controllers). In both of those cases, bad things happen.
c) I like to keep things "simple" but do it the hard way. I actually used WAIK (WSIM) to generate a whole "unattend.xml" file and am using an external datasource (new database table) with "ReplaceTokens" to produce on-the-fly pre-configured "unattend.xml" files for each imaged computer. An unattend that will name the computer, set admin user passwords, set all language/time/etc options, as well as define a computer-specific OU and add the computer to the domain. It does everything automatic. It also allows me to use the post-ooBE "setupcomplete.cmd" file to install drivers, the DAgent, and other requirements before a logon screen appears.
d) As DS can't really do multicasting with ImageX (thats a MDT/Server 2008 feature), I use an Altiris image of a SYSPREP'd base. For my deployment I boot into WinPE v2.1 automation, use a script to check and configure disk partitions, lay down the Altiris image, then drop the tokenised "unattend.xml" file I generated into the "Panther" folder, then script the BCD so that Windows loads off the new HDD. I let the system reboot and it fully configures my computers for me. With KMS, the systems also become activated. Down side: It would be nice to inject software, patches and drivers into the WIM via DISM and deploy that... rather than the somewhat un-touchable Altiris image format. Up side: Unlike ImageX, I can multicast the disk image to hundreds of computers to speed up the deployment,
e) As for "drivers", I do a model detection within automation and copy across the driver repository and driver-installer script to the system, I then execute the driver installations with the "setupcomplete.cmd" option. This runs without UAC, post OOBE, and pre-Logon. Works a treat.
f) Also, to avoid nasty imaging issues whereby an "Agent Update" interrupts the system, my base images does NOT contain the "Dagent". During automation I also copy down a "installer" script and the Dagent MSI. My script installs the Dagent and injects all the required configuration data the system needs. This is also performed within the "setupcomplete.cmd" file. Reboot and BAM... fully configured computer form a single Altiris source image file.
--------
One parting note: If you're slowly building, testing and re-capturing your images... remember to set the "SkipReArm" option (which can be done within the registry). Without this, you only get three re-arms before your images are toast and need to be rebuilt. If you don't have a KMS yet, I suggest you build you master computer, activate with an MAK via the VAMT, build and ALWAYS set the "SkipReArm" option. Each time you system loses it's activation, you can use the VAMT to re-deploy the MAK to the computer without using another MAK license.
I plan on blogging about my W7 investigate, deployment and tweaking experience... until then, feel free to ask me questions.
Murray
Quote: "I know not what other much is else. But what other else is there?" - ***** (OP hidden as that was too awful! Lol)
Look forward to it
I look forward to a article or blog about how you are doing your Windows 7 deployment. I have also not had much luck using the Scripted OS installs (SOI). It has always been easier to use manual scripts instead of the SOI because of complete control allowed with using my own scripts.
As for SP4, didn't they just (with in a few months) release SP3? I don't suppose they have some hot fixes for some of the things you have fixes for? The main thing I am looking for is your #5. Everything else I can deal with until SP4.
SP3 came out a few months
SP3 came out a few months back, yes. Unfortunately it broke more stuff than it fixed. Everyone installed it because it had "support for Windows 7", but problems with the agents, remote control, ds engine, etc have made then build and release a number of hotfixes... so many hotfixes now, that a service pack is probably required.
Anyway, looks like Altiris have updated the KB article and added the testing DLL they made for me. Feel free to get it here:
https://kb.altiris.com/article.asp?article=49390&p=1
This will solve your software deployment issues.
EDIT: I just noticed that the DLLs added to that KB are v6.9.437 and the article talks about "Vista" issues and support. The build they sent me was v6.9.600. I am unsure if the "600" was to designate a "testing" file or not. Feel free to try the one attached to the KB... I will be in touch with my Symantec Case Engineer to confirm.
Quote: "I know not what other much is else. But what other else is there?" - ***** (OP hidden as that was too awful! Lol)
OH NO!
Just found another issue. While Symantec have released a fixed "axengine.exe" for the DS ordering issue... they have only fixed the "dc7900 SFF" systems. We also have the "CMT" and "USDT" versions and they still appear out of order. I was going to post up the replacement AXENGINE details, but it seems that it's not fixed yet.... so I won't.
Quote: "I know not what other much is else. But what other else is there?" - ***** (OP hidden as that was too awful! Lol)
Even after getting the hotfix
Even after getting the hotfix I am still encountering the same issue. Im trying to deploy the MSI and it says it complete but it does not install. It does install if I run it in the user console and they are an admin.
Interesting...
@davidhilling: Thats an interesting issue you have there... but I have a suggestion. Can you try looking at the MSI within "ORCA" (or whatever you MSI/MST tool may be). Can you check the "Property" table and ensure a value is there called "ALLUSERS", and that it is set to "1" or "2".If the MSIEXEC process returns a status code "0" and the deployment gets a green tick, then it sounds like the installation worked as expected. What you may be finding is that the application defaults to a "per-user" instalaltion and is only providing the necessary shortcuts, advertising and components to the user account that installs it. In this case, you may find that the "SYSTEM" account, or the runas user specified int he DS job, will get the instalaltion, but no-one else will. Setting the property above will convert it into a per-machine instalaltion, and could either resolve the issue, or at least assist with further diagnosis.
Another cause, of course, could be that the installation requires a UILevel greater than you are permitting in order to trigger custom actions. If the instalaltion is dependant on custom actions, and these are NOT in the correct "InstallExecuteSequence" table areas, then thectual install events may not be triggered. I've seen a few applications that trigger a required part of the instalaltion on the press of a "Next" button (dialog) only. As such, a silent deployment would succeed, but the instalaltion was not there. You can test this by setting the "ALLUSERS" proerty above, then doing a series of tests using full, basic (/qb), and no interface (/qn)... then see if the application works as expected.
Quote: "I know not what other much is else. But what other else is there?" - ***** (OP hidden as that was too awful! Lol)
More Updates...
So my troubles continue. I've also being logging new support cases until my fingers bleed. The result... a LOT more Altiris KB articles and a lot more hotfixes. Here's what we know; Just about all my initial issues have now had hotfixes created and attached to KB articles. Feel free to search the KB for your issues and get the latest updates. Here's my issue though... I needed several hotfixes applied to correct all my issues, and as SOON as I applied them all, I started to experience strange issues with my server. Remote Control became unstable, perfectly running scriopts would return an error code "1" and list as fail even if they succeeded, and well, generally, everything started to fall apart.
I have now reverted back to v6.9.430 components on almost ALL fronts except for the new "default.dll" for DAgent... no issues with that so far. It's also critical that we be able to deploy software to Windows 7, so it needs to stay.
Some new issues I found (which have now been created as KB articles) include;
a) The requirements for something other than "Serial number" in the "Primary Key" is back. The KB article has been changed to remove the "fixed in SP1" line and now lists SP2 and SP3 as having the fault. If you set the "Primary key(s)" to something that doesn't also include "MAC Address", then WinPE automation will start producing 0xC000001 (BCD) errors on boot. This was meant to be fixed and allow users to run with "Serial number" only, but nope... still required.
b) The new Dagent does bad things to user profiles. For some reason it locks the "CryptnetUrlCache" folder on logoff. This may not be an issue for most, but in a multi-user environment where everyone uses roaming and/or mandatory user profiles, this results in a 0 byte folder for the user profile remaining on the hard disk. Subsequent logons will then change from "name" to "name.domain" to "name.001", then "name.002" and so on. Eventually seeing hundreds of user folders in the "C:\Users" location. If you stop the "Altiris Deployment Agent" service prior to logging off, then the profile is released and/or deleted correctly. It's now a "know issue" with no known fix at present.
Quote: "I know not what other much is else. But what other else is there?" - ***** (OP hidden as that was too awful! Lol)
SP4?
Thanks for the excellent posts NKX. I've experienced several of the issues you've mentioned and am also looking at deploying Windows 7 soon. DAgent overall is very disappointing right now. I have to admit that I'm quite frustrated with DS at this point, and wonder if Symantec will destroy a once great product.
I spend more time troubleshooting than administrating, and that is not acceptable long-term.
But for now, is there any word on the SP4 release?
Would you like to reply?
Login or Register to post your comment.