TSMJ
MIS
- Nov 27, 2002
- 83
Hi
Can someone tell me how to set the homepage of 2K pro workstations when they log on using a script (preferably VBS)? I have got the following code (which works perfectly by itself, but when I put it in with the other logon scripts on the server and add it in the group policy (leaving parameters blank, I might add) it malfunctions on the workstation. When a user logs on, an IE window opens up and looks for the URL " not setting the homepage at all.
Heres the code: (192.168.0.1 is the webserver)
'vb script to create homepage
Option Explicit
Dim WSHShell, RegKey
Set WSHShell = CreateObject("WScript.Shell"
RegKey = "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\"
WSHShell.RegWrite regkey & "Start page", "
So - can anyone give me some advice? The script is not in the NETLOGON dir, but neither are any of the other scripts we run.
Cheers guys!
Can someone tell me how to set the homepage of 2K pro workstations when they log on using a script (preferably VBS)? I have got the following code (which works perfectly by itself, but when I put it in with the other logon scripts on the server and add it in the group policy (leaving parameters blank, I might add) it malfunctions on the workstation. When a user logs on, an IE window opens up and looks for the URL " not setting the homepage at all.
Heres the code: (192.168.0.1 is the webserver)
'vb script to create homepage
Option Explicit
Dim WSHShell, RegKey
Set WSHShell = CreateObject("WScript.Shell"
RegKey = "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\"
WSHShell.RegWrite regkey & "Start page", "
So - can anyone give me some advice? The script is not in the NETLOGON dir, but neither are any of the other scripts we run.
Cheers guys!