Jump to content


Established Members
  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by ersatyle

  1. right, but I don't think the TS variables are already set up so early in WinPe (I may be wrong), that's why I was thinking an ignore button would just do the trick (there is probably more clever solutions but my coding abilities are somewhat limited)
  2. well in a standalone image you don't need network connectivity to run the task sequence right? you can just run it from an usb key. But it's still using the boot image to boot in winPE at the beginning, so if we have a script asking for network in the boot image without any way to ignore it the task sequence can't start. hope it helps, let me know if it still unclear?thanks
  3. so I've implemented the script in an MDT 2013 update 2 boot image (integrated with sccm) , works great, detects when no network or when no disk, really really usefull, should be included by default Niall, thanks a lot for putting this together and sharing it! Now... i'm sometimes using a standalone image, using the same boot image, is there a way in the script to detect it (or prestaged media) and bypass the network detection in this case? yeah I could choose another boot image without the script but I have other customizations as well and like to keep thing as simple as possible thanks a lot
  4. nice guide thanks! do you know which method take precedence if the smsts.ini is specified in the wim and in the extrafiles? And can you check or change the extrafiles folder after the boot image has been created? (is it the same as the source directory for the prestart command?Or could you add those values from the prestart command, like registry in WinPE?) (IE: i'm not sure if I did add this extra file folder during the creation of the boot image, and I'd like to avoid creating a new one...) Thanks a lot
  5. Hi, probably not a direct answer but when confronted with the same scenario instead of using the application model I use the old package system, and specify for the deployment to run the program from the Distribution Point, so that won't use the cache at all. (the application model will download in the cache, there is no options to avoid that) I've also considered increasing the cache size with the right click tools from now micro on the targeted collection ( you can also clear the cache) hope that helps, good luck
  6. thanks so much for this script, works top notch (using winpe 10 x64 from mdt 2013 integrated in sccm 1606 & adk 1607 here.) only suggestion would be to add a detection or an ignore button in the case of a standalone media, so that the same boot image could be used for online or offline imaging. But yeah that will help tremendously for the new models!
  7. hi, sounds super interesting and usefull I'll try to implement this with an mdt boot img quick question before how would it reacts if it's a standalone image? thanks!
  8. i know this is old but as it came up from a google search my way to do this (notably for activInspire) is to wrap those installer with the PowerShell App Deployment Toolkit as I really don't want to create 5 or 6 applications at each new version and manage the supersedence and dependencies the task sequence idea is good also but you loose the ability to deploy to a user collection and you still have to create 5 or 6 package (or 1 pacakge and 6 program) hope that helps.
  9. hi, would you be kind enough to share how did you manage to find this issue? I see this error only on dell latitude 2120 laptop, and I'm really not sure what could cause it. thanks
  10. hi, I'm getting the exact same problem here also. Anyone found anything related to this? thanks
  11. hello, did you uncheck "use media hook" when creating your boot image if you used mdt integration? For me I fill the OSDcomputername variable only for the new computers, if the computer already exist in the sccm database it will keep the existing name. now I use the Apply Windows Settings step also, but don't have a key as we use a key management server how do you manage your key after that?maybe could you post some screenshot to give a more clearer idea of what your doing and what's wrong. good luck
  12. Hello all, hopefully you can help solving this issue that's bugging me for quite a time. When we're deploying new computers, or computers that are not in the sccm database, we use the OsdComputername variable to name the computer, it's working well but when I'm looking for the logs in the console under system status> advertisment status the default computer name (minint-xxx) appears in the system column instead of the given name, until the task "Setup windows and ConfigMgr" has completed (and still the new name is displayed only for the "Software Distribution" component. here is a screenshot of what I see, it's not really important for 1 or 2 computer but when we're deploying 100 at the same time it's impossible to troubleshoot. https://skydrive.liv...3E677D04EA!5652 so how could we have the name we had specified in the osdcomputername variable at the start of the task sequence displayed in the "system" name in the status messages report? I know there is the the _SMSTSMachineName buit in variable but i'm sure how I can use that in my task sequence. thanks
  13. salut, do you try adminstrateur or administrator account? did you modify the unattended.xml file (or do you specify it in the next step "configure windows and configmgr?) and if you enable this step is it working?
  14. hi, I don't have a "capture" TS I use the iso created via right click on task sequence > create task sequence media>capture media" (3rd choice) And then I run the cd directly from the live OS (it starts the sms\bin\i386\tsmbautorun.exe) (so I'm not using the guide here on windows noob to capture the installation, right?) see here if it can help http://www.kozeniauskas.com/itblog/2008/01/21/sccm-how-to-capture-image/ http://technet.microsoft.com/en-us/library/bb694129.aspx As I said, I don't have sccm client on the machine at this point, I'll install it later via a task sequence once the computer is in our network. Hope this can help.
  15. hello, I'm currently working on the same scenario, this is what I do: install windows7, boot in audit mode customize the installation with applications, specifig config etc the machine is not in the domain, nor the sccm client installed on it once I'm done with the customization, I capture it using the "capture media" included in sccm (right click on task sequence > create task sequence media>capture media" you'll have a iso file, you can burn it and launch it (you can't boot on it), it will capture your installation and create a wim for you After that I import the wim file, and include it in my task sequence. good luck!
  16. ugly workaround: create a task deleting the user's folder (cmd.exe /c rd "%systemdrive%\documents and settings\administrator" /S /Q ) problem doesn't show up after that, but I would have preferred a more aesthetic approach (like using the /ue switch)
  17. hi everyone, today (actually I'm stuck on this for a few days^^) I'm trying to migrate domain users only from win xp to win7 x64, as one of the local account is giving me trouble. French windows xp, we have an account named administrator that is not the built-in account. If I delete this account under windows xp everything works ok, no errors. if not, I get the error code 2147942414 during the restore phase: The task sequence execution engine failed executing the action (Restore User Files and Settings) in the group (Last actions) with the error code 2147942414 Action output: . Connection request for "C:\USMToffline" Path is not a UNC Path. Trying it as a local path. Failed to verify existence of file 'C:\Windows\SysWOW64\CCM\core\TSRES.DLL', error = 2 Succeeded loading resource DLL 'C:\Windows\SysWOW64\CCM\1033\TSRES.DLL' Executing command line: "\\sms.xxxx.yyy.zzz.ca\SMSPKGD$\00A000EE\amd64\loadstate.exe" "C:\USMToffline" /c /v:5 /l:"C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\loadstate.log" /progress:"C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\loadstateprogress.log" /i:"\\sms.xxxx.yyy.zzz.ca\SMSPKGD$\00A000EE\amd64\MigUser.xml" /Hardlink /nocompress Log messages are being sent to 'C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\loadstate.log' Starting the migration process Processing the settings store Selecting migration units Failed. Unable to create a local account because /lac was not specified See the log file for more information. LoadState return code: 14 USMT returned exit code (0x0000000e). Look USMT log file loadstate.log for detail error message.. The operating system reported error 2147942414: Mémoire insuffisante pour cette opération. and in the loadstate.log 2011-06-22 15:58:13, Info [0x000000] User name resolved user1 => myDomain\user1 2011-06-22 15:58:13, Info [0x000000] User name resolved usager => myDomain\usager 2011-06-22 15:58:13, Info [0x000000] User myDomain\user1 maps to S-1-5-21-340877299-1005004471-620655208-20057 2011-06-22 15:58:13, Info [0x000000] User TheComputerName\Administrateur maps to TheComputerName\Administrateur 2011-06-22 15:58:13, Error [0x000000] The account TheComputerName\administrator is chosen for migration, but the target does not have account TheComputerName\administrator. See documentation on /lac, /lae, /ui, /ue and /uel options. 2011-06-22 15:58:13, Info [0x000000] Failed.[gle=0x00000006] 2011-06-22 15:58:13, Info [0x000000] Unable to create a local account because /lac was not specified[gle=0x00000006] 2011-06-22 15:58:13, Info [0x000000] Entering MigCloseCurrentStore method 2011-06-22 15:58:13, Info [0x0801dc] Closing catalog file 2011-06-22 15:58:13, Info [0x0801dd] Deleting catalog file at C:\Windows\Temp\tmpFDB.tmp\Temp\tmp22D8.tmp 2011-06-22 15:58:13, Error [0x0802f5] CMediaManager::Close: m_pSelectedTransport->Close(1) failed with Exception Win32Exception: Device was open with readonly access.: Accès refusé. [0x00000005] void __cdecl Mig::CMediaManager::CloseTransport(int) void __cdecl Mig::CUNCTransport::Close(int).[gle=0x00000006] 2011-06-22 15:58:13, Error [0x000000] MigCloseCurrentStore caught exception: Win32Exception: Device was open with readonly access.: Accès refusé. [0x00000005] void __cdecl Mig::CMediaManager::CloseTransport(int) 2011-06-22 15:58:13, Info [0x000000] USMT Completed at 2011/06/22:15:58:13.235[gle=0x00000006] 2011-06-22 15:58:13, Info [0x000000] Entering MigShutdown method 2011-06-22 15:58:13, Info [0x080000] Manifest thread was canceled. Exiting. If I tick the "restore local computer user profiles and assign a new password, it will work too (as seen here ) But of course I don't want the local users to be transferred I'm using the offline migration as described here on windows-noob.com Ok now my questions: - do you know a way to solve this? - I tried to specify in the task sequence variable "OSDMigrateAdditionalRestoreOptions" value: /Hardlink /nocompress /ue:%computername%\* but of course the %computername% equals MINWINPC during winpe, is there a way to get the real name of the computer in a variable? - I tried to use the command net user to delete the local administrator account, but still in winpe I take any ideas you might have, tell me if I missed something Thanks for reading!
  18. Hi, I think (I'm not sure as I didn't test it, if I'm wrong please correct me) that you can advertise a mandatory task sequence, on already existing machine with sccm client working it will modify the boot manager to boot directly into the winpe environment, and then run the task sequence
  19. last up, I'm a little sad that anybod doensn't even have a suggestion about this issue=( I've read that i can be doable by script, but the option is in the .xml files, so why doesn't it work? http://blogs.technet.com/b/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx (french script here: http://danstoncloud.com/blogs/yannick/archive/2011/01/11/personnaliser-la-barre-des-t-226-ches-et-le-menu-d-233-marrer-par-script-et-unattend-xml.aspx) thanks
  20. hi, I came here with the same question a few weeks ago ^^ advertise the task sequence on the "All unknown Computers" collection. computers will be named minint-xxxxx after that, if you're in testing process you may want to create a minint-xxxx collection with a request on computer named minint-%% and advertise your deployement on this collection as well good luck, let me know if that works for you!
  21. hi, do you have sccm with sp2 installed? also I don't see any attachement?
  22. everyone is happy with the default start menu? can't believe this^^ or do you all use the copy profile method? In my case I captured a blank install (as described in the guide here) so I don't think I can use this method, and I managed to create all the software packages and task sequence that I wanted, and don't want to revert to another approach. more generally is there a list of some kind of all the elements in the unattended.xml that don't work during a sccm deployment? thanks!
  23. hi, has anyone tried with success to implement the "StartPanelLinks" line under the "Microsoft-Windows-Shell-Setup" in their unattended.xml (processing through the TS in the Apply Operating System) the "taskbarLinks" is working ok, but nothing appears in the start panel Also I tried to specify the background, with no luck I repeat those parameters in the Specialize part and OobeSystem, as I'm not sure wich one should work here an extract of my answer file, in the specialize part (french version of windows 7 x64) <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <WindowsFeatures> <ShowMediaCenter>false</ShowMediaCenter> <ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer> <ShowInternetExplorer>true</ShowInternetExplorer> </WindowsFeatures> <ShowWindowsLive>false</ShowWindowsLive> <CopyProfile>false</CopyProfile> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <OEMInformation> </OEMInformation> <ComputerName>*</ComputerName> <TaskbarLinks> <Link0>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Outlook 2010.lnk</Link0> <Link1>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Word 2010.lnk</Link1> <Link2>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Excel 2010.lnk</Link2> </TaskbarLinks> <StartPanelLinks> <Link4>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Création de DVD Windows.lnk</Link4> <Link3>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Calculatrice.lnk</Link3> <Link2>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Word 2010.lnk</Link2> <Link1>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Excel 2010.lnk</Link1> <Link0>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Outlook 2010.lnk</Link0> </StartPanelLinks> <Themes> <DesktopBackground>c:\Windows\Web\Wallpaper\Nature\img1.jpg</DesktopBackground> </Themes> </component> I don't use the %appdata% variable as apparently it doesn't work in the winPe environnment. If someone could point me out some solutions or have any ideas, it would be very appreciated thanks!
  24. hi, very often I try to search things on the forum but the fact that there is a minimum of 4 characters is (I feel) very limiting. Is there any way to change that to 2 or even 3 char? thanks!
  25. yeah you know what, I won't delete this post, even if I found my answer while I was written (but surely I'll create another account, too much shame^^) Maybe it could be useful to someone, some day... Any way, I was saying myself "how this bare metal new computer (who has never seen the domain or the sccm client) is supposed to know that there is an OS deployement task sequence advertisement for him? He's not even in a collection!) Simple answer: advertise the task sequence on the "All unknown Computers" collection. As simple as that, oh yeah.
  • Create New...