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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by drweb

  1. drweb

    INI Manipulation - Read-Check/Edit Value-Save

    Hey All, I can normally search my way out of scripting roadblocks thanks to these forums and the rest of the net, but am running into getting this accomplished. Ultimately I need to change some values in a specific section of an INI. I have tried to use the Classpack from JSware -...
  2. drweb

    Sql Query Help for Newb

    Ian, Thanks for the quick reply. This will help me greatly and get me on my way to what I ned to see. Clay
  3. drweb

    Sql Query Help for Newb

    All, I am a sql newb and in a bind and all out of ideas at the moment but I was thrown into figuring a query out to report back what my manager wants to see. Basically I have a table similar to the one below that I need to write a query against that will give me this report style format once...
  4. drweb

    Shutdown Script Help - Executing a remote file

    All, I think I figured it out, atleast it tested ok for now. New Code: Option Explicit On Error Resume Next Dim objShell Set objShell = WScript.CreateObject("WScript.Shell") objShell.CurrentDirectory = "\\mydomain.com\SYSVOL\mydomain.com\scripts\Contact Centers\Files\"...
  5. drweb

    Shutdown Script Help - Executing a remote file

    All, I have ran myself into a road block and can't google my way out of this one. I am creating a very simple shutdown script that I can put into my group policy using MS utility DelProf.exebut cannot seem to think of a method of running this off a server using common variables. This is my...
  6. drweb

    Macro Firing Question

    All, I am pretty new to the Attachmate world and trying to give myself a crash course since I am slowly being morphed into an App Dev role. Basically we are using Extreme version w/ SP1 and approx 9 macros my company had custom wrote for our environment. While learning what each macro does and...
  7. drweb

    Macro Firing Question

    All, I am pretty new to the Attachmate world and trying to give myself a crash course since I am slowly being morphed into an App Dev role. Basically we are using Extreme version w/ SP1 and approx 9 macros my company had custom wrote for our environment. While learning what each macro does and...
  8. drweb

    Change Networker Install Directory After the Fact

    Hey All, I have been given the task of finding if it is possible to move the networker install (currently in C:\program files\) to d:\program files. Is this even possible to do this and not have to loose all the configurations or indexes? Thanks, Clay
  9. drweb

    Display All Locked Accounts in an OU

    Great, I know I would not have caught that. >ssamaccount=rs.field("samaccountname") I changed it to ssamaccount=rs.fields("samaccountname") after getting unsupported object but then get Null error on next line Set ouser = GetObject("WinNT://" & snbdomain & "/" & ssamaccountname & ",user")
  10. drweb

    Display All Locked Accounts in an OU

    Thanks for all the help. I am getting this error that I cannot get past on this line: set rs=ocommand.execute Error: One or more errors occured during the procesing of comand Code: 80080E14 Source : Provider I assume it points to the ldap connection but when I echo sBase is is pointing to the...
  11. drweb

    Display All Locked Accounts in an OU

    Thanks you for your reply Tsuji, I will try this first thind Monday, Also I read somewhere when using the adodb.command it is only read-only access but using the WinNT provider later in your version I can unlock the users it finds locked. Am I thinking this out correctly?
  12. drweb

    Display All Locked Accounts in an OU

    Hey All, I have thi script below I used from its source http://www.rlmueller.net I am having a very hard time to alter this to make it search a particular OU and its sub-ou's for locked out accounts. I cannot seach the entire domian like this script is doing due to logistics. Any and all...
  13. drweb

    Find Application Running Based on Windows Title

    Hey TomThumb or anyone who is better than me at vbscript :), Does running a loop too long make anything unstable?
  14. drweb

    Script taking forever to execute

    I know this is a thread revival but may help future people who find it in searches. If you are using vbscript as a logon script you should use the group policy editor of the local machine or the domain policy and enable the following setting. Computer Configuration->Admin...
  15. drweb

    Find Application Running Based on Windows Title

    Once again thank you for your post. Works great. Now I have one less nusance to worry about.

Part and Inventory Search

Back
Top