Jump to content


HGITS

Established Members
  • Content Count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

About HGITS

  • Rank
    Member
  1. Ok so I found a work around. I've noticed that it’s kind of hard to find some information about SCCM if you don’t know EXACTLY what you're looking for. It took me a while to find some useful websites with similar issues and I'll try my best to explain it here for anyone who runs across similar issues. FYI This I got this info from this site: http://www.appdeploy...e=1&key= Problem: Task Sequence fails when attempting to install software that is NOT silent, IE has some sort of prompt or GUI that pops up. In my case, I was attempting to automate an installation of EPIC, an Insurance management software by Applied Systems. There was no way to do a silent Installation and I had to provide credentials so AutoIT was really my only viable solution Cause / Why this REALLY happens: There are a few reasons behind this so I’ll try my best to explain it. 1 Without going into too much detail there are different “sessions” or interactive accounts in a windows computer. Session 0 is reserved for the System account. The System account is used for some pretty important behind the scenes windows processes and is also a completely HIDDEN session. Meaning that if there are any prompts or popups we will not see them unless it gets passed to a different session. With that said every user that logs in then gets a different session number. IE session #1 or #2, and every session other then 0. Is interactive and can see/manipulate prompts and such. 2 Task Sequences are meant to have ZERO user interaction, they are here to help us with OSD. Because there is zero interaction “needed” all installs are done using the system account or session 0. ß This is why my AutoIT script would fail. It was waiting to send data to a certain window/field that “didn’t exist” for my particular session. 3 Task Sequences will NOT install a software package where “Allow users to interact with the program” is checked, which makes sense. Workaround/solution: After much searching I ran across a post that had this solution. I have tested and it does work. Please See attached image for the fields below Create the package and program. If you check the box “Allow users to interact with the program”, then the install will happen within a different session number, I’m assuming one of the SMS accounts?<-- correct me if I’m wrong, HOWEVER : you cannot use the program in the “Install Software” step of a TS Add a “Run Command Line” step and for the “Command Line” field and type in the Program name IE epicinstall.exe. For the “Start In” field, type in the location of the package Make sure to Check the “Package” box and select the appropriate package If you dont know how to find out the Package location you can check the package status and it will show the path. see below And there you go. You can now install an application that has popups or is not completely silent from a TS and not have to rely on logging in after the install and doing it there. I'm still learning a lot about SCCM so please correct me if I've made mistakes on Why this happens.
  2. <p class="author_info"> after more digging i found this post. I guess I'll have to find a way to push it right after the install unless anyone knows of ANY way around this http://www.autoitscript.com/forum/topic/123056-autoit-and-sccm/ Posted 11 December 2010 - 12:21 AM No, an AutoIt program will work through SCCM OSD. It depends on how you are using AutoIt. So in the example you show you are wrapping another programs install routine with AutoIt and you are not able to suppress the original programs install windows. The script is just giving the necessary keystrokes needed for the program to install. So this install will not be silent and will most likely fail in the OSD process as the OSD process does not interact with the desktop, and you also have to remember when packaging a program for the OSD process you only have access to the Local machine registry and not the users. These have nothing to do with AutoIt but are limitations applied by the OSD process. Whereas if you wrote a simple script to install Java and then have it write the registry key to disable the next generation plug-in that will work in the OSD process as you can install Java silently via the command line. Your script will still work in SCCM but you just have to install it as an application outside of the OSD process after someone has already logged onto the computer. You also mention the UAC you do not have to worry about that as the SCCM Client takes care of it.
  3. Hello Guys, I'm wondering if you guys can help me out here. I'm running out of ideas and could deffinetly use some help. Without going into too much back story we HAVE to use autoIT to deploy one of our apps during OSD. I wrote out a script and complied it into an .exe, and we'll call it app.exe. Heres how it basically works: I launch app.exe, which launces the application install file from a seperate server. It then enters the username and password to install the app. the app then copies all its files to the c drive in a folder called ASI once its done it dialog box pops up and the application is installed. I have tested this running it manually and it works fine. I have even ran it AFTER it failed during OSD and it installed with no issues. I've looked into the logs and havent seen anything that really stands out other then it failed i've noticed that the script is, at least, starting properly, as the ASI folder is created on the c drive and there are about 50 files in there. A proper install will have 300+ files in there so I know its kicking off the install, its just erroring out, or stalling or somehow not finishing in the 15 minute window i've got it set to. any ideas?
  4. I was not using a toolkit package... ;( I do find alot of this criptic and suprisingly enough, google does not have a lot of info for some of these errors. I have created a toolkit package by creating a dummy MDTS and specifying a folder to create the Toolkit package to. I now have it in this order: Use Toolkit Package Install Software Updates Offline Setup Windows and configmgr It looks like it is able to copy all the updates over to the computer, but then it fails copying all the updates to a different folder. I did some searching of the oracle, and the couple of posts that matched my errors were from people that tried manually creating Toolkit package by copying the files to a shared location. I'm going to try recreating the toolkit package and see if that helps.
  5. So i noticed that below it sets the working directory to the server name and package name. Then it attempts to call the script variable location and it adds that to the working directory? I'm looking through the various XML and ini files and havent been able to find out where I can tweak this? Any ideas?
  6. ok I think I might have made some progress. I checked the SMSTS.log and found this portion of it. I highlighted the part that concerns me. "Input Error: Can not find script file "\\hgsccm1.hg\smspkgd$\wnc00015\%deployroot%\scripts\ztipatches.wsf". I DO have the MDT stuffs installed. I tried mapping that location to a drive within the instance of the os deployment and it couldn't find that location. Question. where does that %deployRoot% try and map to? I found the ztipatches.wsf in C:\program files\microsoft deployment toolkit\templates\distribution\scripts. Do I need to reinstall the MDT and see if it puts the scripts in the correct location?
  7. So after letting this sit for a couple of days and coming back with fresh eyes I'm seeing the issue... maybe? I'm noticing in the portion of the log that I posted that there the "Total targeted updates = 0" so that means that I dont have the updates targeted correctly? Heres my set up. I have the computer i'm pushing an image to in the deploy collection. I have the unknown computers linked to the deploy collection. I have the TS advertised to the deploy collection <-- and that works fine... except for the updates. I do not have an "advertisement" for the udpates to be pushed to. HOWEVER I do have the "deployment template" pointed to the deploy collection and it includes members of subcollections. and I have the "deployment management" pointed to the deploy collection and it includes members of subcollections. Any other ideas?
  8. Hello Bzowk, I'm having the same problem, and then only thing im finding the in the logs is teh same warning/error of "Error getting logged on user token"... Couple of questions for you: 1 Are you getting a nice big FAIL message during the TS that counts down for a reboot? I'm asking that because I've unchecked the "continue on error" box under the Install updates offline-->options. This allows you to see it fail on that step, rather then just skip over it to the next part. 2 I'm assuming you're doing a TS for a Windows 7 deployment. Once that system is up and running, open up windows updates --> click on View update history. Does that show a bunch of failed updates? Sorry I dont really have any answers for you as of yet. I just want to see if you're getting the same errors that I'm getting. If I get anywhere with this I'll let you know
  9. I keep seeing the Failed to retieve current (user,session) pair, and Error getting logged on user token. error on various other logs as well. Maybe a permission error? I checked and I'm logged in as the local SYSTEM account during the OS deployment. am I missing permissions somewhere for the local SYSTEM account to access the updates path or something like that? I'm still poking around but if you gots some areas for me to check let me know!!! Thank you!
  10. ok I snagged all the log files after the TS failed the "install updates offline" attached is a screen shot of the updatesdeployment.log. That shows the 2 repeating error messages. I've got all the other logs. I'm going to browse through them and see if anything else stands out.
  11. I appoligize for the delay in response. I've been in training all week and my brains been a little too cooked to do extra work. I am not doing a build and cature, I am deploying an OS. I did make an advertisement for the updates and i've pointed it to the deploy collection. That did not work. I was able to install the updates after the OS deployment was done. The little bubble comes up and shows that there are updates available for it. I did check the updates history and it shows that all the updates failed. with a generic failure code. Any other ideas? Is there another log file I can check for, or do I need to check it during the actual OS deployment? Thank you for your help!
  12. I just checked all the updates and there are no Expired updates or Superceded updates. oh and this is for a Windows 7 enterprise 32x OS deployment Thank you!
  13. Hello All. I've got SCCM up and running, took me quite a while but was able to do so because of this forum and the WONDERFUL guides that are here. Thank you!!! I am running into a problem having the TS install updates during the OS deployment. I'm using a Standard TS not a MDTS ( however I do have the tools installed so I can switch over to it if I need to). I've installed and configured SUP correctly I believe... (I do have deployment management and deployment packages set up and been able to successfully have computers in advertised collections install those updates.) I've tried using the "Install Updates Offline" option. <-- This doesnt work regardless of where I put it in the TS. I have read a couple of places that it should be used with a MDTS but I have NOT tried that yet. I've tried the regular "Install software updates" with the "Mandatory Software Updates" checked and that still errors out. Right now I've got the "continue on error" box checked so it just passes over it rather then stoping the whole TS. I've checked the updates logs on the client computer, but they dont start logging until after the TS is done, so that doesnt help me. help please? I've run out of ideas. Thank you
  14. ok I made some progress...I was able to Add the SMSSLP location manually to the client install. Under Site Settigns --> Client Installation Methods --> Client Push Installation --> "Client TAB" --> In "Installation Properties" I added the SMSSLP=Servername (FYI I did not use FQDN). I will create a Test Application now that I know the site clients can check in. After that I got a couple of computers to check in , but the bulk was still not there. I did some checking and the ones that DID check in were on a different vlan that was using the parent domain's DNS even though they were added to the Child domain. I then rechecked the logs of one that was not checking in and it looked like it was having troubles resolving the shortname of our sccm server. After this I added a C record in DNS for the Child domain to point the short name back to the parent domain. An A record probally would have worked but I did not test that. I walked away to get water and came back to my desk and I had 100+ computers showing up
  15. Thank you Daniz, I got the log from one of them.. This appears over and over again. LSGetSiteVersionFromAD : Failed to retrieve version for the site 'WNC' (0x80004005) LocationServices 4/7/2011 9:35:32 AM 1332 (0x0534) Attempting to retrieve SLPs from AD LocationServices 4/7/2011 9:35:32 AM 1332 (0x0534) Failed to resolve 'SMS_SLP' to IP address from WINS LocationServices 4/7/2011 9:35:32 AM 1332 (0x0534) LSGetSLP : Failed to resolve SLP from WINS, is it published LocationServices 4/7/2011 9:35:32 AM 1332 (0x0534) LSGetSiteVersionFromSLP : Unable to get the list of SLPs LocationServices 4/7/2011 9:35:32 AM 1332 (0x0534) LSVerifySiteVersion: Failed to get Site Version from AD and SLP LocationServices 4/7/2011 9:35:32 AM 1332 (0x0534) I have 2 questions though.... 1st I did NOT extend AD for the other forests.... Do I need to do that and do I need to create the "System Management" OU under the "System" folder in each forest AD? 2nd Can I set up the "boundaries" to pull from another Forest's Active Directory site? or am I forced to using IP subnet/ IP address range for child domains?
×
×
  • Create New...