General discussion

Locked

Installing Apps Through Login Script

By microcephalic ·
Ok, I have been working on a solution to this for two days, but to no avail...

I need to find a way to install applications through a login script using the tools my company has currently provided me with. The tools consist of the use of WSHand the W2k and NT4 resource kits. The problem I am running into is not a new one... It happens when a user logs in to the network, the login script runs and denies them permission to install the desired application(in this case a hotfix and a patch). This would of course require admin-like priviledges to their system, which neither the user nor the script have at the time of logon. SMS would probably solve all my problems right now, but unfortunately it will be months before my company willactually impliment it on our network. By the way, our network environment currently consists of 6 NT 4.0 servers, about 90 NT 4.0 workstations and about 35 Win 2000 professional machines.

I have looked into several solutions, including the use of the su (switch user in nt resource kit), runas (Win2k util), the at command and regini(to give the login script/user rights to the particular registry key).

My question is: Has anyone here been through this before and if so, what did you do tosolve the problem, or how did you get around the issue?

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Installing Apps Through Login Script

by Joseph Moore In reply to Installing Apps Through L ...

Yes, you can install programs from a login script. The key, though, is to run these installs under an Administrative context.
And since you were looking at SU.exe and RUNAS.exe, you know that you can't specify a password for these programs. They both prompt you for the password for the user account you want them to run under.
The secret is a 3rd party tool called Tqcrunas.
http://www.quimeras.com/TqcRunAs/tqcrunas.htm
This tool will let you specify a user name AND password in a login script line.
Please read this Techrepublic.com article on the subject:
http://www.techrepublic.com/article.jhtml?id=r00220020826rgi01.htm
(please remove any spaces in links)

hope this helps

Collapse -

Installing Apps Through Login Script

by microcephalic In reply to Installing Apps Through L ...

The question was auto-closed by TechRepublic

Collapse -

Installing Apps Through Login Script

by steve.timmons In reply to Installing Apps Through L ...

Batch the runas.exe portion of your install script and put this script into an AutoIT script file and compile it as an executable. This way users won't get the admin password.

AutoIT!

Collapse -

Installing Apps Through Login Script

by microcephalic In reply to Installing Apps Through L ...

The question was auto-closed by TechRepublic

Collapse -

Installing Apps Through Login Script

by <--DaVoR--> In reply to Installing Apps Through L ...

... or try this:

Go to the organisation unit policy's--> Software settings--> software installation. Here you can add .MSI-install-files and configure them on PC/User basis to install themselves automaticaly on bootup. Because of the MSI its veryeasy to administer the installations.

Good Luck.

Collapse -

Installing Apps Through Login Script

by microcephalic In reply to Installing Apps Through L ...

The question was auto-closed by TechRepublic

Collapse -

Installing Apps Through Login Script

by microcephalic In reply to Installing Apps Through L ...

This question was auto closed due to inactivity

Back to Networks Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums