Hi,
I've been working on a script that reads the contents of a .REG file and converts it to entire key's so it can check the keys agains the registry.
there's just one bug in it: it will fail on DWORD value's even if there correct.
'Constants...
Hi,
I've cleared out my design and started testing each part individually. This payed off, because I'm allmost there! :)
This is the current script:
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Set objFSO = CreateObject("Scripting.FileSystemObject")
strFile = "U:\test.reg"...
Hi,
I've had a little change in tactic, but I've allmost got it now:
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Set objFSO = CreateObject("Scripting.FileSystemObject")
strFile = "U:\test.reg"
If objFSO.FileExists(strFile) Then
Set objFile = objFSO.GetFile(strFile)
Set filetxt...
true, but it does limit the flexibility.
I've started looking into Regular Expressions, which looks like the way to go.
what I'm not getting yet though, is how can I match a string between two characters? so for example, everything between ] and [?
regards,
jeroen
well, I do know what reg keys need to be checked, but because there are several reg files that should be imported during installation, and I would like to keep the script flexible, it would be more suitable to read .reg files and scan accordingly, than to read the .reg files myself and put in an...
No, my primary goal is to check if the server has all the correct registry keys. the servers are RISsed on a regular basis (terminal servers) and I would like to check if all installations happen correctly.
regards,
jeroen
well, I have this script that checks a server to see if an installation is done correctly (which is also done by a script). Since several applications are installed with added .reg files, I would like to check it like this, so I won't have to put all the loose registry entries in the check...
Hi,
I'm trying to write a script that reads .reg file and can compare it to the registry to see if there's a match.
I've got the registry checking part all done in another script, so in this one, I'm looking for reading the .reg file and creating strings that I can use in the regchecking...
Hi,
We use a couple of scripts that install several applications, copy's files, set registry settings, and so on... Now I'm working on a script that checks to see if the server installed ok. One of the parts that I would like to check is a comparison of a local directory and a network folder...
Thanks for the response.
Scottew, I've tried this, but I'm getting 500 error messages as soon as I restrict the logons. Our OWA server is also DC, so maybe this could have something to do with it. I am trying to convince them it is not a good idea to run exchange on a DC, but it was like this...
Hi,
I've been asked to setup a couple of user accounts that should only
have webmail access. So they aren't allowed to logon to any
workstation or server.
Then the mails that these accounts receive should be deleted after one
month.
Is this possible and if so, how?
regards,
Jeroen
Hi,
I'm totally new to VB, so forgive me for any "stupid" questions. First I would like to know where I could find a good tutorial? but until I found one I would like to know the following:
Is it possible to create a script that reads 2 cells from a row containing two dates and have the script...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.