Page 1 of 1 1
Topic Options
#212528 - 2017-05-27 04:34 PM AD user logon times
Sweeny Offline
Fresh Scripter

Registered: 2016-03-18
Posts: 18
Loc: Hampshire
To great and knowledgeable people of this forum,
I'm in the process of creating a small applet that will give some chosen users the ability to choose logon hours without the need for the AD snappin etc etc. I may have hit a brick wall in the sense I can't find any mention of how to get kix to modify the logon hours of a user in AD or how I could use ADSI to help. Any advice and guidance will be gratefully received.
Many thanks,
Tom \:\)

Top
#212529 - 2017-05-27 09:11 PM Re: AD user logon times [Re: Sweeny]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
It's possible someone will have some suggestions... but it looks like it uses a bit array and from past experiences... this is harder than it should be with kix...

Powershell Examples
https://richardspowershellblog.wordpress.com/2012/01/26/setting-a-users-logon-hours/
https://gallery.technet.microsoft.com/scriptcenter/fd6a340b-ed8b-4787-8d12-3c6fcb822104

Top
#212530 - 2017-05-27 09:15 PM Re: AD user logon times [Re: Allen]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
This looks like it might get you in the right direction...

http://www.rlmueller.net/ADLogonHours.htm

Top
#212531 - 2017-05-27 09:21 PM Re: AD user logon times [Re: Allen]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
And here is where logonhours has been discussed here... YEARS ago.
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=85948#Post85948

Top
Page 1 of 1 1


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

Who's Online
0 registered and 557 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.052 seconds in which 0.023 seconds were spent on a total of 13 queries. Zlib compression enabled.

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