Advertisement

11.20.2007 at 01:20PM PST, ID: 22973943
[x]
Attachment Details

Logon Script

Asked by stevenvanheerden in Active Directory, Windows 2003 Server, VB Script

Tags: , , ,

Hi
I currently have a Windows 2003 SBE Server, Domain Controller
My client want me to put a logon script for the users on the server for when they log onto the domain, it checks a certain directory for an updated version of rd party software they are using.
The software gets upgraded every month. What we want to do is to copy the new version in the directory and when they log onto the domain, it installs the new version automatically on the client.
Is this possible and is there any way that I can implement this with a VB Script?
I do have a script running which I got from someone a while ago, but it only maps drives and assigns a default network printer
I have attached a copy
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
Set wshNetwork = CreateObject("WScript.Network")
rem wshNetwork.MapNetworkDrive "p:", "\\server\Profiles"
Set ADSysInfo = CreateObject("ADSystemInfo")
Set CurrentUser = GetObject("LDAP://" & ADSysInfo.UserName)
rem strGroups = LCase(Join(CurrentUser.MemberOf))
wshNetwork.MapNetworkDrive "L:", "\\server\Profiles"
wshNetwork.MapNetworkDrive "M:", "\\server\MPS"
wshNetwork.MapNetworkDrive "P:", "\\server\PastelData"
wshNetwork.MapNetworkDrive "S:", "\\server\Share"
wshNetwork.MapNetworkDrive "Z:", "\\server\Pastel07"
wshNetwork.MapNetworkDrive "X:", "\\server\Payroll"
wshNetwork.AddWindowsPrinterConnection "\\server\Sharp206"
wshNetWork.SetDefaultPrinter "\\server\Sharp206"
[+][-]11.20.2007 at 04:33PM PST, ID: 20324625

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Active Directory, Windows 2003 Server, VB Script
Tags: script, 2003, server, logon
Sign Up Now!
Solution Provided By: victornegri
Participating Experts: 4
Solution Grade: A
 
 
[+][-]11.20.2007 at 04:54PM PST, ID: 20324718

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11.20.2007 at 06:35PM PST, ID: 20325094

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.20.2008 at 05:30PM PST, ID: 20944133

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628