Jump to content


laxi

Established Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by laxi

  1. I'm using MDT 2012 Update 1 (created a page using the CreateYourOwnPage option in the UDI Wizard) and i'm using the following Web service: kKoster.Deployment.Webservice_v7_3 I'm using the following script to check against the web service (which works): '//---------------------------------------------------------------------------- On Error Resume Next iRetVal = ZTIProcess ProcessResults iRetVal On Error Goto 0 '//--------------------------------------------------------------------------- '// '// Function: ZTIProcess() '// '// Input: None '// '// Return: Success - 0 '// Failure - non-zero '// '// Purpose: Perform main ZTI processing '// '//--------------------------------------------------------------------------- Function ZTIProcess() Dim oService, oXML, strMyServer, sResult iRetVal = Success oLogging.CreateEntry "DOES COMPUTER EXIST: Processing Does Computer Exist in AD routine", LogTypeInfo ' Create the web service instance Set oService = New WebService oService.iniFile = "customsettings.ini" oService.SectionName = "DoesComputerExist" strMyServer = oEnvironment.item("myServerName") ' Make the web service call Set oXML = oService.Query If oXML Is Nothing Then oLogging.CreateEntry "Unable to call DoesComputerExist web service.", LogTypeWarning MsgBox "Could not verify computer name against AD! Please contact your Administrator." sResult = 0 Else oXML.setProperty "SelectionNamespaces", "xmlns:mk='http://maikkoster.com/Deployment'" If UCase(oXML.SelectSingleNode("mk:boolean").Text) = "TRUE" Then oLogging.CreateEntry "Computer exists in Active Directory!", LogTypeInfo MsgBox "Computer account already exists!! Please use the back arrow to return to the previous screen and make the necessary changes." sResult = True iRetVal = Success Else oLogging.CreateEntry "Computer does NOT exist in Active Directory!", LogTypeInfo sResult = False End If End If oEnvironment.item("strServerExists") = sResult ZTIProcess = iRetVal End Function </script> </job> <!--b error="false" debug="false"--> and also the following CustomSettings.ini settings: [DoesComputerExist] WebService=http://sms2012cen1/Webservice/AD.asmx/DoesComputerExist Parameters=myServerName myServerName=ComputerName what i don't understand, is how to run the script in the backround after the user input the computer name in the field so it will give error or message if the computer account is not present in the AD.
  2. Anyone? i only want to understand how i can put my function script inside, and make it run in one of the UDI pages...
  3. Hi, I've created a UDI Task sequence with MDT 2012 and SCCM 2012, everything works fine, except i want to validate the computer name the will be inputed in once of the forms against the AD web service. expect i don't undestand how to do so, i've install the web service and it works fine, but i don't understand what i need to edit in order to have this validation in one of the pages in UDI wizard. help would be much appreciated, as i want to use this web service for other things as well in my UDI. Thank you in advance.
  4. Hi, I am inspecting MBAM for my company, and didn't find an answer regarding obsolete computer reports, when i install the mbam client it reports to the mbam database, how can i delete old computers that does not exist anymore? is there any scheduled task that deleted computers from the database records? if there is, how much time before a client record gets deleted? thank you in advance for your help. regards.
  5. Hi, I recently installed a Microsoft Bitlocker administration and monitoring server in my production environment (all componenets installed on the same machine) after installation i opened Group policy managment console and created a new GPO, while searching i discovered that while the admx files resides on the machine under %systemroot%\policyDefinitions\ it does not show me the new MBAM options when i am editing the GPO, all i can see is "Policy definitions retrieved from the central store" from what i understand i should see them under Computer Configuration -> Administrative Templates -> Windows componenets Can someone please help me? Regards, Adi
  6. Hey, I am having trouble usint USMT, for some reason i am unable to use a network UNC path for the StorePath location (where the Mig file is supposed to be created and then used by loadstate, i was able to work around the problem for the scanstate by Mapping the UNC path as a network drive, but no i am just not able to use any network path for the loadstate (if i move the mig file locally it will transfer no problems) here is the log file: 2011-06-12 10:12:17, Info [0x000000] USMT Started at 2011/06/12:10:12:17.236 2011-06-12 10:12:17, Info [0x000000] Command line: loadstate.exe \\k2\Backup\USMTEST /i:C:\Program Files\USMT\MigUser.xml /i:C:\Program Files\USMT\Migapp.xml /i:C:\Program Files\USMT\Printers.xml /v:13 /c /all 2011-06-12 10:12:17, Status [0x000000] Activity: 'MIGACTIVITY_COMMAND_LINE_PROCESSING' 2011-06-12 10:12:17, Info [0x000000] Failed.[gle=0x00000002] 2011-06-12 10:12:17, Info [0x000000] An error occurred processing the command line. loadstate.exe ##ERROR## --> \\k2\Backup\USMTEST /i:C:\Program Files\USMT\MigUser.xml /i:C:\Program Files\USMT\Migapp.xml /i:C:\Program Files\USMT\Printers.xml /v:13 /c /all Settings store argument specified is invalid[gle=0x00000002] 2011-06-12 10:12:17, Info [0x000000] USMT Completed at 2011/06/12:10:12:17.283[gle=0x00000002] 2011-06-12 10:12:17, Info [0x000000] Entering MigShutdown method 2011-06-12 10:12:17, Info [0x000000] Leaving MigShutdown method i do not understand what is wrong with the syntax, and why it doesn't work, the path given is a network share with full permmisions for everyone. would be glad for some advice, i remmemeber last time i used usmt it worked no problem from the network. thank you.
×
×
  • 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.