No announcement yet.

Custom tools I've come up with over time...

  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom tools I've come up with over time...

    Here are some custom tools I've created over time, usually when the need to do a specific task more efficiently has risen.

    <span style="font-weight: bold">Connect to with PCAnywhere</span>
    awrem32.exe c:\progra~1\symantec\pcanywhere\data\%E%.chf

    <span style="font-weight: bold">Start a specific Service</span>
    netsvc SERVICENAME \\%E% /start

    <span style="font-weight: bold">Open a specfic directory on selected entry</span>
    explorer \\%E%\admin$\system32\lls

    <span style="font-weight: bold">Get User SID</span>
    cmd.exe /x /c getsid \\YOURPDC %E% & pause

    <span style="font-weight: bold">Get Computer SID</span>
    cmd.exe /x /c getsid \\%E% & pause

    <span style="font-weight: bold">Copy file from prompted servername</span>
    cmd.exe /x /c copy \\%P1%\share\file.dat \\%E%\share\folder

    Some of these commands require NT Resource Kit Utilities, other require freeware tools from System Internals.


    [This message has been edited by shadrach (edited 10-26-2000).]

  • #2
    Re: Custom tools I've come up with over time...

    Here's an update, as I've added some over time [it's been awhile since I've checked here ]:

    IDM_TOOL1 Connect to with PCAnywhere
    IDM_TOOLCMD1 awrem32.exe c:\progra~1\symantec\pcanywhere\data\%E%.chf

    IDM_TOOL2 Quick Ping
    IDM_TOOLCMD2 cmd.exe /x /c ping -n 3 %E%

    IDM_TOOL3 Compaq Web Agent
    IDM_TOOLCMD3 explorer http://%E%:2301/

    IDM_TOOL4 Start License Logging Service
    IDM_TOOLCMD4 netsvc LicenseService \\%E% /start

    IDM_TOOL5 Stop License Logging Service
    IDM_TOOLCMD5 netsvc LicenseService \\%E% /stop

    IDM_TOOL6 Get User SID
    IDM_TOOLCMD6 cmd.exe /x /c c:\winnt\command\getsid \\chicago4 %E% & pause

    IDM_TOOL7 Get Computer SID
    IDM_TOOLCMD7 cmd.exe /x /c c:\winnt\command\getsid \\%E% & pause

    IDM_TOOL8 Copy GRC.bat from specfic server
    IDM_TOOLCMD8 cmd.exe /x /c copy \\chicago3\vphome\grc.dat \\%E%\c$\progra~1\navnt & sleep 1

    IDM_TOOL9 Copy GRC.bat from requested server
    IDM_TOOLCMD9 cmd.exe /x /c copy \\%P1:NAV Home Server:%\vphome\grc.dat \\%E%\c$\progra~1\navnt & sleep 1

    IDM_TOOL10 Display client's NAV home server
    IDM_TOOLCMD10 cmd.exe /x /c reg query "HKLM\Software\Intel\LANDesk\VirusProtect6\Current Version\RemoteHomeDirectory" \\%E% & sleep 3

    IDM_TOOL11 Display client's NAV CurrentPattern
    IDM_TOOLCMD11 cmd.exe /x /c reg query "HKLM\Software\Intel\Landesk\VirusProtect6\Current Version\CurrentPatternName" \\%E% & sleep 1

    IDM_TOOL12 Schedule Time Sync
    IDM_TOOLCMD12 cmd.exe /x /c at \\%E% 12:00AM /EVERY:M,T,W,Th,F,S,Su net time /domain OMAIN1 /set /y

    IDM_TOOL13 Check Time Zone
    IDM_TOOLCMD13 cmd.exe /x /c reg query "HKLM\System\CurrentControlSet\Control\TimeZoneInf ormation\StandardName" \\%E% & sleep 2

    IDM_TOOL14 Ping & Traceroute
    IDM_TOOLCMD14 cmd.exe /x /c ping %E% & tracert %E% & pause

    IDM_TOOL15 Open LLS directory
    IDM_TOOLCMD15 explorer \\%E%\admin$\system32\lls

    IDM_TOOL16 Open Admin share
    IDM_TOOLCMD16 explorer \\%E%\admin$

    IDM_TOOL17 Hotfix check
    IDM_TOOLCMD17 cmd.exe /x /c c:\progra~1\hfnetchk\hfnetchk -h %E% -s 1 > c:\temp\hfout.txt & notepad c:\temp\hfout.txt

    IDM_TOOL18 Terminal Service Client
    IDM_TOOLCMD18 C:\Progra~1\Termin~1\MSTSC.EXE %E%