Page 1 of 1 1
Topic Options
#49330 - 2000-03-28 03:13 PM Logon Scripts
Anonymous
Unregistered


Sorry to keep filling up the board with questions, but can anyone tell me if logon scripts run with admin rights?
Top
#49331 - 2000-03-28 05:27 PM Re: Logon Scripts
Anonymous
Unregistered


No, they run with the rights of the user logging on.

Note of Caution:
Windows 95/98 registry is not available to the user until after the login script is processed.

Hope this helps.

------------------
David Gray
IT Professional
Brisbane Australia

Top
#49332 - 2000-03-28 06:02 PM Re: Logon Scripts
Anonymous
Unregistered


Thanks. That took the wind right out of my sails.
Top
#49333 - 2000-03-29 08:25 AM Re: Logon Scripts
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
are you sure about the reg not available for 95/98 users until after login?

I have used the hklm\software\microsoft\windows\curretnviersi\runonce reg key hundreds of times on 9x computers.

Bryce

Top
#49334 - 2000-03-29 09:38 AM Re: Logon Scripts
Anonymous
Unregistered


Is there anyway around the rights issue? Kind of like the way the policies work? I'm stuck in a catch 22 here. I have a script that sets up a service to let another maleable script run at startup with admin rights. I can't seem to find a way in though.
Top
#49335 - 2000-03-29 11:51 AM Re: Logon Scripts
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Since kix runs with the local users security rights this might cause a problem.

BUT!

I am working on a way of using SU.exe from the NT resource kix to try and see if there isn't a way around this. the only problem i can see is that you have the potential of having powerful account name/password sitting in a text file that anyone can read.....


Bryce

Top
#49336 - 2000-03-30 12:37 AM Re: Logon Scripts
Anonymous
Unregistered


I have thought of that, but the thing is, it only needs to be up there long enough to install the service on everyone's workstation, and from then on the password will be ***** out in the services section, and we're home free!
Top
#49337 - 2000-03-29 07:37 PM Re: Logon Scripts
Anonymous
Unregistered


Bryce,

I'm ten hours different so sorry for the delay in reply.

HKCU is not available until after login,
HKLM is available.

------------------
David Gray
IT Professional
Brisbane Australia

Top
#49338 - 2000-03-29 10:57 PM Re: Logon Scripts
Anonymous
Unregistered


Bryce,
I just about have the SU.exe script done (that's where my password post came from). A few more add on's, and we're golden. The script is alot to post, so if you want a copy send me an email. Anyone else who wants it can email me to. For the record, that's why I love this board, it's one of the few places left on the net where the info runs free!

------------------
--------------------------------------------------
Randy Watson
PC Consultant I
University of Pittsburgh Medical Center

Top
#49339 - 2000-03-30 03:49 AM Re: Logon Scripts
Anonymous
Unregistered


Can you E-Mail me a copy of your Script ?

Thanx in Advance.

------------------
Lon Geefshuysen (one of the Moderators)
Microsoft Certified Systems Engineer

Senior ICT Engineer
kixtart.to/lon
lon@kixtart.to



Top
#49340 - 2000-03-30 10:34 AM Re: Logon Scripts
Anonymous
Unregistered


The script is completed, however I'm having problems with the last line, and sure enough, it's the SU.exe command. What would be the correct syntax for this command given:
username = username
password = password
remote workstation to run process on = epicteam-203
Command to run = cmd.exe

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (mole) and 1441 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.056 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org