0
votes
1answer
309 views

Alternative to WMI for querying shared printers

I have an environment with several hundred computers. I am trying to write vBscript that runs and adds the appropriate printer. The printer names can be determined using clues about the computer ...
0
votes
1answer
173 views

How Can I Open and Print a Word Document Using a VBScript Called From the Web?

The university I work for allows students to register their bikes for indoor storage during the winter. This is done through a website. At the end of the process, a DYMO label printer connected to the ...
0
votes
1answer
242 views

Script to Uninstall MS Updates by Date

I'm in a situation where I need to uninstall all windows updates before a certain date to troubleshoot a strange bug. I found several vb/ps scripts to do this remove single update However I'm ...
2
votes
1answer
394 views

How does the “Last Result” column of Scheduled Tasks in Windows Server 2003 get set from a process or script?

The Last Result column of the Scheduled Tasks Window on Windows Server 2003, displays the result of the execution of the .exe, .vbs, .ps1, .bat, .cmd, etc... that has been run at the scheduled time. ...
1
vote
1answer
330 views

VBScript for Uninstall not finding anything

I started using a standard uninstall script, and it wasn't working, so I decided to see if it was even finding any progams at all, and it seems it isn't. It works on Windows 7 but not on the other ...
1
vote
1answer
200 views

Use vbscript to set local user's terminal services startup environment

If I was in AD, the parameters would look like: objUser.ConnectClientDrivesAtLogon = Enabled objUser.ConnectClientPrintersAtLogon = Enabled objUser.DefaultToMainPrinter = Enabled ...
0
votes
1answer
287 views

VB Scripting for counting the client connection

I want to Count the number of client connection connected to a shared folder using vbscript. I can use any service but not WMIservice.
1
vote
0answers
493 views

Constant permission denied error on VBS script

The file is created and copied to the network share but I need this to run without errors as I need to push out to users quietly. Permissions have been set to full everyone. No errors when copy to ...
0
votes
1answer
505 views

Discover network drives users have manually mapped via remote script

I am trying to write a script that will pull computer names from a text file, then query the remote registrys for any subkeys under hkey_users\SID\network. Then translate the SIDs into the username ...
1
vote
2answers
144 views

Reboot Exchange Server with One time use account or script

Not sure if this is the best way to achieve this but here is the background and the goal. BACKGROUND We are a small business. Sometimes myself or the other person who is capable of dealing with an ...
0
votes
4answers
494 views

Writing all running services to a .csv file with WS2003

I want to list all the current running services and output it to a .csv file. Does anyone know how to do this?
1
vote
2answers
371 views

Script to check hostname and move to appropriate OU

Is it possible to create a "universal" script that checks the first three alphabets of a hostname and moves the host into the appropriate OU? E.g. A hostname that begins with TKYxxxxx is a host in ...
1
vote
1answer
771 views

Enumerating and mapping network drives (Windows 7 Pro/Windows Server 2003)

I had a working script for Windows XP clients, distributed via group policy from Windows Server 2003 PDC. This is the main part of the script: Function ggMapNetworkDrive(fDriveLetter, fShareName, ...
0
votes
3answers
1k views

script to change drive mapping

I plan on retiring an old file server. I noticed some of my users have mapped about 10-15 "Mapped Network Drive" to this server. Is there a script I can use to change the server name in the ...
2
votes
1answer
2k views

Registry read permissions (scripting) on Windows Server 2003

Executing the following VBScript on our Windows Server 2003 Set p_shell = CreateObject("WScript.Shell") p_shell.RegRead("HKEY_USERS\S-1-5-19\") yields the following error C:\Documents and ...
0
votes
1answer
1k views

Networkmapping script (VBS) Vista doesn't work, XP does

I've got a weird problem, (like always :p ) Okay: Situation: Windows 2003 domain with XP clients. With a GPO I'm running a VBS script on login to map a few drives. This works great on XP, but not on ...
2
votes
2answers
4k views

logon.vbs script is not mapping network drives

I am new to creating a vbs script to map network drives in windows. For some reason, the script runs, but does not map any network drives when a user logs on to the domain. Here is the script I am ...
0
votes
1answer
95 views

Transfer files without destination access

HI All, I have a issue where I want to create a script (VB or Batch file) that when a user runs the script it will copy files from Folder1 to Folder2. Here's the rub. I don't want the users to have ...
1
vote
1answer
684 views

query 2003 dhcp leases

Can I query my windows 2003 dhcp server from my windows xp in order to get the ip address if i have the mac address or otherwise.