0
votes
1answer
162 views

NINite Integration, vbs script,copy file from server and replace existing

Lets forget about everything besides mapping a drive and running NINite. So here is what I have done. I have changed the task sequence to look like this: ...
1
vote
0answers
195 views

WinHTTP module not found (HRESULT 0x8007007e)

I've got a customer that gets a module not found error (0x8007007e) when running a vbscript at this line of code: set test = CreateObject("WinHttp.WinHttpRequest.5.1") The system is Windows 7 ...
0
votes
1answer
517 views

2 VB Scripts one to remove Default Gateway and one to add a Default Gateway

I have a client with a bunch of children using about 30 machines on a regular basis. All machines that the children user are set with Static IP Addresses. The machines that the kids use, I would ...
0
votes
0answers
856 views

VB Script SetDWORDValue via WMI is not working in Windows 7

I'm trying to get this particular segment of vbscript to work on Windows 7 and it's just not doing it. No errors or anything. const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set ...
1
vote
2answers
3k views

Windows 7 logon scripts — set default printer

I have been tasked with troubleshooting a logon script at a client site that among other things sets the default printer. The logon script is vbscript with the printer being set using Set ...
1
vote
1answer
641 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, ...
5
votes
5answers
29k views

Why won't my logon scripts map drives under Windows 7?

Why won't my logon scripts map drives under Windows 7? I'm using a vb script similar to the one below, the script runs using a group policy. Dim WshNetwork Set WshNetwork = ...