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

  1. wchull

    How do I resolve this permissions error in my script?

    Back in 2018 I wrote a vbscript to start a service if the service was stopped. Back then I had this run as a scheduled task at specific time but decided to remove if from scheduler and run it manually if I ever needed it. I'm switching computers and tried this script out on my old Windows 10...
  2. wchull

    VBScript / HTA - Drop Down Menu in form

    Well, Let's see if we can't get you at least started in the right direction. First off let me suggest that if you place your data in a text file for easy editing and the fact that text files are easy to deal with in VBScript. Since your data fields are all related to each other I would...
  3. wchull

    Windows Script to Change IP and shutdown multiple computers

    Here's something to take a look at: http://blogs.technet.com/b/heyscriptingguy/archive/2006/03/29/how-can-i-change-the-ip-address-assigned-to-a-computer.aspx There's a link in this article that takes you to another page that covers some more stuff.
  4. wchull

    HTA: Wait for event before continuing script

    Like VulcanJedi I'm not sure what your wanting. With HTA's subroutines provide the control you're wanting automatically. If your just imputing data and you're not validating the data then you tab to the next field and the HTA will simply for you to input data. Using specific subroutines you...
  5. wchull

    Read checkbox values from web page

    Well, it's a bit hard to tell you the best way to do this without seeing the hta but..... HTA's can include vbscript code inside the HTA itself as you're probably aware. Since you cannot use an onchange event because you have to wait until multiple boxes are checked you need to have a button...
  6. wchull

    VBS Script to Install Telnet

    The first question that should be answered is why are you messing with a CMD file and executing it from a vbscript? PKGMGR is a command line utility that can be directly invoked using the wshShell.Run command directly within your script. Using the parameters of the wshShell.run command you can...
  7. wchull

    VBScript help - shared drive mapping

    Here's some code to look at. We had a situation where we wanted drives to be persistent as long as they met certain criteria but as soon as the criteria changed, we needed to change the mapping to a different persistent path. We first used some code to fetch the persistent network drives that...
  8. wchull

    vb to silently call batch is not working

    Granted you can invoke a batch program from a VBScript but why? Seems to me that you would be better off to re-write the batch program in VBScript and that way the batch program will not open a window.
  9. wchull

    Login script

    Your first question dealt with determining which OS is running on the PC but the code you have in your subsequent thread was specific to Windows 7. Is this really the case that only Windows 7 machines have PowerPoint or can PowerPoint exist on an XP machine? If PowerPoint is only on Windows 7...
  10. wchull

    VBS - Login script to map drive with multuple NICs.

    There's a lot that I can recommend to you as far as "better coding" goes. Here are a few pointers: Use an Option Explicit statement in your code. By specifying an option Explicit your program will automatically error out if a variable used in the program is not defined or is misspelled. Use...
  11. wchull

    Login script

    Since your need is limited to Windows XP and Win7 this should do the trick. The thing you are wanting to do is determine, when the program is executed, which OS is running. Fortunately, Windows plugs an OS value into the registry at run time so all you really need to read the value that's...
  12. wchull

    How to eliminate Event code 3036 warning

    Linney. To make a long story short I tried drilling down into the CSC folder and in the only subfolder in CSC I was denied access but when I looked at the security it said that there wasn't even an owner of the folder so I took ownership. I then drilled down into that folder and found 2 more...
  13. wchull

    How to eliminate Event code 3036 warning

    I'm still a bit perplexed by the event and perhaps someone can shed more light on this. From what I gather if you do want to work on off-line files then a copy of the file would be stored somewhere on my PC which I assume to be the C:\Windows\CSC folder and the way I had it set up before the...
  14. wchull

    How to eliminate Event code 3036 warning

    Linney, Thanks for the reply. The link to the article you send me was not exactly my problem but I'm making a bit of headway. on another post I have out there someone indicated that the CSC in content source line means "client side cache" and that if I were to disable indexing of the offline...
  15. wchull

    How to eliminate Event code 3036 warning

    My Windows 7-64-bit machine is reporting an event 3036 warning each time the WSearch service is started. Although benign, I would like to be able to fix this issue. I have searched the internet for a solution and have come up empty handed Here are the details: Event type: Application...
  16. wchull

    Help needed on cross-domain group nesting

    Can anyone share any VBScript code that would allow you go do group nesting in a cross-domain environment? We want to take some global groups in our production environment and nest them inside "domain local" groups in our deveopment domain. A one way trust already exists between the two...
  17. wchull

    Configuring DNS to use WINS with DNSCMD

    Got an answer from another site so I'm posting the solution here too. To delete existing WINS records use: dnscmd servername /recorddelete zonename @ WINS /f You can leave /f switch out and you will be prompted to delete each record separately. To create WINS records use: dnscmd servername...
  18. wchull

    Configuring DNS to use WINS with DNSCMD

    We have a primary zone setup in our Microsoft Windows 2003 DNS that is is configured to use WINS to resolve names not found by querying the DNS namespace. To configure this with the MMC we select the zone properties, select the WINS tab and check the "Use WINS forward lookup", ckeck the "do not...
  19. wchull

    What version of IE is part of the default install?

    We do not have any servers running version of Windows Server 2008. Can anyone tell me the high level version (IE7 or IE8) that is the default version of IE that gets installed in the various flavors of Windows Server 2008? Thanks.
  20. wchull

    What version of IE is installed with Windows Server 2008?

    We have not installed Windows server 2008 in our environment yet but someone in our organizaiton has asked us what version of IE is installed with Server 2008? Can someone out there please provide me with the infor or 2008 and 2008 R2. Thanks.

Part and Inventory Search

Back
Top