Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. woodhead

    74-134 Pre-Install Microsoft, has anyone give this exam?

    Check out http://www.msreadiness.com/study74-134/ Microsoft is running a study group on this on-line. Woody
  2. woodhead

    Amatures Borrow Professionals Steal

    Couple of ideas, What 'rights' do lowly users have on the desktop? You are writing to the registry. Can your users do that? Your Mapit message to cal the system admin is outside the subroutine (probably more housekeeping than anything else.) You mention you can run it from the desktop as an...
  3. woodhead

    Logon Script

    Ensure Auditing is turned on check the Security event log for event 552. This tracks a successful logon to the computer that the remote user is logged into. It gives the remote users login ID and ip address. i.e. John doe remotes into 'Target' - ip address 1.1.1.1 from his computer. Event...
  4. woodhead

    Search for a user name in Active Directory

    OUCH! LDAP searches are painful. You can use winnt. use your domain and logon name. (Can even ask for these in a msgbox) ----script below--------------- 'Find users in NT4 Domains option explicit msgbox Time 'WScript.Echo Time Dim binFound, objUser, strDomainName, strUserName Const...
  5. woodhead

    Urgent...Could you please help me with this script

    Since the Create User script does not set the user home directory, why not scan AD for users with no Home directory. Set it for those users only.
  6. woodhead

    Server Not Responding E-mail Connection Issue

    When the problem strikes is it one or tw folks or everyone at the same time? What is your DNS resolution handled? Outlook 'might' be timing out the resolution of the server name rather than an 'e-mail' issue. Woodhead
  7. woodhead

    MCSE2k/MCDBA/MCSE200x

    I have been a MCDBA for about 3 years now. I have yet to see anyone looking for that cert. 8-( I see companies looking for Developers (Programmers) they tend to make them do the DBA stuff. I attacked the DBA from the other direction - keeping the server and the SQL on top of it alive. - But...
  8. woodhead

    Find OU from username

    I remembr running into the 2000 record limit - for most of my clients this was not an issue. Off hand I do not remember my solution. Try commenting out both the line: objADOCommand.Properties("Size Limit") = 2000 so it looks like: (notice the single quote)...
  9. woodhead

    Find OU from username

    In a Nutshell, it is easier to use the WinNT to locate the user then get the LDAP info. The script below uses the Login Name (i.e. kbwood to get the information - Namely ASD path. This script will ask for the name. If you do not give a name, it will write ALL ids to a file inthe C:\temp...
  10. woodhead

    using vbscript to remotly boot a pc

    This article had some ideas http://www.winscriptingsolutions.com/Articles/Index.cfm?ArticleID=23602
  11. woodhead

    Script for system uptime

    Try something like this ------------------ 'lastboot.vbs Date of last boot of machine requires Admin Priv to run dim strMonth ComputerName = InputBox("Enter the name of the computer you wish to query") winmgmt1 = "winmgmts:{impersonationLevel=impersonate}!//"& ComputerName &...
  12. woodhead

    vbscript forms

    Yes - you need three files (from what I can tell ----file 1 fdialogbox.vbs 'information for alltogether.vbs also needs alltogether.wfs Function DialogBox(L, T, H, W, Cancel, File) Dim DFile Set DFile = FileSystem.GetFile(File) IEDbx.Left = L IEDbx.Top = T IEDbx.Height = H...
  13. woodhead

    Parameters with spaces

    Try creating a variable i.e. dim MyVar MyVar= "C:\program files\directory" CScript shrtct.vbs MyVar
  14. woodhead

    sending e-mail using vbscript

    If outlook is installed, 'Send Outlook Mail Item w/Attachment - can be called from batch with arguments ' *************************************************** Dim objOutlook Dim objNameSpace Dim mItem Dim strReceipient Dim strSubject Dim strBodyText Dim strMsg Dim pAttachment Dim...
  15. woodhead

    Creating vbscript through Notepad

    Easiest way in notepad the "name" something, Without playing with the Save as, clicking files of all types etc. Click File, Save as, In the File Name boxe REMOVE ALL TEXT....so the box is empty. enter the filename and extension you want surrounded by double quotes i.e...

Part and Inventory Search

Back
Top