mbt masai
 
Welcome !
         

                                
After experiencing a lot of down time, We decided to move this site to CrystalTech.com. CrystalTech.com is powered by only the finest Windows servers providing the best performance, reliability, and value anywhere.

 LANDesk Custom Data Form Tool (My First Script)

Author Message
ocdpfsas

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 8/23/2010
  • Status: offline
LANDesk Custom Data Form Tool (My First Script) Monday, August 23, 2010 2:14 PM (permalink)
0
Hey guys, I just started getting into scripting an thought I'd post my first script. In LANDesk (Server Management Suite) there is an option to create a "Custom Data Form". At my business (12,000+ end users strong) we have a custom form for inventory that we use to save an individual PCs location. (Building #, Floor #, Room #, closest phone extension, and Fleet use = Yes/No).

We sent out techs to each PC, one at a time, to fill out this form so it would populate in LANDesk and we would have a record of every PCs location. After some digging around, I found that through rigorous documentation, we had all the information we needed for each PC so I created this script to modify the form remotely. According to our client/server integration team, this form saves our company thousands of dollars. Just thought I would share.


I know it's simple but it's effective.


const HKEY_LOCAL_MACHINE = &H80000002
 
Set WshNetwork = WScript.CreateObject("WScript.Network")
strPCName = InputBox("Enter PC Name", "CDF Reader", WshNetwork.ComputerName)
 
If strPCName = "" then 
 wscript.quit
End If
 
 
   set shell = CreateObject("WScript.Shell") 
shell.run """\\" & strPCName & "\c$\Program Files\LANDesk\LDClient\LDCSTM32.EXE"""

#1
    smittman

    • Total Posts : 1
    • Scores: 0
    • Reward points : 0
    • Joined: 9/22/2006
    • Status: offline
    Re:LANDesk Custom Data Form Tool (My First Script) Wednesday, March 09, 2011 11:09 AM (permalink)
    0
    Not sure what your script is doing here.  Are you able to modify the forms for LanDesk through a script then have it sync to the core server?
    #2
      ocdpfsas

      • Total Posts : 2
      • Scores: 0
      • Reward points : 0
      • Joined: 8/23/2010
      • Status: offline
      Re:LANDesk Custom Data Form Tool (My First Script) Tuesday, March 22, 2011 3:43 AM (permalink)
      0
      Exactly. The LDCSTM32.EXE file is a custom data form that can be edited with this script and the changes later sync with the server.
      #3

        Online Bookmarks Sharing: Share/Bookmark

        Jump to:

        Current active users

        There are 0 members and 1 guests.

        Icon Legend and Permission

        • New Messages
        • No New Messages
        • Hot Topic w/ New Messages
        • Hot Topic w/o New Messages
        • Locked w/ New Messages
        • Locked w/o New Messages
        • Read Message
        • Post New Thread
        • Reply to message
        • Post New Poll
        • Submit Vote
        • Post reward post
        • Delete my own posts
        • Delete my own threads
        • Rate post

        2000-2012 ASPPlayground.NET Forum Version 3.8
        mbt shoes www.wileywilson.com