Search the Community
Showing results for tags 'osd'.
-
Hi, I recently have taken on the challenge of creating and deploying images within my company. Everything seems to be going ok, minus a couple GP objects not applying... Within my TS, I have it set to generate a local admin account with a generic PW to use in case I need to get into the machine. Once domain joined, and I log into my domain/admin account ok, and run a GP update. We have 3 local admin/service accounts that should be populating within the users/groups sections. However, they are not doing so. When I look at the event viewer logs under GP, there are no errors, warnings, etc.. Stating that everything is ok, finds objects, pulls objects down ok... Is there something else I can look at, or something I may have missed? I've attempting to search the net, but it mostly points to "how to" within a GPO template. I really need to get a lid on this one, any help/direction is greatly appreciated. Thank you ,
-
- Group Policy
- OSD
-
(and 1 more)
Tagged with:
-
Hello all, I just received a batch of Dell Precision Tower 7810 workstations and I need to get them imaged and deployed. The issue I am having is with the NIC and some odd behavior during OSD and afterward. I have the driver from Dell that came from their system driver pack (http://en.community.dell.com/techcenter/enterprise-client/w/wiki/7556.precision-t7810-windows-7-driver-pack) and it seems to install okay. However, I can't get any of my applications to install during the TS with this driver. I can hit F8 and ping my DP and everything, but nothing will download and install. Once the TS finishes, and the machine boots into Windows, the taskbar shows the NIC as disconnected, but I have a network connection. The machine is added to the domain during the TS without issue. The SCCM client is installed during the TS, but it won't communicate with my management server once booted into Windows. I'm able to ping internally and externally without issue. I saw the comment on the Dell CAB webpage where the user used a newer driver, and I tried that as well with no success. So far, I have tried: the driver that comes in the Dell driver pack the driver download individual from Dell for this model the driver off Intels website the driver I pulled off a computer that came from Dell before I attempted to image with my organizations image All of these drivers exhibit the same behavior. The computer right out of the box using Dells image works fine. Anything done with OSD, and there are problems. I have no issues imaging any other machine whether it be made from Dell or HP For giggles, I installed Windows manually off a USB thumb drive and used the same drivers as above, and everything worked fine. I'm really scratching my head here on this one. I would say there is a problem with my image, but I don't have any issue with any other model across several vendors using the same image, so now I'm really at a loss. None of it really makes any sense at this point. The Dell T7810 uses the Intel I217-LM NIC, which I have other models that use as well, but the T7810 is the only one giving me issues. Any help/advice is greatly appreciated
- 1 reply
-
- OSD
- Precision T7810
-
(and 3 more)
Tagged with:
-
Hello, I got 2 almost the same enviroments both upgraded to the latest version of sccm. 1 can easy add OSD and there is no problem the other enviroment is refusing adding the OSD i tried already existing OSD and new ones but all fails. i get the following error massage "The spicifed unc path does not contain a valid WIM file or you do not have permissions to acces it. specify a valid path" I try to add it by netwerk share, the server and netwerk acces account got full persmision to acces the share and folders under it. the more strange is that in my other enviroment the OSD addes perfectly no problems found. ive i try to ad an application there is no problemen and that also works fine, how can i troubleshoot on what point exactly the sccm refusing to add the OSD Version 5.0.8239.1302 SCCM 2012 r2 sp1 CU2 ADK version 8.1
-
I have made a task to update drivers for a lenovo E550 Laptop. First task: command line (Run ThinINstaller TrustZone) cmd /c C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust Disable 64-bit file systems redirection Second task: command line (CMD Copy ThinInstaller) cmd /c xcopy.exe "\\x.x.x.x\Sources\ThinInst\*.*" C:\Thinstaller\ /E /D Time-outs: 15 minutes Third Task: command line (CMD Run ThinInstaller) cmd /c C:\Thinstaller\thininstaller.exe /CM -search A -action INSTALL -noicon -includerebootpackages 1,2,3,4 -repository "\\x.x.x.x\Sources\os_drivers\Laptops\E550" -log "C:\Thinstaller\tvsulog.txt" Start in: C:\Thinstaller Time-outs: 120 minutes Error: Failed to run the action: Run ThinINstaller TrustZone. Incorrect function. (Error: 00000001; Source: Windows) Expand a string: smsswd.exe /run: cmd /c %windir%\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Expand a string: TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Command line for extension .exe is "%1" %* TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Set command line: smsswd.exe /run: cmd /c %windir%\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Start executing the command line: smsswd.exe /run: cmd /c %windir%\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\10.160.14.25\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:16:25 PM 268 (0x010C) !--------------------------------------------------------------------------------------------! TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Expand a string: WinPEandFullOS TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Executing command line: smsswd.exe /run: cmd /c %windir%\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:16:25 PM 268 (0x010C) [ smsswd.exe ] InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) PackageID = '' InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) BaseVar = '', ContinueOnError='' InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) ProgramName = 'cmd /c X:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust' InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) SwdAction = '0001' InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Set command line: Run command line InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Working dir 'not set' InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Executing command line: Run command line InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Process completed with exit code 1 InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Command line returned 1 InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Process completed with exit code 1 TSManager 1/11/2016 7:16:25 PM 268 (0x010C) !--------------------------------------------------------------------------------------------! TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Failed to run the action: Run ThinINstaller TrustZone. Incorrect function. (Error: 00000001; Source: Windows) TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Can anyone help me out?
-
I'm wondering if there is a way to exclude the client package from the step "Setup Windows and ConfigMgr"?
- 2 replies
-
- setup windows and configmgr
- client
-
(and 2 more)
Tagged with:
-
Is it possible after choosin' the image to create an prompt to let you choose which application want to add in your image. After that comes the OSDComputername.
-
hello, I wonder if anyone can help, im experiencing osd failure. Its not a new task sequence but I have recently upgraded to sccm 2012 r2 sp1 cu2. I have changed the boot image to the new windows 10 pe (x64) on the task sequence. I am deploying a windows 7 x64 image to a new desktop which I have downloaded the drivers for (hp z440) and injected the network and sata disk drivers into the boot image (it previously wouldn't even start windows pe until I did this). Now it pxe boots, I select the task sequence and it gets to a point just after completing the installation of the OS and then fails. errors attached (smsts.log) a few highlights from the log "ZTI deployment failed, Return Code = 4" "Failed to run the action: Error in the task sequence. The system cannot open the file. (Error: 00000004; Source: Windows)" can anyone please help with this? smsts.log
- 2 replies
-
- tasksequence
- sccm2012
-
(and 1 more)
Tagged with:
-
Hi Guys, Happy New Year. Wanted to know if anyone knows best way to configure Dual Monitor settings during Win7 OSD deployment in SCCM 2012 R2 SP1 MDT integrated. I know you can edit the unattended.xml file ( can this be done for two monitors and setting one as main ?). Is there somewhere where the settings are applied in registry that i can export and import at the end of the TS before the final reboot. Basically we have a few Workstations that use dual monitors and the displays need to be configured a certain way, was hoping there was a way to configure this during TS rather than the engineer having to manually configure once complete. any help would be appreciated. Thank you
-
Error - Operating System snapshot failure
limiteddenial posted a topic in Configuration Manager 2012
I'm trying to import and distribute a captured wim file but it fails when creating a snapshot. The wim file is on a network share that all the site systems have access to(verified). The wim is 145GB(I know, it is an absurd size) The primary site only has 50GB free between 2 drives. But since the content isn't being distributed to that server I don't think the space is an issue. Even if it creates a hash on that server it should be fill up any one of those drives. The DP I'm trying to distribute the wim has one drive that has 429GB free and another drive that has 1.8TB free. Quota's aren't enabled on the distribution point. I have tested with the default windows wim which is roughly around 3GB and that distributes fine to all the DPs. Here are the log entries from distmgr.log from the primary site: DPConnection::Connect: For $(PrimarySite), logged-on as $(SMSserviceAccount) SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:23 AM 10072 (0x2758) DPConnection::Disconnect: For $(PrimarySite), reverted to SYSTEM context SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:23 AM 10072 (0x2758) Failed to find space for 145000776127 bytes. SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:24 AM 10072 (0x2758) CFileLibrary::FindAvailableLibraryPath failed; 0x8007050f SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:24 AM 10072 (0x2758) CFileLibrary::AddFile failed; 0x8007050f SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:24 AM 10072 (0x2758) CContentDefinition::AddFile failed; 0x8007050f SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:24 AM 10072 (0x2758) Failed to add the file. Please check if this file exists. SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:24 AM 10072 (0x2758) SnapshotPackage() failed. Error = 0x8007050F SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:24 AM 10072 (0x2758) STATMSG: ID=2361 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=$(PrimarySite) SITE=$(Site) PID=4524 TID=10072 GMTDATE=Wed Jul 22 12:24:24.107 2015 ISTR0="$(share)\images\Win7\Lab\x64\Windows 7x64 Lab F2015R00.wim" ISTR1="Windows 7x64 Lab F2015R00" ISTR2="$(PackageID)" ISTR3="30" ISTR4="60" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="$(PackageID)" SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:24 AM 10072 (0x2758) CDistributionSrcSQL::UpdateAvailableVersion PackageID=$(PackageID), Version=1, Status=2302 SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:24 AM 10072 (0x2758) STATMSG: ID=2302 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=$(PrimarySite) SITE=$(Site) PID=4524 TID=10072 GMTDATE=Wed Jul 22 12:24:24.248 2015 ISTR0="Windows 7x64 Lab F2015R00" ISTR1="$(PackageID)" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="$(PackageID)" SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:24 AM 10072 (0x2758) Failed to process package $(PackageID) after 40 retries, will retry 60 more times SMS_DISTRIBUTION_MANAGER 7/22/2015 8:24:24 AM 10072 (0x2758) Any help would be greatly appreciated. Thanks- 3 replies
-
- OSD
- Package Deployment
-
(and 1 more)
Tagged with:
-
Hi Guys, Our company has just purchased 40 new X1 Carbon Laptops 3rd Gen Model (20BS/BT). We have been having issue finding the correct driver set for this laptop to work with windows 7 deployment. Each time we try to deploy windows 7 to it the task sequence failed, windows 7 get installed without any drivers or applications. Does anyone have any issues deploying windows to this model? What driver are you using for this model? Thanks for your help.
-
Hi Everyone, I am trying to automate MBAM Encryption during the OSD Task Sequence using the "StartMBAMEncryption.wsf" script provided in the following blog. http://blogs.technet.com/b/deploymentguys/archive/2012/02/20/using-mbam-to-start-bitlocker-encryption-in-a-task-sequence.aspx The command I use is - cscript.exe StartMBAMEncryption.wsf /MBAMServiceEndPoint:http://<MBAM Server Name>/MBAMRecoveryAndHardwareService/CoreService.svc I have used the script in both a "Install a Package" & "Run Command Line" group & both fail with the below error. Failed to run the action: Install a Package The system cannot find the file specified. (Error: 80070002; Source: Windows) Yet if I exit out of the Task Sequence, log onto the Laptop, & run the exact same command, MBAM Encryption starts first time without any problems. Any help would be much appreciated. Thanks! Jordan,
-
I am trying to build and capture a Winddows 7 X64 Image using SCCM 2012 R2 (SP1). I have also installed Cumulative Updates 1 for R2 SP1 and made sure the client Patches CU1 during setup. I have been using Software Updates to clients on the Domain successfully but the OSD is failing to complete with the error "timeout period expired. Error: 800705B4" in the SMSTS.log (see attached). I have ensured the Client install includes the following (note the FQDN is different to this, trying to not publish to the world): SMSMP=server.com SMSSLP=server.com DNSSUFFIX=com I have added the hotfix KB2522623 and also included the following command prior to the updates: WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000113}" /NOINTERACTIVE I have made sure the client correctly connects with an IP on the active Boundary. Also I have made sure the updates are correctly Distributed to the DP. I am at a loss for what is happening here? Please see SMSTS.log, SoftwareUpdates.log, UpdatesHandler.log, UpdatesDeployment.log, UpdatesStore.log, and WUAHandler.log below for more info. Here is excerpt from SMSTS.log when it fails: executing command: C:\Windows\system32\cmd.exe /k executed command: C:\Windows\system32\cmd.exe /k FALSE, HRESULT=800705b4 (e:\nts_sccm_release\sms\client\osdeployment\installswupdate\installswupdate.cpp,1273) Timedout waiting for updates refresh complete notification WaitForRefreshUpdatesComplete(spInstall), HRESULT=800705b4 (e:\nts_sccm_release\sms\client\osdeployment\installswupdate\installswupdate.cpp,1331) RefreshUpdates(), HRESULT=800705b4 (e:\nts_sccm_release\sms\client\osdeployment\installswupdate\installswupdate.cpp,923) InstallUpdates(pInstallUpdate, tType, sJobID, sActiveRequestHandle), HRESULT=800705b4 (e:\nts_sccm_release\sms\client\osdeployment\installswupdate\main.cpp,248) Setting TSEnv variable SMSTSInstallUpdateJobGUID= Process(pInstallUpdate, tType), HRESULT=800705b4 (e:\nts_sccm_release\sms\client\osdeployment\installswupdate\main.cpp,302) Process completed with exit code 2147943860 !--------------------------------------------------------------------------------------------! Failed to run the action: Install Software Updates 1st Pass. This operation returned because the timeout period expired. (Error: 800705B4; Source: Windows) MP server http://SERVER.comPorts 80,443. CRL=false. Setting authenticator Set authenticator in transport Sending StatusMessage Setting message signatures. Setting the authenticator. CLibSMSMessageWinHttpTransport::Send: URL: SERVER.com:80 CCM_POST /ccm_system/request Request was successful. Set a global environment variable _SMSTSLastActionRetCode=-2147023436 Set a global environment variable _SMSTSLastActionSucceeded=false Clear local default environment The execution engine ignored the failure of the action (Install Software Updates 1st Pass) and continues execution smsts.log UpdatesDeployment.log UpdatesHandler.log UpdatesStore.log WUAHandler.log WindowsUpdate.log
- 5 replies
-
- build and capture
- osd
-
(and 2 more)
Tagged with:
-
Hi, I'm having a problem running a task sequence from stand-alone media. I get the following in smsts.log: Expected hash for app/content: Content_720926a3-e8d0-439a-ba43-ee76b95aa63d, 32780, A8671204BF3878B70B6C1060F6756E8C7BC5353F0660AB9D4A46DF5AE3E8D9C8 V4HashCompatibilityMode: FALSE Computed hash: A4C0688F85BD5E908D212FD9727767E3930D81B9BBC849B7A4475D490D4941AE Failed to run the action: Install Application. The hash value is not correct. (Error: 80091007; Source: Windows) I can run the same task sequence from the network and it completes successfully. I've tried refreshing \ removing \ resending the content to the DP I used to create TS stand-alone media and I've tried removing the application from the task sequence and re-adding (and recreating the stand-alone media after each change) I'm currently creating another copy of the application, pushing this source around and adding this to the task sequence but even if this works, it is a workaround rather than a solution. Any ideas where else I can look to investigate this hash mismatch? I really don't understand why it deploys successfully during a network build but not from the USB stand-alone media
-
Hello all, I have been racking my brain for the past few days trying to figure this out but so far I have had no luck. I am hoping someone could provide some guidance. I am creating a Task Sequence Media to a USB drive of an image I captured. The image is about 21Gb and the process fails somewhere near the end. I am running this off of my Windows 8.1 PC where I have the console installed. We are running SCCM 2012 SP2. We have a standalone Primary site. Not sure what more information you need but let me know if you have any questions. I have attached the logs as well. From reviewing the logs I wonder if the issue is near the end where it states that it is staging an SWM that is 10551 mb in space. If the thumb drive is partitioned in a FAT32 format then it should not allow any files larger than 4GB in space if i am not mistaken. Could this be the reason why it is failing? Thank you! http://pastebin.com/0nrdwa38- logs are here
- 3 replies
-
- Task Sequence Media
- OSD
-
(and 1 more)
Tagged with:
-
I am an administrator of a large network that is slowly being merged into being managed by SCCM 2012. Currently Updates, SCEP, Application deployment, general troubleshooting, Compliance Rules, etc. are in use, and we're almost to the point of using OSD (several good tests with a few different images). Throughout the process, we've been assigning security to allow our Helpdesk to deploy images, and they already have the capability deploy software packages. They had been in charge of updates and SCEP patching, but they fell behind and now the Sys Admin team is handling all patching, to include SCEP. They currently do not have the ability to create/edit/deploy task sequences, OS images, drivers packs, compliance rules, they cannot edit or create collections, etc. All my previous experience has been that these items fell under an administrator role, not a helpdesk role. Management, and some political power grabbing has created a swing in SCCM security that may require that we provide the following to be administered by the helpdesk: Create/Edit/Delete/Deploy Collections (both user and Device) Create/Edit/Delete/Deploy Reports Create/Edit/Delete/Deploy Task Sequences Create/Edit/Delete/Deploy Compliance Rules Create/Edit/Delete/Deploy Software Applications Create/Edit/Delete/Deploy Software Updates Create/Edit/Delete/Deploy Desktop SCCM Policies Create/Edit/Delete/Deploy Antimalware Policies Create/Edit/Delete/Deploy Operating System Images and Bootable PXE Environments The only way I can think to do this with our current architecture, and stills plit off desktops and servers is to build a CAS server with two different Primary Site Servers (we are a One Primary Site server setup), and split the roles across servers using boundaries to ensure that servers are not being managed by the helpdesk group, and that desktops are not being managed by the server group. So my questions are these: Is this viable (is this nuts?) Is this secure Will this provide the level of accountability needed to allow two groups that are literally in different buildings to run their appropriate systems without crossover nuightmares Does this present a risk for system-wide disaster (Server wipe from errant Task Sequence/OSD) Are there other ways to do it if this is not suggested, and where can I find the docs (whitepapers, etc.) Does this follow Microsoft best practice for roles within SCCM Does anyone have any knowledge of articles where this was done and worked, or did not work. Any and all help is appreciated. Jay
-
Hi everyone! I am experiencing a weird issue with a newly created task sequence in our new CM12 environment. This is a brand new install of CM12 R2 SP1, and nothing was migrated over from the old environment. We are a small shop with a simple environment, one single site server. I've created the OSD task sequence using our custom WIM that was captured in our old MDT/WDS environment (MDT 2012, not sure specific version) with ADK 8.1. The issue I'm having is that the task sequence hangs during the "Applying Operating System" step, and it doesn't go anywhere. I am working off-site today and have not had the opportunity to look at it, but a coworker did tell me it was sitting at a black screen with the message "No operating system installed, press Ctrl + Alt + Del to restart" which tells me the OS did not install properly. I was looking through SMSTS.log and didn't notice anything peculiar, but it seemed to stop logging after that step began. I've been Googling and asking others, but I'm at a loss right now. Is there a way to turn on verbose logging for task sequences? This is my first foray into using OSD, I've only used MDT/WDS in the past. Any help is appreciated. Thanks much!
-
Hello All: I am having an issue with a stand-alone media deployment and was hoping someone could provide some insight. I am fairly new to SCCM, as had a consultant implement it for our antivirus Endpoint Protection. So please bear with me if I ask any ridiculous questions, but any help provided would be greatly appreciated. The consultant actually advised me to reach out to these forums if I needed help as he has used these for years. So here we go. Basically what I am trying to accomplish is take an HP Pro 3500 OEM pc which will be used as a reference machine and image that same image to all of our other pcs. These machines will be in a standalone environment, not domain joined, and will not communicate with each other in any way. They are simply used to deploy a LOB application to our customers which are spread out across the US. So far I have taken my reference PC and captured the image. I than created a task sequence which references that image. I created a task sequence media using the wizard and selected “stand-alone media”. I created it on a USB drive and it succeeded. When I plug it into a PC to image that PC the machine loads WinPE and once I select next at the password screen it basically says “No assigned task sequence for this computer”. I am looking at the log files and the error I see is “No assigned task sequence.” Component TSMBootstrap. Any help would be greatly appreciated. Thanks,
-
OSD is one of the first things I learned how to do and it's been a LONG time since I've had issues with it. I have honestly never seen this. I build my TS to deploy a system image like I have done a hundred times. Now, no matter what I do I can not get my TS to show in the list of availble task sequences. I have built from scratch, copied other known working TSs and nothing is making the damn thing show up. All of the referenced components have been distibuted and I have deployed the TS. Nothing. I'm I missing something here? The thing that is different in this case is I am trying to deploy to a VM. Which I have also done succesfully with no issue. Now it is time to refresh or even build a new image from scratch and nothing I have done will get the TS in the list. All my current OSD TSs are listed, but those won't work because I need the custom boot image that has the VM tools drivers in it. I have even tried selecting one of those just for the heck of it and they done't work because of the drivers. I am new to this specific process so maybe I am missing something, but I've been working on it for two days now and am starting to go a bit bonkers. If it would show up and fail that would at least be SOMETHING at this point. Help me out, please.
-
OSD Computer Name Dynamically Adjust
dpadgett87 posted a question in Frontends, HTA's and Web Services
Hi Guys, Does anyone have a HTA or powershell front end that i can use , or suggestions on how to use a current one out there, my requirements are pretty simple i think. We have about 100 different sites in 4 different countries, and we now name our computers with the following format OFFICE-Serial where office is a 7 digit identifier for the office, and serial is the last 7 digits of the serial number. Lets say i have the following. >England >>Manchester >>London >> South London >Scotland >>Inverness >>Edinburgh Names would be MANCHE-SERIAL STHLOND-SERIAL etc. I would like a drop down first to select the country, and then a drop down to select the site with results only from the country in question I would then need OSDComputer Name to prefix 7 digits of this name and then append "-" + serial number. Can anyone help me with this? i have this which is from technet and i have modified a bit, but dont know vb well enough to modify. <!--Script Settings <ScriptSettings xmlns="http://tempuri.org/ScriptSettings.xsd"> <ScriptPackager> <process /> <arguments /> <extractdir>%TEMP%</extractdir> <files /> <usedefaulticon>true</usedefaulticon> <showinsystray>false</showinsystray> <altcreds>false</altcreds> <efs>true</efs> <ntfs>true</ntfs> <local>false</local> <abortonfail>true</abortonfail> <product /> <version>1.0.0.1</version> <versionstring /> <comments /> <company /> <includeinterpreter>false</includeinterpreter> <forcecomregistration>false</forcecomregistration> <consolemode>false</consolemode> <EnableChangelog>false</EnableChangelog> <AutoBackup>false</AutoBackup> <snapinforce>false</snapinforce> <snapinshowprogress>false</snapinshowprogress> <snapinautoadd>2</snapinautoadd> <snapinpermanentpath /> <cpumode>1</cpumode> <hidepsconsole>false</hidepsconsole> </ScriptPackager> </ScriptSettings> endregion--> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html"> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>Imaging Solutions v2.3</title> <HTA:APPLICATION ID="maging Solutions" APPLICATIONNAME="Imaging Solutions" BORDER="none" CAPTION="yes" CONTEXTMENU="no" ICON="icon.ico" INNERBORDER="no" NAVIGABLE="true" SCROLL="no" SCROLLFLAT="yes" SELECTION="no" SHOWINTASKBAR="yes" SINGLEINSTANCE="yes" SYSMENU="yes" TITLEBAR="no" VERSION="2.2"/> <script type="text/vbscript"> '******************************************************************************' ' Global Variables ' '******************************************************************************' dim varPanel varPanel = 1 dim logHTA logHTA = "\\cm1\source files\\" & strSerialNum & ".log" Dim oTSProgressUI Set oTSProgressUI = CreateObject("Microsoft.SMS.TSProgressUI") oTSProgressUI.CloseProgressDialog() Dim strComputer strComputer = "." Dim strSerialNum Dim strUser Dim oTSEnvironment Set oTSEnvironment = CreateObject("Microsoft.SMS.TSEnvironment") '******************************************************************************' ' Window Onload Event ' '******************************************************************************' Sub Window_OnLoad '******************************************************************************' ' ComputerName Field Default Value ' '******************************************************************************' Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colSMBIOS = objWMIService.ExecQuery("Select * from Win32_BIOS") For Each objSMBIOS in colSMBIOS strSerialNum = objSMBIOS.SerialNumber Next window.document.getElementById("ComputerName").value = strSerialNum End Sub '******************************************************************************' ' Size & Positioning ' '******************************************************************************' winWidth=800 winHeight=600 window.resizeto winWidth,winHeight centerX=(screen.width-winWidth)/2 centerY=(screen.height-winHeight)/2 window.moveto centerX,centerY posX=0 posY=0 move=0 '******************************************************************************' ' Function for Dragging Window ' '******************************************************************************' Function setPos() posX=window.event.screenX posY=window.event.ScreenY move=1 End Function Function moving() If move=1 Then moveX=0 moveY=0 moveX=window.event.screenX-posX moveY=window.event.screenY-posY window.moveto(window.screenLeft+moveX),(window.screenTop+moveY) setPos() End if End Function Function stopMoving() move=0 End Function '******************************************************************************' ' Function to Close HTA ' '******************************************************************************' Function closeHTA() self.close End Function '******************************************************************************' ' Validate Variables ' '******************************************************************************' Sub runValidation If varPanel = 1 Then If ComputerName.value = "" Then msgbox("Please Enter a Computer Name") ElseIf Username.value = "" Then msgbox("Please Enter a Username") Else runInstall End If ElseIf varPanel = 2 Then runRefresh ElseIf varPanel = 3 Then runBackup End If End Sub '******************************************************************************' ' Configure Task Sequence Variables ' '******************************************************************************' Sub runInstall 'msgbox("Test: " & varPanel)' '************************************************************' ' Image Version ' '************************************************************' If ImageChoice.value = "1" Then oTSEnvironment("swn_OSPicker") = "Win7EntSP1x64" 'msgbox("OSImage Picker: " & oTSEnvironment("swn_OSPicker"))' End If '************************************************************' ' Computer Name ' '************************************************************' oTSEnvironment("OSDComputerName") = computername.value 'msgbox("ComputerName TSValue: " & oTSEnvironment("OSDCOMPUTERNAME"))' '************************************************************' ' AD OU ' '************************************************************' If ADOU.value = "1" Then oTSEnvironment("swn_ADOU") = "laptops" 'msgbox("AD OU TSValue: " & oTSEnvironment("swn_ADOU"))' ElseIf ADOU.value = "2" Then oTSEnvironment("swn_ADOU") = "laptopsnouac" 'msgbox("AD OU TSValue: " & oTSEnvironment("swn_ADOU"))' ElseIf ADOU.value = "3" Then oTSEnvironment("swn_ADOU") = "desktops" 'msgbox("AD OU TSValue: " & oTSEnvironment("swn_ADOU"))' ElseIf ADOU.value = "4" Then oTSEnvironment("swn_ADOU") = "desktopsnouac" 'msgbox("AD OU TSValue: " & oTSEnvironment("swn_ADOU"))' ElseIf ADOU.value = "5" Then oTSEnvironment("swn_ADOU") = "vdiworkstations" 'msgbox("AD OU TSValue: " & oTSEnvironment("swn_ADOU"))' End If '************************************************************' ' Set Primary User ' '************************************************************' oTSEnvironment("SMSTSUdaUsers") = Username.value '************************************************************' ' Job Role Picker ' '************************************************************' ' For Each oJobRole in rJobRole' ' If oJobRole.Checked Then' ' oTSEnvironment("swn_JobRole") = oJobRole.value' ' msgbox("You slected " & oJobRole.value & ".")' ' End If' ' Next' '************************************************************' ' Applications - Non-Licensed ' '************************************************************' '************************************************************' ' Applications - Licensed ' '************************************************************' closeHTA() End Sub Sub runRefresh msgbox("Test" & varPanel) End Sub Sub runBackup msgbox("Test" & varPanel) End Sub '******************************************************************************' ' Dump Variables ' '******************************************************************************' Sub dumpvariables Set objFSO=CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile(logHTA,8,True) For each varTSVar in oTSEnvironment.GetVariables objFile.WriteLine varTSVar & " = " & oTSEnvironment(varTSVar) Next objFile.Close End Sub '******************************************************************************' ' Panel Browsing - Change page and set variables ' '******************************************************************************' Sub setPanel1 Panel(1) varPanel = 1 End Sub Sub setPanel2 Panel(2) varPanel = 2 End Sub Sub setPanel3 Panel(3) varPanel = 3 End Sub </script> <script type="text/javascript"> '******************************************************************************' ' Panel Switching ' '******************************************************************************' var panels = new Array("","panel1","panel2","panel3"); function panel(tab) { for (i=1; i<panels.length; i++) { if (i == tab) { document.getElementById("tab"+i).className = "tabs tabs1"; document.getElementById("panel"+i).style.display = "block"; } else { document.getElementById("tab"+i).className = "tabs tabs0"; document.getElementById("panel"+i).style.display = "none"; } } } </script> <style type="text/css"> /* Layout Styles - for designing the overall template */ html,body { margin:0; padding:5px; position:relative; } html { border: 2px solid #00A6DE; } #divheader { width:100%; height:50px; position: relative; } #divcontent { width: 100%; } #divtopnav { height: 33px; width: 100%; position: relative; } #divbody { min-height: 414px; height: 100%; width:100%; position: relative; } #divbottomnav { height: 29px; width: 100%; position: relative; } #divfooter { height:50px; width:100%; position: relative; } body,td,th,h1 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 10px; } /* Logo Styles - for branding */ #logo1 { width: 112px; height: 49px; float: left; } #tagline { position: absolute; bottom: 0px; right: 0px; font-size: 16px; font-weight:600; float: right; } #logo2 { position: absolute; bottom: 0px; right: 0px; width: 87px; height: 43px; float: right; } /* Navigation Styles - for creating navigation bar */ #topnav { width: 100%; float: left; background-color: #f2f2f2; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 1px solid #ccc; } #topnav ul { list-style: none; width: 100%; margin: 0 auto; padding: 0; } #topnav li { float: left; } #topnav li a { display: block; padding: 8px 15px; text-decoration: none; font-weight: bold; color: #003050; border-right: 1px solid #ccc; } #topnav li:first-child a { border-left: 1px solid #ccc; } #topnav li a:hover { color: #00A6DE; background-color: #fff; } #topnav li a:active { color: #00A6DE; background-color: #FFF; } /* ------------------------ */ #bottomnav { position: absolute; bottom: 0px; width: 100%; float: left; background-color: #F2F2F2; border-bottom: 1px solid #ccc; border-left: 1px solid #ccc; border-top: 1px solid #ccc; border-right: 1px solid #ccc; /* Remove this line if using more than one nav button */ } #bottomnav ul { list-style: none; width: 100%; margin: 0 auto; padding: 0; } #bottomnav li { float: right; } #bottomnav li a { display: block; padding: 6px 12px; text-decoration: none; font-weight: bold; color: #003050; border-left: 1px solid #ccc; } #bottomnav li:first-child a { border-right: 1px solid #ccc; } #bottomnav li a:hover { color: #FFF; background-color: #CCC; } /* Body Styles - for managing content in the body panels */ .bodypanel { height: 100%; padding: 0px; position: relative; width: 100%; z-index: 0; } #divbodysub { padding-top: 5px; } #divcontainer { width:773px; border: 1px solid #CCCCCC; float:left; padding: 0px; height: 105px; } #divcontainersplit { width:386px; border: 1px solid #CCCCCC; float:left; padding: 0px; height: 105px; } #divcontainersplit:first-child { border-right: 0px; } .divcontainersub { padding: 2px; } .containertitle { text-align:center; background-color: #F2F2F2; border-bottom: 1px solid #CCCCCC; } /* Input Styles - for changing the look of input fields */ .inputlabels { } .inputfields { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 10px; border: 1px solid #00a6de; } .helpbutton { padding-left: 2px; } </style> </head> <body> <div class="pagewrap"> <div id="divheader" onmousedown="VBScript:Call setPos()" onmousemove="VBScript:Call moving()" onmouseup="VBScript:Call stopMoving()"> <div> <img id="logo1" src="images/logo/logo.png" /> </div> <div id="tagline"> Imaging Solutions v2.3 </div> </div> <!-- BEGIN Browsing Tabs --> <div id="divcontent"> <div id="divtopnav"> <div id="topnav"> <ul> <li id="tab1" onclick="setpanel1"><a href="#" tabindex="1002">Install</a></li> <li id="tab2" onclick="setpanel2"><a href="#" tabindex="1003">Refresh</a></li> <li id="tab3" onclick="setpanel3"><a href="#" tabindex="1004">Backup</a></li> </ul> </div> </div> <!-- END Browsing Tabs --> <!-- BEGIN Install Page --> <div id="divbody"> <div id="panel1" class="bodypanel" style="display:block;"> <div id="divbodysub"> Description: This page is for install-only scenarios of a specific OS. No backups or user data migration will occur on the machine. </div> <div id="divbodysub"> <label for="ImageName">Choose the OS Image:</label> <select id="ImageName" class="inputfields" tabindex="1" name="ImageChoice" size="1"> <option value="1">Win 7 Ent x64</option> </select><img class="helpbutton" src="images/help.png"images/Metrostation/MB_0011_info3_blue.png"" width="16" height="16" alt="Choose the image to use"> <script type="text/javascript">ImageName.focus();</script> </div> <div id="divbodysub" style="float:left"> <div id="divcontainersplit"> <div class="containertitle"> Computer Information </div> <div class="divcontainersub"> <label for="ComputerName">Computer Name:</label> <input id="ComputerName" class="inputfields" name="ComputerName" tabindex="2" type="text" size="57" maxlength="15" disabled="true"> </div> <div class="divcontainersub"> <label for="ADOU">Active Directory OU:</label> <select id="ADOU" class="inputfields" tabindex="3" name="ADOU" size="1" style="width:278px;"> <option value="1">Laptops</option> <option value="2">Desktops</option> <option value="3">Servers</option> </select> </div> <div id="divcontainersplit"> <div class="containertitle"> Locale </div> <div class="divcontainersub"> <label for="ADOU">Select Region:</label> <select id="ADOU" class="inputfields" tabindex="3" name="ADOU" size="1" style="width:278px;"> <option value="1">Scotland</option> <option value="2">Wales</option> <option value="3">Ireland</option> <option value="4">England</option> </select> </div> </div> <div id="divcontainersplit"> <div class="containertitle"> Locale </div> <div class="divcontainersub"> <label for="ADOU">Select Region:</label> <select id="ADOU" class="inputfields" tabindex="3" name="ADOU" size="1" style="width:278px;"> <option value="1">London</option> <option value="2">Manchester</option> </select> </div> </div> <div id="divcontainersplit"> <div class="containertitle"> User Information </div> <div class="divcontainersub"> <label for="Username">Domain\Username:</label> <input id="Username" class="inputfields" name="Username" tabindex="4" type="text" size="55"/> </div> <div class="divcontainersub"> <div> Job Role: </div> <div class="divcontainersub"> The username entered in the above field will determine what role based applications are installed based on the Job Role collection they are apart of.</li> </div> </div> </div> <div id="divbodysub"> <div id="divcontainer" > <div class="containertitle"> Applications - Non-Licensed </div> <div class="divcontainersub"> <!-- <input type="checkbox" name="7zip" value="7zip" tabindex="9">7-zip <input type="checkbox" name="iTunes" value="iTunes" tabindex="10">iTunes --> </div> </div> </div> <div id="divbodysub"> <div id="divcontainer" > <div class="containertitle"> Applications - Licensed </div> <div class="divcontainersub"> <!-- <input type="checkbox" name="AdobeAcro9Pro" value="AdobeAcro9Pro" tabindex="51">Adobe Acrobat v9 Pro <input type="checkbox" name="Cygnet8" value="Cygnet8" tabindex="52">Cygnet v8 --> </div> </div> </div> </div> </div> <!-- END Install Page --> <!-- BEGIN Refresh Page --> <div id="panel2" class="bodypanel" style="display:none;"> <div id="divbodysub"> Description: This page is for the reinstallation of an OS to a machine that has been previously imaged. This process gives some options for data backup. </div> <div id="divbodysub"> <label for="ImageName">Choose the OS Image:</label> <select id="ImageName" class="inputfields" tabindex="1" name="ImageName" size="1"> <option value="1">Win 7 Ent x64</option> <option value="2">Other</option> </select><img class="helpbutton" src="images/help.png" width="15" height="15" alt="Choose the image to use"> </div> </div> <!-- END Refresh Page --> <!-- BEGIN Backup Page --> <div id="panel3" class="bodypanel" style="display:none;"> Backup </div> </div> <!-- END Backup Page --> <div id="divbottomnav"> <div id="bottomnav"> <ul> <li onclick="close ()"><a href="#" tabindex="1001">Quit</a></li> <li onClick="runValidation"><a href="#" tabindex="1000">Run</a></li> </ul> </div> </div> </div> <div id="divfooter"> <div> <img id="logo2" src="images/logo/sublogo.png" /> </div> </div> </div> </body> </html>-
- Computername
- OSD
-
(and 2 more)
Tagged with:
-
I am using an MDT integrated UDI task sequence to deploy an operating system (Win7 x64), install the SCCM client then install applications/packages. After the OS .wim file is applied the SCCM Client package is downloaded to C:\_SMSTaskSequence\OSD\SP100017\ The machine then reboots and goes back into the task sequence to install the client, but fails. The appropriate bit of ccmsetup.log is below and the full file is attached Despite copying the files locally to C:\_SMSTaskSequence\OSD\SP100017\ it is looking for them in C:\windows\ccmsetup\, when it doesnt find them it tries to download them via BITS. The SCCM server is serving these files up ok (if I stick the URL to the file in a browser it serves it up without needing authentication). From hitting F8 during the task sequence and running "bitsadmin /list /allusers /verbose" it shows the BITS jobs are there but in a suspended state. Running "bitsadmin /listfiles <ID of bits job>" it shows no files in any of the bits jobs. "bitsadmin /reset" won't cancel the jobs as they are running under SYSTEM. Also tried stopping the bits service, deleting the BITS related files under C:\ProgramData\Microsoft and starting the service, which clears the jobs from BITS but when ccmsetup.exe is rerun the jobs are readded as suspended and the same thing happens. I also tried pausing the TS, copying the client files from C:\_SMSTaskSequence\OSD\SP100017\ to where it is expecting (C:\Windows\ccmsetup\) then resuming. However even though client.msi is in C:\Windows\ccmsetup\ where it is looking for it, it still tries to grab it via BITS and fails C:\Windows\ccmsetup\client.msi defintately exists locally (tried with both 32 and 64 bit files) but for some reason it still wants to go off and grab it from the SCCM server via BITS. I've searched high and low over the internet and read all the suggestions but am stumped. ccmsetup.log
-
I updated from R2 to R2 SP1 last week and one of the new SP1 features is the deployment verification of High Risk Deployments like OSD task sequences. When users try to deploy a task sequence, they go to choose the collection and see the new High Risk Verification prompt. The user can hit OK and choose a collection as normal. The next screen on the deployment wizard asks if this is an available or required deployment. When choosing available everything works as normal but choosing required and hitting next should pop up another verification depending on the contents of the collection. The user can verify that they want to continue with the deployment wizard. However, I’ve found that if the user's security role does not have access scoped to it for the All Systems collection and the All Users and Groups collection, choosing required and hitting next in the deployment wizard does nothing; no verification popup, no advance to the next screen. Since we delegate access to our users based on collections querying their department specific OU, and they do not have access to the All Systems or All User and Groups collection, none of them are able to run required OS deployments. I opened a case with Microsoft today but am curious if anyone else has any workaround or has seen this issue as well.
- 4 replies
-
- Deployment
- SCCM R2 SP1
-
(and 1 more)
Tagged with:
-
Hi All, Recently I have been trying to bit locker devices during OSD on a 2008r2 domain, with sccm 2012 r2 sp1. the schema has been checked and is correct (the 5 entries are present) CN=ms-FVE-KeyPackage – attributeSchema object CN=ms-FVE-RecoveryGuid – attributeSchema object CN=ms-FVE-RecoveryInformation – classSchema object CN=ms-FVE-RecoveryPassword – attributeSchema object CN=ms-FVE-VolumeGuid – attributeSchema object CN=ms-TPM-OwnerInformation – attributeSchema object The ad DC's have the bitlocker tools installed, and I can see the 'bitlocker recovery key' tab for a device in ADUC. I have a AD GPO in place on an OU where the device exists in AD But my task sequence fails at the ENABLE BITLOCKER stage towards the end of the TS. The TS was created by sccm wizard, nothing special in it as yet. If I disable the DISABLE BITLOCKER, PREPROVISION BITLOCKER and ENABLED BITLOCKER steps in the TS and build the device, then enable bitlocker manually logged on to the device, it works and saves the key to AD, I am obviously missing something here, anyone know where I should look in the logs... The device is uefi and has secureboot enabled The OS is Windows 81 x32
- 2 replies
-
- bitlocker
- sccm 2012 r2 sp1
-
(and 2 more)
Tagged with:
-
Hi All, I'm using the following group of products: Windows 2012 (not R2) SCCM 2012 R2 Win PE 4.0 My goal is to deploy a Linux distribution by created an OSD task sequence, following these model: http://blogs.msdn.com/b/steverac/archive/2014/01/02/osd-for-linux-imaging-yes-really.aspx http://systemcenter.no/?p=509 I recognize that this is not supported by design, but dd is a simple enough tool that I am hoping I can make this work easily. So the Order of operations is: 1) Attach to remote location with dd executable and image we're trying to deploy 2) Clean disk on client 3) run command : "dd if=image.bin of=\\?\harddisk0\partition0 bs=4M --progress" However I'm running into the error 80070057, among others you'll see in the logs. Some details: for reasons outside the scope of this task, I am aiming to deploy to the entire disk. Reserving a partition will, I think, break the update system on my linux distro. Willing to try anything - would love to get some help! Here's the log (also attached): https://gist.github.com/smithforrestr/a83d6b154bc459eea62e#file-smsts-log smsts.txt
-
I have a few Dell Lattitude E5550's that are new to our organization, and I dropped our image on one to see what devices I needed drivers for (turns out, A LOT). In either case, after downloading drivers from Intel and Dell, verified that they are correct for the hardware, and added them to CM like I always have...I re-imaged the workstation, but it still had a ton of devices without drivers. I thought this was odd...so I checked my WMI query, and it was good...I even set a single step in the TS to simply apply all drivers (unattended install of unsigned drivers was checked as well), but I still got the same result. So what to do at this point? Searching returns mostly articles regarding how to add drivers to CM, or driver "strategies", but not many address this issue. I found a similar post on these forums in which the NIC driver needed to be added to the boot.wim, but I already have that added. I just need ideas on what to troubleshoot, or what logs to look at...because, frankly, applying drivers in CM has always worked for me and I've never had to troubleshoot this I'm going to apply a driver package in the TS instead of the Apply Drivers step to see if that makes any difference...so here's hoping. Thanks!
-
Have a slight problem when trying to PXE boot a UEFI system. I can get it to PXE but then get it looping saying its looking for a boot image. I've made sure the boot images are copied to the DP and are enabled to deploy from PXE DP. The server is a server 2012 R2 DP so presume that wouldn't be an issue? any ideas gratefully received.