I am trying to write a Visual basic Script to export multiple registry keys and append them all to one .reg file.
For example, I want to export the following entries;
HKEY_CURRENT_USER\Netw...
I am trying to setup a file transfer between two windows boxes. It looks like SFTP is the right solution.
I installed the OPENSSH server on machine "A". I setup the users that I want. Then I ...
I need to associate .tif and .mdi files with Microsoft Office Document Imaging on over 1300 XP clients.
Can I do this with vbscript rather than manually per the below KB article???
http:...
Hi All,
Can anyone explain why when I put this code (found on another post) into my page, nothing happens?
<script language="VBScript">
Set oNetwork = CreateObject("WScript.Network")
s...
Hi All
Is there a way in VBS to add an outlook rule for a User?
I like vbs because It can use envirometal variables to get user information which would be perfect for building my script. If ...
Folks - I have a vbs script that references a txt file called computers.txt and any computer names it finds in the file it shuts them down automatically. Problem is I want the persons using th...
Hello,
I'm trying to make an hta that will unlock a users account using joeware's unlock tool. It's an EXE that you run in cmd and give it an attribute. "Unlock.exe unlock . username"
I ...
Hi there , I managed after much rummaging on the Net to find the attached vb script . I have tried to add a filter to exclude computer a/c s to no avail ; the script runs , finds the targeted ...
I would like to be able to close an open file on a remote server. I know the name of the file and would like to close it programmatically in either VBS or VB6. I have been trying using the cod...
I'm looking for a way to write a batch or vbscript to restart iis remotely. This script is inserted into my backup command script that runs batch or vbscript type commands. The problem this ...
Hello Experts,
I would like a vbscript to retrive a RegestryKey values from Domain computers (I will CSVDE a list) and write the results to a logfile which can then have a File Compare run ...
I need a script that will delete two printers on each workstation. One of the printers is a local printer named PIK 7000. With this, I also need it's associated custom port deleted which is na...
Hello Experts,
Following a project I'm working on now, i'm trying to think of an automated process to remove a user from one domain and re-join him to another domain, i'm thinking of having 2...
Hello All,
We have some scheduled tasks that point at vb scripts (.vbs files), and a few months ago they stopped running when the user they run as was not logged in. They worked fine befor...
Need create a vbScript to change the REG_DWORD to 1 on the following
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Access\Security
Thanks
I am trying to attach a file when I send an email. The email sends fine unless I add the attachment line, then it breaks. All of the examples I've seen require a hard path except the line I ...
Hi,
I need to make a script in VBS able to find the last login time of any user in a workstation, i-e the last time a session has been open, anyway if it is a local user or a domain user (s...
Hello All:
I need some help here. I am new to Active Directory concept but have some basic knowledge in VBScript. I need a VBScript to update the LDAP Active Directory file which contain...
Hi,
I have script that runs through a folder and changes the names of msg files in the folder. I would like to change the text color of the name after the change to mark what have been rena...
I have a script that works pefectly for cleaning up all users on remote PC's located in the local administrators group. At least on all the test PC's(which are in the domain). When I run the...
I'm need to know how to programatically connect to a specific VPN connection. This will be used ina VBA application. The VPN connection will be named the same on all user machines. I need to ...
HI, I would just like to ask for a vbscript code to check if the directory is empty.. if it is not empty it will execute a specific program.
The mathematical operators are easy to use and everybody knows:
$a=10
$b=1
$a + $b = 11
$a - $b = 9
However, if variables are strings rather than numbers, sometimes is confusing.....
The little VBS script below works like a charm for finding a remote workstation and listing the user that is logged on.
strComputer=InputBox("What is your computer name? ie WSCI320CXXX:")
...
I am writing a vbscript that I need to query SQL Server 2000, the results of the query will be used to query/update AD. I'm having trouble figuring out the best way to do this. I have the SQ...