Jump to content


rlaplant

Established Members
  • Posts

    15
  • Joined

  • Last visited

Recent Profile Visitors

927 profile views

rlaplant's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hey guys, Thought it was time to give back a little bit with all the help and information I've gotten here. We have SCCM in our environment with about 40 apps and 3 different OS deployments. And we were worried that users would kick off their own OS installs. To that end, we created a little app that asks for a password. And I'm sharing it, and the steps to use it, and hide the ts, run under user context, and make it go. This will work for any task sequence really. Passprompt.exe is the app and it takes whatever password that you define in it. Example. PassPrompt.exe MyP4ssword would look for the password of MyP4ssword Hide.vbs closes the task sequence progress bar so the window pops to the forefront Serviceui.exe runs it under the users context so whomever opens it can interact with the windows instead of it being invisible to the user Run.bat puts all togethor You edit what you are looking for in the run.bat The attached zip contains Make a package that contains those files after you have edited the run.bat for your required password and systemui.exe architecture. and distribute it to your distribution points. Add the following run command line step to your task sequence referencing the package you just made. Now you get the following when you try to run a task sequence from within windows Enter the wrong password and you get Cancel the password window and you get Hopefully these tools will help you keep your users from running OS deployments from within software center Password Check.zip
  2. Need some more log there's probably alot more red above that
  3. Im getting hung up on writing the key to a different place .... it doesn't want to write at all. Heres my printers.xml for that, but its just not writing it. <?xml version="1.0" encoding="UTF-8"?> <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/printers"> <!-- This component migrates the printers and network drives --> <component type="System" context="UserAndSystem"> <displayName>Printers</displayName> <role role="Settings"> <rules context="System"> <include> <objectSet> <pattern type="Registry">HKCU\Printers\Connections\* [*]</pattern> </objectSet> </include> <locationModify script="MigXmlHelper.RelativeMove('HKCU\Printers\Connections\', 'HKCU\Printers\OldConnections\')"> <objectSet> <pattern type="Registry">HKCU\Printers\Connections\* [*]</pattern> </objectSet> </locationModify> </rules> </role> </component> </migration> Anyone see anything blaringly wrong with that?
  4. Well .... once I can finally get the key to write somewhere that it can be read. I have a great programmer here that has a script ready for me to read the key via runonce, and add the printers slowly, probably one every 45 seconds. All at once crashes the driver installs. When I have it, Ill post it all.
  5. In our environment .... there's no such thing as explaining to the user. So the keys, come over, and then I get driver errors because it tries to install all those printers at once. Adding the connection key's one at a time works great. But without the USMT mapping the HKCU keys don't know who to go to. Is there any way I can change where they "restore" to? I have a great programmer here, and if we could restore them to a junk key, he can read them and add them slowly (30 second pause)
  6. Weird .... So I read that there and was like ... that isn't going to work for us. And I started testing intensively <pattern type="Registry">HKCU\Printers\Connections\* [*]</pattern> is the part I worked on. If I take those keys, and use USMT, to restore them. Then printers error. However, if I backup those keys, and then restore them manually using regimport after the fact, no errors and the printers migrate.
  7. OK, Some headway My printers appear to be having some sort of driver conundrum .... Setting the permission of the driverstore folder didnt help that error. Is USMT bring over drivers as well?
  8. My offline user state is rocking great, files, mapped drives, its all coming over. Network printers however .... They show up .... like they want to be there. But, they dont. For reference, Windows 7 to Windows 7
  9. Yah ... thats def set. Heres some forward movement to a degree and some more log Here's the relevant application that I want to install/test: Passed in version 5 for ScopeId_44DFFA60-2E41-45CD-A833-580B9FE6504B/RequiredApplication_3d3820ff-76bf-4a59-819b-25f986977cb1 DCMAgent 5/5/2014 4:35:09 PM 2152 (0x0868) CAppMgmtSDK::GetEvaluationState ScopeId_44DFFA60-2E41-45CD-A833-580B9FE6504B/RequiredApplication_3d3820ff-76bf-4a59-819b-25f986977cb1.5 = EvaluationFailed DCMAgent 5/5/2014 4:35:09 PM 2152 (0x0868) GetAppMgmtSDKInterface successful InstallApplication 5/5/2014 4:35:09 PM 2152 (0x0868) CAppMgmtSDK::GetEvaluationState ScopeId_44DFFA60-2E41-45CD-A833-580B9FE6504B/RequiredApplication_3d3820ff-76bf-4a59-819b-25f986977cb1 DCMAgent 5/5/2014 4:35:09 PM 2152 (0x0868) Passed in version 5 for ScopeId_44DFFA60-2E41-45CD-A833-580B9FE6504B/RequiredApplication_3d3820ff-76bf-4a59-819b-25f986977cb1 DCMAgent 5/5/2014 4:35:09 PM 2152 (0x0868) CAppMgmtSDK::GetEvaluationState ScopeId_44DFFA60-2E41-45CD-A833-580B9FE6504B/RequiredApplication_3d3820ff-76bf-4a59-819b-25f986977cb1.5 = EvaluationFailed DCMAgent 5/5/2014 4:35:09 PM 2152 (0x0868) NotifyComplete received InstallApplication 5/5/2014 4:35:09 PM 2152 (0x0868) NotifyComplete processed InstallApplication 5/5/2014 4:35:09 PM 2152 (0x0868) Received job completion notification from DCM Agent InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) GetAppMgmtSDKInterface successful InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) CAppMgmtSDK::GetEvaluationState ScopeId_44DFFA60-2E41-45CD-A833-580B9FE6504B/RequiredApplication_3d3820ff-76bf-4a59-819b-25f986977cb1 DCMAgent 5/5/2014 4:35:09 PM 3824 (0x0EF0) Passed in version 5 for ScopeId_44DFFA60-2E41-45CD-A833-580B9FE6504B/RequiredApplication_3d3820ff-76bf-4a59-819b-25f986977cb1 DCMAgent 5/5/2014 4:35:09 PM 3824 (0x0EF0) CAppMgmtSDK::GetEvaluationState ScopeId_44DFFA60-2E41-45CD-A833-580B9FE6504B/RequiredApplication_3d3820ff-76bf-4a59-819b-25f986977cb1.5 = EvaluationFailed DCMAgent 5/5/2014 4:35:09 PM 3824 (0x0EF0) Installation job completed with exit code 0x00000000 InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) Execution status received: 16 (Application failed to evaluate ) InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) App install failed. InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) Setting TSEnv variable '_TSAppInstallStatus'='Error' InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) Setting TSEnv variable 'SMSTSInstallApplicationJobID__ScopeId_44DFFA60-2E41-45CD-A833-580B9FE6504B/Application_3d3820ff-76bf-4a59-819b-25f986977cb1'='' InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) Completed installation job. InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) Step 2 out of 2 complete InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) Install Dynamic application action failed to install application: 'Laserfiche Client'. Error Code 0x80004005 InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) Sending error status message InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) Setting URL = http://SCCM.THE-MED.ORG, Ports = 80,443, CRL = false InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) Setting Server Certificates. InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) Setting Authenticator. InstallApplication 5/5/2014 4:35:09 PM 3824 (0x0EF0) And then it moves to the Programs step because that failed, and I dont have any programs defined currently, and it errors out below: BaseVar = 'PROGRAMS', ContinueOnError='True' InstallSoftware 5/5/2014 4:35:10 PM 3980 (0x0F8C) ProgramName = '' InstallSoftware 5/5/2014 4:35:10 PM 3980 (0x0F8C) SwdAction = '0003' InstallSoftware 5/5/2014 4:35:10 PM 3980 (0x0F8C) DSInstaller::Execute() InstallSoftware 5/5/2014 4:35:10 PM 3980 (0x0F8C) Setting progress step for initialization InstallSoftware 5/5/2014 4:35:10 PM 3980 (0x0F8C) Setting total steps to 1 InstallSoftware 5/5/2014 4:35:10 PM 3980 (0x0F8C) Succeeded loading resource DLL 'C:\WINDOWS\CCM\1033\TSRES.DLL' InstallSoftware 5/5/2014 4:35:10 PM 3980 (0x0F8C) No Env variable with specified basename PROGRAMS and suffix '001' is found. No applications installed. InstallSoftware 5/5/2014 4:35:10 PM 3980 (0x0F8C) CheckForBaseVarsInTSEnv(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\dsinstaller.cpp,201) InstallSoftware 5/5/2014 4:35:10 PM 3980 (0x0F8C) dsInstaller.Execute(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,344) InstallSoftware 5/5/2014 4:35:10 PM 3980 (0x0F8C) Process completed with exit code 2147500037 TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) !--------------------------------------------------------------------------------------------! TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Failed to run the action: Install Package. Unspecified error (Error: 80004005; Source: Windows) TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) MP server http://SCCM.THE-MED.ORG. Ports 80,443. CRL=false. TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Setting authenticator TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Set authenticator in transport TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Sending StatusMessage TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Setting message signatures. TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Setting the authenticator. TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) CLibSMSMessageWinHttpTransport::Send: URL: SCCM.THE-MED.ORG:80 CCM_POST /ccm_system/request TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Request was successful. TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Set a global environment variable _SMSTSLastActionRetCode=-2147467259 TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Clear local default environment TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Let the parent group (MDT Installation) decides whether to continue execution TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Let the parent group (Setup Operating System) decide whether to continue execution TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) The execution of the group (Setup Operating System) has failed and the execution has been aborted. An action failed. Operation aborted (Error: 80004004; Source: Windows) TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Failed to run the last action: Install Package. Execution of task sequence failed. Unspecified error (Error: 80004005; Source: Windows) TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) MP server http://SCCM.THE-MED.ORG. Ports 80,443. CRL=false. TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Setting authenticator TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Set authenticator in transport TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Sending StatusMessage TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24) Setting message signatures. TSManager 5/5/2014 4:35:10 PM 3364 (0x0D24)
  10. OK, a little more info for anyone on the help The app is set to download and be able to download and then install from DP App policy for '3M Core Grouping' not received. Make sure the application is marked for dynamic app install InstallApplication 4/30/2014 3:06:15 PM 3964 (0x0F7C) Policy download failed, hr=0x80004005 InstallApplication 4/30/2014 3:06:15 PM 3964 (0x0F7C) daUtil.DownloadPolicies(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\dainstaller.cpp,292) InstallApplication 4/30/2014 3:06:15 PM 3964 (0x0F7C) daInstaller.Execute(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\main.cpp,260) InstallApplication 4/30/2014 3:06:15 PM 3964 (0x0F7C) Process completed with exit code 2147500037 TSManager 4/30/2014 3:06:15 PM 3480 (0x0D98) !--------------------------------------------------------------------------------------------! TSManager 4/30/2014 3:06:15 PM 3480 (0x0D98) Failed to run the action: Install UDI Selected Applications. Unspecified error (Error: 80004005; Source: Windows) TSManager 4/30/2014 3:06:15 PM 3480 (0x0D98)
  11. Well, this was resolved by reinstalling AIK Now a new problem arises .... any apps or programs I select with the MDT do not install. It just ..... skips that step it seems. and the logs .... all of em .... tell me notta. I mean, nothing. Property CoalescePattern is now = Applications ZTICoalesce 4/30/2014 1:54:11 PM 0 (0x0000) Property CoalesceTarget is now = CoalescedApps ZTICoalesce 4/30/2014 1:54:11 PM 0 (0x0000) Property CoalesceDigits is now = 2 ZTICoalesce 4/30/2014 1:54:11 PM 0 (0x0000) Microsoft Deployment Toolkit version: 6.2.5019.0 ZTICoalesce 4/30/2014 1:54:11 PM 0 (0x0000) The task sequencer log is located at C:\Windows\CCM\Logs\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log. ZTICoalesce 4/30/2014 1:54:11 PM 0 (0x0000) Coalesce pattern to be used: Applications ZTICoalesce 4/30/2014 1:54:11 PM 0 (0x0000) Coalesce base variable to use: CoalescedApps ZTICoalesce 4/30/2014 1:54:11 PM 0 (0x0000) Added value 3M Core Grouping from APPLICATIONS001 to the list ZTICoalesce 4/30/2014 1:54:11 PM 0 (0x0000) Property CoalescedApps01 is now = 3M Core Grouping ZTICoalesce 4/30/2014 1:54:11 PM 0 (0x0000) ZTICoalesce processing completed successfully. ZTICoalesce 4/30/2014 1:54:11 PM 0 (0x0000) Everything looks just peachy, but it decides it aint installing squat and doesnt tell me why. SMSTS is empty as my beer bottle at 8
  12. So I'm trying to create an MDT Task Sequence and a new WIM at the same time. (even using an already made WIM gets this error as well) And Im getting the following error Started processing. Creating boot image. Copying WIM file. Mounting WIM file. WIM file mounted. Setting Windows PE system root. Set Windows PE system root. Set Windows PE scratch space. Adding standard components. Adding component: winpe-dismcmdlets Adding component: winpe-enhancedstorage Adding component: winpe-mdac Adding extra content from: C:\Users\ADMINI~1.UMC\AppData\Local\Temp\4wekleml.mfw Unmounting WIM. Copying WIM to the package source directory. Creating boot image package. Error while importing Microsoft Deployment Toolkit Task Sequence. Failed to insert OSD binaries into the WIM file Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException: The SMS Provider reported an error. ---> System.Management.ManagementException: Generic failure at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) at System.Management.ManagementObject.Put(PutOptions options) at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport) --- End of inner exception stack trace --- at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport) at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put() at Microsoft.BDD.Wizards.SCCM_ImportTaskSequenceTask.DoWork(SmsPageData smspageData, Dictionary`2 data) The system account has full access to the site folder and all sub folders. Any help would be awesome!
  13. How do I make Software center default from to on all machines in my network? I'm having a little trouble with software center getting cluttered with OS deployments
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.