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 Chriss Miller 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: *

  • Users: drweb
  • Order by date
  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.
  16. drweb

    Find Application Running Based on Windows Title

    Thank you TomThumbKP, I incorporated that into my startup script and it tested perfectly. I do have a question on how to not keep it in an infinite loop. Can I make it end the DO command say after 15 minutes so the script just isn't sitting their in a loop if the user still does not decide to...
  17. drweb

    LDAP Authenticating Tweaks Needed

    Thanks for the reply tsuji. I did remove the statement you mentioned as immaterial. I then get an error on line 30 which is Set objGroup = GetObject(strPath). It acts like it doesn't know what strPath is even though I have is set to = "WinNT://mydomain/" & strUserID & ",user"
  18. drweb

    LDAP Authenticating Tweaks Needed

    I tried adding your tip to multiple places in the page. But am still getting an Error Type:(0x80005000) on the same line in my original post Set objUserInfo = GetObject(strPath) I think it can't bind to active directory or find it in order set the strPath but I am new to any LDAP stuff in asp...
  19. drweb

    Find Application Running Based on Windows Title

    After reading my thread I think there needs to be more clarification. I want to look for the application title "Enter Windows Password" in a login script and only if the script finds the title in a window it will halt the script until that window goes away. I am pretty sure I need to use...
  20. drweb

    Find Application Running Based on Windows Title

    Hey All, I know I can kill apps or check to see if they are running based on the executables name but is there a way to make vbscript look for the windows title of the application instead. For instance I have this application lets call it SSO.EXE which is a service that runs at startup. Only...

Part and Inventory Search

Back
Top