Solved

Windows 2k Script to start a program.

Posted on 2007-03-28
6
205 Views
Last Modified: 2010-05-18
Hello All,

I would like to create a startup for a Win2k machine that will start multiple programs for me (without having to login, if at all possible).  One of the programs the script will start, requires access to a specific spreadsheet.  The program gets the location and opens the file from user interaction.  Through scripting, is it possible to provide the program with the location of the excel file then have it open it as if the user was sitting right there?

Lastly, I have no experience creating a startup script for any Windows platform.  If telling the program to locate and open an excel workbook is too much, I'd at least like to learn how to start a program through scripting.

Thanks Experts!!!
0
Comment
Question by:neelyjer
6 Comments
 
LVL 63

Accepted Solution

by:
SysExpert earned 250 total points
ID: 18809858
1) Difficult to script without a user login
2) All that may be needed is to put the excel file shortcut in the startup folder, or put in a batch file to run the Excel program with the path to the XLS file as a parameter.

You might want to ask this in the MSDOS TA since they do a lot of scripting tere.

I hope this helps !
0
 
LVL 29

Expert Comment

by:Alan Huseyin Kayahan
ID: 18809975
           Only services run in background without having to login. If the software has the capabilty, you should install it as a service.
0
 

Author Comment

by:neelyjer
ID: 18810178
Understood.  How then would I create a script to start up the required program upon successful login?  Again, I have done no scripting before.  I need to know how to create the script and how to make sure it intializes on login.  Secondary to creating the script.  Can I implement the script for any user that successfully logs in to the workstation?

Thanks Guys!!
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Assisted Solution

by:jonesbrandon
jonesbrandon earned 250 total points
ID: 18810239
Open my computer and browse to c:\documents and settings\all users\start meny\programs\startup

Drag a shourtcut to the file that you want to open when users login.  Since it is in the all users folder, any new users that are created will get the file when they login.
0
 

Author Comment

by:neelyjer
ID: 18811918
jones,

I'll try this option out and get back to you.  If this works I will split the points between you and SysExpert as this is essentially what he suggested.  You provided the steps.

Thanks!
0
 

Author Comment

by:neelyjer
ID: 18899242
Sorry for the major delay guys.  I've been super busy at work.  Anyway, it looks like the options provided above is working.  Thanks jonesbrandon & SysExpert.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question