Page 1 of 1 1
Topic Options
#56417 - 2001-06-11 03:32 PM help win2000
Anonymous
Unregistered


I use a logon script..works fine... but it stops working on a windows 2000 server as soon at it comes to register manipulations. I suppose there are some security probs (loggin on as administrator works fine). Someone knows a solution ?
Top
#56418 - 2001-06-11 03:46 PM Re: help win2000
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
hmmm ... prevent Non-Administrators from logging on to Servers , i would say at first glance !

The Other Option is to skip Logon Script if not in the Domain Admin Group (Use Rads OS Flavour Script in combination with Ingroup)

Jochen

_________________________



Top
#56419 - 2001-06-11 04:01 PM Re: help win2000
Anonymous
Unregistered


this server is used as a worksation too... so i can't....
Top
#56420 - 2001-06-11 04:09 PM Re: help win2000
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Your using writevalue() in you logon script ? What kind of errors are you getting ? Do the following after your pokes...

?"ERROR @ERROR: @SERROR"

Are you getting error code 5 or something else ?

-Shawn

Top
#56421 - 2001-06-11 04:12 PM Re: help win2000
Anonymous
Unregistered


If the account logging on isn't an admin, you can not make changes to the Local machine portion of the registry

This is an admin check I wrote that seems to work.

$RC=Addkey("HKEY_LOCAL_MACHINE\Software\AdministratorCheck")
$RC=Existkey("HKEY_LOCAL_MACHINE\Software\AdministratorCheck")
if $RC=0
;? "You have Administrator Access"
$RC=DELkey("HKEY_LOCAL_MACHINE\Software\AdministratorCheck")
Else
;? "Could not obtain Administrator Access"
Goto END
Endif

[This message has been edited by alconnole (edited 11 June 2001).]

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
0 registered and 1821 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.058 seconds in which 0.031 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