#20584 - 2002-04-25 01:59 PM
Re: Exposing User Account Login Workstations
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
kyosei,
Why do you need to hide all of the login windows? If I was logging in and my system was still doing something like a registry modification, you could potentially "kill" a workstation.
Let's see here. To do what you want.. You could do it as a Scheduled Task (or WINAT/AT) or you could use the Resource Kit Utilities - INSTSRV and SRVANY. But this does not work on login.
Back to your point.. Are you displaying a form for the users to fill out when they login? Is there something that is being shown to them? If so, you should be able to suppress it. Hmmm.. Changing Account Login information - wouldn't that be a Domain Admin Function? You could change that stuff in User Manager and Active Directory Users and Computers. I guess I maybe jumping to some conclusions here and need additional clarification.
Can you post your script that is causing you to question this?
Thanks!
- Kent [ 25 April 2002, 14:04: Message edited by: kdyer ]
|
|
Top
|
|
|
|
#20586 - 2002-04-26 02:46 AM
Re: Exposing User Account Login Workstations
|
ash wilson (kyosei)
Getting the hang of it
Registered: 2002-04-22
Posts: 58
Loc: auckland new zealand
|
kdyer,
Thanks for reply. I think you are replying here to this post plus another I also have, but that's ok.
1. Hide login boxes.
Various pressures are at work here wanting IT to reduce the number of screens that a user sees during login, to zero.
The current Kix login script is extremely stable and has functioned without problems across all our platforms for over a year but should we require to change it significantly then we would expose information screens for that part of the script, like installing or modifying an application.
HR have some Company philosphy type screens that they want as wallpapers but desktop icons clutter the screens.
W2k has the 'show desktop icons' if active desktop is enabled but even this is not acceptable as it leaves the user able to effectively bypass the 'message'. So I need a way to remove desktop icons for a period long enough for the 'message' to be effective and perhaps even pop the same message up at some regular or irregular interval.
I would like to know how to schedule such things too!
2.Workstations User can Login to. (User Manager)
True it is an admin function but the Microsoft interface is very cumbersome. We regularly give temp access to workstations for various reasons so the 'initial' security can get broken if admin staff fail to remove the changes they made once they are no longer needed.
I wanted a way to extract, and check against a master list, the workstations in each user account report any variances. This does not necessarily have to be done in the login script as it could be a separate sscript run by admin staff.
Every user has at least 2 workstations listed in their user account, their own plus a dummy end marker. Any entries after the dummy are temp and should be removed asap.
There are other things I check/change from the SAM also, like dial-in access and settings.
Access to internet access is also controlled by this method as is VPN access, so even in a small network, to manually look through all user accounts for possible errors is just too cumbersome and not really even practical.
I have played around somewhat with a VBS script to expose some of the AD objects using..
Set Domain = GetObject("WinNT://" & DomainName) Domain.Filter = Array("User")
..and reading User.LoginWorkstations.
If there is NO workstation entries or ONLY 1 workstation in the list, it works fine but for anymore than 1 it gives an error like 'multi-valued string'.
The string is actually a list of the workstations separated with the # char but I have not yet been able to extract the entries, probably because there is some special way to extract that string. (or is it an array?)
Hope all this is clear and that someone can help. rgds
_________________________
KYOSEI. There are only three groups of people that can count. Those that can, and those that can't.
|
|
Top
|
|
|
|
#20599 - 2002-04-27 06:34 PM
Re: Exposing User Account Login Workstations
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
Les, I guess im a little disconnected in terms of what you and kyosei are trying to do. What are you trying to do exactly (add, modify, delete?) wkstns ? What code do you have so far (I'll run it on my side because it appears to work for me)
-Shawn
p.s. Im running this stuff on a network disconnected XP machine, eg, Im changing local workstation accounts. And although the concept of allowed wkstns might seem strange to local accounts, it still seems to work here, eg, I can populate and enumerate this field in ADSI. But there is no way I know of, through local user mgr, to actually see them in the GUI. [ 27 April 2002, 18:37: Message edited by: Shawn ]
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 483 anonymous users online.
|
|
|