Home > Return Code > Mdt Application Unexpected Return Code 1

Mdt Application Unexpected Return Code 1


Give me 15 mins. 0 Datil OP Jago Wu Dec 4, 2015 at 9:31 UTC This 429 error is because something on your domain is blocking scripts to We're always looking for great resources. By creating an account, you're agreeing to our Terms of Use, Privacy Policy and to receive emails from Spiceworks. Always the same for each application!!WARNING-unable to set working directory (-2147024894)Application firefoxinst returned an unexpected return code: 2WARNING-unable to set working directory (-2147024894)Application Microsoft Security Essentials inst returned an unexpected return http://arnoldtechweb.com/return-code/mdt-2010-application-returned-an-unexpected-return-code-1.html

With this, I copied all these files (.cmd, .cfg, .js, .css, the setup.exe, etc.) all to the working directory and out the command to direct to the .CMD file. Reply Subscribe Best Answer Datil OP Jago Wu Dec 4, 2015 at 3:52 UTC Usually a code 2 means MDT could not find the file to install. Thursday, December 18, 2014 2:27 PM Reply | Quote Microsoft is conducting an online survey to understand your opinion of the Technet Web site. Any ideas?

Mdt Application Install Error Code 1

When I try to run the script again, it returns a message that a script is already running, but allows me to continue anyway. Email Reset Password Cancel Need to recover your Spiceworks IT Desktop password? regards Michael Fonteyn LikeLike Reply Andrew Barnes says: March 21, 2013 at 6:52 pm Not in a Zero Touch OSD scenario. Make a .bat file for Firefox.

I know -ms will cause the full install to run silently but it does not work for the stub installer. I don't understand why it is trying to connect without a username? Microsoft Customer Support Microsoft Community Forums Resources for IT Professionals   Sign in United States (English) Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Indonesia (Bahasa)Italia (Italiano)România (Română)Türkiye (Türkçe)Россия (Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย Mdt Unexpected Return Code 2 We do that by removing the environment variable and value set earlier.

Also, we use the LogTypeError switch at the end of the logging class line. It seems that changing the /q switch to /passive has fixed the problem. template. I forgot to mention in my last article that I uploaded the template in the Script Repository here so help yourselves.

oLogging.CreateEntry "INSTALL ADOBE READER X: Completed ADOBE READER X installation", LogTypeInfo Share this:TwitterFacebookLinkedInGoogleRedditTumblrEmailLike this:Like Loading... Mdt Error Codes I have the .CMD file script posted below. Let me know if anyone else knows any quick fixes. 0 Datil OP Jago Wu Dec 7, 2015 at 2:08 UTC Usually this means the application was included This is the account MDT uses for any network resources.

  • See post: http://forum.kaspersky.com/index.php?showtopic=259508&hl= regards Michael LikeLike DJ says: January 6, 2014 at 10:20 am Hi, I am using SLShareDynamicLogging and SLShare in my CustomSettigns.ini configuration files.
  • Usually return code 2 means it couldn't find the file you're launching.
  • Any thoughts? 0 Datil OP Jago Wu Dec 7, 2015 at 2:26 UTC In the command line for the application if you use just  Firefox.bat (the bat file
  • OK Can't install an application with MDT Started by Timothy271 , Jan 06 2010 04:21 PM Please log in to reply 1 reply to this topic #1 Timothy271 Timothy271 Newbie Established
  • I am using the following: iRetVal = oShell.Run("""" & sFile & """ /s /pACTIVATIONCODE=" & oEnvironment.Item("KasperskyLicenseText") & " /pKLPASSWD=Test123456 /pKLPASSWDAREA=SET;EXIT;UNINST", 0, True) to deploy a Kaspersky Antivirus 2013 package, but problem
  • I have use the command line from AppDeploy here.
  • It returns an error to me as follows: "Application Mozilla Firefox returned an unexpected return code: 2" Here's what I have tried: 1.
  • General scripts should be stored in the deployment share with the prefix ZTI so the replication will pick it up.
  • I began by adding a new application with source files in MDT and am using the command line: dotNetFx40_Client_x86_x64.exe /q /norestart.

Mdt Return Code 1

so we can take advantage of it without having to set it up as usual. It's only when I'm going through MDT that it doesn't work. Mdt Application Install Error Code 1 How can I go about directing the Application installation success and failure logs to these central log file shares? Mdt Return Codes then in the main routine, I inserted my custom code.

Here is what my bootstrap.ini looked like when the issue was occurring: [Settings] Priority=Default [Default] DeployRoot=\\server.domain.com\mdt$\ <-- With backslash Here is what it looks like now: [Settings] Priority=Default [Default] this content I’ve also uploaded todays script here. I hope this information helps you out! -Joe Labels: Deployment, MDT, Windows Newer Post Older Post Home All information originally from Joe Dissmeyer unless otherwise noted. Contact: [email protected] Mdt Returned An Unexpected Return Code: 1

Strange indeed… Evaluation of the BDD.LOG file confirms that MDT was unable to map a drive but after a few attempts it eventually mapped the drive and continued the application installation Help Desk » Inventory » Monitor » Community » Scriptimus Ex Machina Andrew Barnes's scripting and deployment Blog Skip to content HomeContact ← MDT Scripting: Creating custom scripts GettingStarted MDT Scripting: With this, I copied all these files (.cmd, .cfg, .js, .css, the setup.exe, etc.) all to the working directory and out the command to direct to the .CMD file. weblink Do you have a solution?

It was clear that the issue had to do with access to the network share. Application Returned An Unexpected Return Code 1619 Home Forum iSpy New Posts Today's Posts Calendar Community Groups Albums Member List Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders Blogs Wiki What's New? I am not sure if a set it corectly with ; (semicolon).

LikeLike Michael Fonteyn says: March 12, 2013 at 9:57 am Hello Andrew, many thanx for script.

iRetVal = oShell.Run("""" & sFile & """ /sAll /rs /msi EULA_ACCEPT=YES", 0, True) This section will set the ZTIProcess variable to the value returned by the application installation. Send PM 21st October 2015,02:16 PM #2 Liam86 Join Date Sep 2012 Posts 166 Thank Post 4 Thanked 17 Times in 16 Posts Rep Power 11 I can confirm it I have created a new application in MDT, using both the 'Application with Source Files' selection and the 'Application without Source Files or elsewhere over the network' option. 2. Mdt Unable To Set Working Directory https://www.mozilla.org/en-US/firefox/all/.

if (iRetVal = 0) or (iRetVal = 3010) then ZTIProcess = Success Else ZTIProcess = Failure End If The Logging Class in this line creates the log entry stating the return value Thanks. I'd like to see if I can find a script which avoids this entirely. check over here Send PM 21st October 2015,02:35 PM #4 Liam86 Join Date Sep 2012 Posts 166 Thank Post 4 Thanked 17 Times in 16 Posts Rep Power 11 The user in MDT

Andrew Barnes (aka Scriptimus Prime) Recent Posts Windows 10: Deployment and management labkit Windows 10: Unable to open PDF from file share in MicrosoftEdge PowerShell: Temporary Folders PowerShell: Test-IsAdmin Testlab: HP Send PM 21st October 2015,04:16 PM #12 Liam86 Join Date Sep 2012 Posts 166 Thank Post 4 Thanked 17 Times in 16 Posts Rep Power 11 It's when you boot Silent install (always installs into the default location. With all of this, I have tested the deployment by running the following commands: net use \\deploymentshare$ user: cscript \\deploymentshare$\Scripts\LiteTouch.WSF The LiteTouch UI opens up and I have successfully deployed the

TechNet Products IT Resources Downloads Training Support Products Windows Windows Server System Center Browser   Office Office 365 Exchange Server   SQL Server SharePoint Products Skype for Business See all products Use the "Configuration ini file" option below to set the install location and other install options): Firefox.exe -ms Silent uninstall: Firefox.exe /S You could try just /S as well which will