• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1370
  • Last Modified:

Very Simple,: I need Logon Script to run Outlook upon client network logon

I am newbie at logon scripts.
Please walk me through this one.
I want Outlook 2007 to startup automatically on each client users computer upon logon to the domain.
how do I do this?  Is this set up per computer, or per user, or via the SBS 2003 centrally?
I have SBS 2003 and Vista Business on the clients.
0
adamfh
Asked:
adamfh
3 Solutions
 
lamaslanyCommented:
You should be able to do this via a Group Policy.

There is a bit of faffing around for Vista clients - are you familiar with Group Policies and/or specific to Vista clients?
0
 
Mark DamenERP System ManagerCommented:
Hi

The script I have copied below will work for version 2007 of office.  If you have a different version, then change the OFFICE12 bit of the path to be the relevant number.

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "c:\progra~1\MICROS~2\Office12\outlook.exe"

This can be saved as a .vbs file on its own, or you could integrate this into an existing script that runs.  If you are running SBS 2003, the default script that all users run is called SBS_LOGIN_SCRIPT.bat or something like that.  In that situation, I would copy the two lines above into a notepad file called "startoutlook.vbs" and add this as a line in your SBS_LOGIN_SCRIPT.bat file.  That way, the SBS script runs and then calls this script at the end.  Make sure you place the script in the same folder as the SBS login script. (\\servername\sysvol\domain.local\scripts
0
 
McKnifeCommented:
Have a look at the following at your DC: GPO - User config - adm. templates - system - logon/logoff - run these programms at logon
This is meant for your purpose.
0
 
Bert2005Commented:
Hi Adam,

You can do the same thing on an individual workstation with Run > mmc > File > Add snap-in > Add > Group Policy Object...etc. etc.

But, McKnife is dead on -- it is much simpler and will change all of the PCs from the server. I would definitely go that route.

Alternatively, from the registry:

HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer -- then add the Key, "Run" and the a string value named "1.' Enter Outlook as the value.
0
 
adamfhAuthor Commented:
McKnife,
your solution is the most comprehensive and also the easiest to implement.  Although it's not quite the question I asked, it gets to the point in the best and easiest manner.  So thanks!

Bert and Markusdamenus had helpful inputs as well, so I'll share the points.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now