Jump to content


Established Members
  • Content Count

  • Joined

  • Last visited

  • Days Won


Zahmatra last won the day on March 22 2012

Zahmatra had the most liked content!

Community Reputation

1 Neutral

About Zahmatra

  • Rank
  • Birthday 03/25/1980

Profile Information

  • Gender
  1. I have a quick question. I have been trying to have a USMT offline task sequence that can run directly from a USB flash drive. While the normal USMT can pull all the settings like computer name, software installed, etc without any problem; I find myself having a hard time to be able to do similar in offline mode. The idea is this. 1) Boot from flash drive, 2) Read the settings from the offline XP 3) Set all variables (language, computer name, software, etc) 4) capture profile via USMT offline 5) install Windows 7 6) Restore data via USMT. I go everything working except the vbs to read the computer name and set it in the OSDComputerName variable. All other variables I was able to get away by checking folder existence. the vbs contains the following: Set oShell = WScript.CreateObject("WScript.Shell") Set env = CreateObject("Microsoft.SMS.TSEnvironment") oShell.Run "cmd.exe /c REG LOAD HKLM\TempHive C:\windows\system32\config\system",0,True env("OSDComputerName") = oShell.RegRead("HKLM\TempHive\ControlSet001\Control\ComputerName\ComputerName\computername") The idea is to load the hive, read the registry to obtain the computer name and set it on the OSDComputerName variable. However, this vbs fails to run. Any idea on what is wrong? Am I making a mistake on the vbs? or is there any other way to pull that info? I know I can just request for the computer name before the TS starting, but I would prefer to have something fully automated. Thanks
  2. I did and unfortunately I don't have that bak on the registry that they are talking about. I even tried the "fix it for me" option but still no change.
  3. I have been working on solving this problem for about a week, but finding the solution is becoming very tedious. This is the scenario: Our TS is able to do migration from XP to 7 without any issues. Out TS is able to do refresh from 7 to 7 until recently. The refresh scenario introduced a nasty problem on our last Win7 image (meaning, the same TS with an earlier Win7 image worked fine. The difference is about 32 updates added to our production image). In the refresh scenario everything seems to works well: all data is migrated, and user accounts who were in the system earlier are being moved properly and able to login and work. But, if a new domain user tries to login into the machine you will get the following error: The User Profile Service failed the logon. User Profile cannot be loaded. I have been trying to trace the problem and it seems to be related to the USMT on the settings for I believe the default user account. This issue was introduced (from what I can see) by one of those 32 updates. Any of you have any information about this kind of problem? Thanks Max
  4. After trying for several days, I was able to find the problem. One of the software packages was restarting after installing, cutting the task sequence in the middle. Because the software was right at the end before the next restart, then I couldn't see it. Since the software was initiating a restart, then the TS cannot save the log info, and when restarts, cannot continue with the rest of the installations. I redid the package to avoid the restart and it works now. I hope this info can help others.
  5. We have a couple of task sequence for deploying Windows 7 that are working properly without any issue. One of those did not have the USMT embedded, so I updated it with 1) disabling the format partition and 2) used USMT to save the data, boot on PXE, Apply the image and restore the data. When doing this, the task sequence runs fine at the beginning: 0) Run the task sequence from Advertised programs on WinXP. 1) It does a hard link save state. 2) restarts in PE 3) Apply the Win7 image and drivers 4) Restarts and apply graphic driver by running the installation software 5) Restarts and it supposed to continue installing software but bails out with no error. It just reboots and it goes into the login screen. In the log I find the following: Failed to save environment to c:\_SMSTaskSequence\TSEnv.data (80090017) and later on: Failed to set log directory. Some execution history may be lost. The system cannot find the file specified (Error 80070002) I am at lost on this one. Is there any way to troubleshoot this? Or somebody has run into this situation?? Thanks
  • Create New...