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

  • Users: humbletech99
  • Content: Threads
  • Order by date
  1. humbletech99

    VBScript - Control //NOLOGO from within script?

    I'd like the ability to switch off the stupid logo from within my scripts just for their own execution. Having to tell people to do //nologo is lame and I am not going to go around to all my servers or someone else's servers to do cscript //nologo //s on all of them. Is there a way to switch...
  2. humbletech99

    VBScript - Correlating remote file usage with remote session

    I have some VBScript which can query the remote sessions on a server to tell me what users are connected from which computers (like net session). It can also tell me which users are using which files (like net file). The problem is, I'm not sure how to correlate the two so that I can show which...
  3. humbletech99

    VBScript - String Formatting (output in to columns)

    I notice there are doesn't seem to be any proper string formatting in VBScript in order to specify how output strings should come out. I am trying to align output into clear columns, regardless of the length of the various column inputs. Hence I need a way of stating that a column should be X...
  4. humbletech99

    Volume Shadow Copy Service Starting/Stopping

    Does the Volume Shadow Copy Service that comes with Windows Server 2003 only start and come in to the running state in service control when it is actually taking a snapshot? I have been googling and reading articles but they tend to all just tell me the basics of how to use it or the...
  5. humbletech99

    VBScript - Trapping Control-C

    I have some vbscript running in the cscript host for which I would like to trap and handle any Control-C event. Anyone know how to do this?
  6. humbletech99

    XP Pro - Using Keyboard Shortcuts sometimes hangs ~20 secs

    When using keyboard shortcuts to open programs via the shortcut key that you can set on a .lnk to that program, I find that my workstation can sometimes hang for around 15-20 seconds. Most of the time, the shortcuts work fine, but then every now and again using one will just cause everything to...
  7. humbletech99

    Remotely Restarting a Service Reliably

    I need to be able to reliably and remotely restart a service from cmd/batch. So far I have been doing sc \\server stop servicename sc \\server start servicename But because of a timing issue this invariably leaves the service as just stopped. So I introduced a time wait between the two...
  8. humbletech99

    On Error Resume Next not working on GetObject WMI

    I have a script with the following code block: ... Err.Clear On Error Resume Next Set objWMIService = GetObject("winmgmts:\\" & strServer & "\root\CIMV2") If Err.Number Then <QUIT GRACEFULLY> End If ... However, when I run it where strServer = nonExistantMachine I get a complete lack of...
  9. humbletech99

    VBScript - Select Case for 2 of the same options?

    I have got a select case statement in which I need two or more options to be mapped to the same action, something like Select Case strOption Case "abc" or "hjk" do something Case "xyz" or "sdf" do something else Case Else do last resort. End Select I really...
  10. humbletech99

    Timeout a VBScript?

    Is there a way to set a maximum time on execution of a vbscript from within the vbscript itself? Eg. in some languages you can set an alarm function near the beginning which terminates the script with a custom message if execution of the rest of the script takes longer than X seconds. This...
  11. humbletech99

    Skipping current iteration of a VBScript For Loop

    Is there a VBScript equivalent of "Continue" within a For Loop? I need to skip only 1 iteration.
  12. humbletech99

    VBScript Argument --help

    I have written some VBScript in wsf and am looking for a good way to handling the arguments. I know that the XML named arguments can be a little helpful, really just for free help usage, but I don't want the program to just be able to handle /h and /help but also unix style arguments like -h and...
  13. humbletech99

    Server unable to &quot;net send&quot; any machine

    I have a server that is not able to "net send" any machine. It is running Windows 2003 server and has the messenger service disabled so that it does not receive any incoming "net send" messages. However there is another server that also has the messenger service disabled and can net send out...
  14. humbletech99

    2 out of 4 password complexity requirements?

    I have a Windows 2003 Active Directory domain and am trying to increase the password complexity requirements. However, it seems as though the password complexity requirements are an all or nothing setting. Either I can choose to have no password complexity enforced or users must use 3 out of...
  15. humbletech99

    Removing LM hashes from Windows 2003 Active Directory?

    I have a Windows 2003 Active Directory domain and want a way of deleting all existing LM hashes from the AD database. I know there is a gpo settings to stop Active Directory from creating LM hashes, but this doesn't deal with the ones that already exist. Does anyone know if/how to remove all...
  16. humbletech99

    User Collaboration on Files/Procs/Locking/Session Sharing

    I have users who constantly run in to file sharing problems where one person is holding open a file they need to use which results in support calls to find the person and possibly terminate their process to release the file. This kind of thing lends users to actually sharing sessions so that if...
  17. humbletech99

    Find users logged on with Terminal Server sessions?

    I am trying to find a way to enumerate all the logged on users on Windows systems. I have used WMI to find the local user session if there is one on any windows machine, but I also want to find any users logged on via Terminal sessions on Windows 2003 Terminal Servers. I have also used WMI...
  18. humbletech99

    net send * and net send across subnets

    Where I work people tend to use windows messenger service alerts or "net send" for quick messages which is very useful. One very useful thing is to do net send * somemessage to send messages to everyone. However, this only sends it to all the machines on the same subnet. People in branch offices...
  19. humbletech99

    Restricting Access to Shares by Machine as well as User?

    I have Windows 2003 servers in an Active Directory 2003 domain on I currently restrict access to shares by group memberships. I want to know if it is also possible to restrict access to shares such that an authorized user can only access the share from a designated machine as well? My first...
  20. humbletech99

    Lost share handles?

    I am having a user with a problem accessing a file over a windows share to a server. He has the file open in Excel and is using it, leaves Excel open for some considerable amount of time and then when he goes to do some more work and save it he gets an error about lost writes. The Yellow popup...

Part and Inventory Search

Back
Top