#103618 - 2003-08-11 01:55 PM
introduction
|
drathgar
Fresh Scripter
Registered: 2003-08-09
Posts: 13
|
Hi I am somewhat new to KixTart, was forced into learning it at work. The person who created our logon scripts separated from the military and no one else knew how they worked. I was automatically made the scripting Guru.. With all that being said, Is there a way to run a script as the administrator? Main goal being to load patches and servicepacks, without having the administrator, or someone in the admin group having to be logged on?
Thanks in advance for the help and nice meeting everyone
|
|
Top
|
|
|
|
#103619 - 2003-08-11 02:15 PM
Re: introduction
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Please read this link in our handy-dandy "KiXtart FAQ & How To's" forum: Installing an Application as an Admin [ 11. August 2003, 14:16: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#103620 - 2003-08-11 02:16 PM
Re: introduction
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
You work for the military and was forced into learning Kixtart were you ? That must not have been pretty
Yes, we use the SU service to run as local admin on the workstation (from the login script) ... do you have the SUSS service installed on your workstatations ? Runs something like this:
SETL "SU_PASSWORD=Password"
CD "C:\SU"
SHELL 'SU.EXE Administrator "C:\WINNT\SYSTEM32\CMD.EXE /C C:\INSTALL.BAT"'
Something like that anyways ... I was forced to learn Kixtart too. They tied me to a stick and glued my eyes open and made me recite the KIXTART.CHM ...
|
|
Top
|
|
|
|
#103621 - 2003-08-11 02:29 PM
Re: introduction
|
drathgar
Fresh Scripter
Registered: 2003-08-09
Posts: 13
|
Yeah, that was done to me too. The tied to a stick part anyway. Noone else knows of the KixTart.chm, or I am sure they would have made me do that too. I have gotten patches and even pushed ServicePack 3 to 2000 machines and Servicepack 1a to XP machines...but it wasn't pretty!! Thanks for the info on the SU Service. It will come in handy in a couple of months, when I get back to my base.
John
|
|
Top
|
|
|
|
#103623 - 2003-08-11 02:36 PM
Re: introduction
|
drathgar
Fresh Scripter
Registered: 2003-08-09
Posts: 13
|
Sorry everyone I was putting the wrong EmPHASSes on the wrong SYLLable....KiXtart!!!! How would I go about using the Admin script with Task Scheduler??
John
|
|
Top
|
|
|
|
#103627 - 2003-08-11 05:15 PM
Re: introduction
|
drathgar
Fresh Scripter
Registered: 2003-08-09
Posts: 13
|
yeah he works as a civilian contractor for a different base. Working for the military and making lots of money....strange. We call him lots but he is not very helpful with his answers.
|
|
Top
|
|
|
|
#103630 - 2003-08-12 02:23 PM
Re: introduction
|
drathgar
Fresh Scripter
Registered: 2003-08-09
Posts: 13
|
---that is his way making sure you don't get answers on silver platter and perhaps you will at some point stop calling him as you have learned on your own...---
It would have been nice of him to SHOW something to me though. He just up and left, disobeying the boss, and not showing anyone the scripts.
John
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(Allen)
and 1198 anonymous users online.
|
|
|