BAW Posted October 7, 2006 Share Posted October 7, 2006 Hey is it policy to prevent a user logging on untill a set time using a group policy? If not any ideas how i can do this? Thanks Link to comment Share on other sites More sharing options...
Wilhelmus Posted October 7, 2006 Share Posted October 7, 2006 Well, you could try net user: Start->Run: net user username /time:logon_times where username is the name of the user account, and where logon_times are the days and times that you want to allow access) Use the following information to help you use the /time switch: ? Days can be spelled out (for example, Monday) or abbreviated (for example, M,T,W,Th,F,Sa,Su). ? Hours can be in 12-hour notation (1PM or 1P.M.) or 24-hour notation (13:00). ? A value of blank means that the user can never log on. ? A vall>all means that a user can always log on. ? Use a hyphen (-) to mark a range of days or times. For example, to create a range from Monday through Friday, type either M-F, or monday-friday. To create a range of time from 8:00 P.M. to 5:00 P.M., type 8:00am-5:00pm, 8am-5pm, or 8:00-17:00. ? Separate the day and time items with commas (for example, monday,8am-5pm). ? Separate day and time units with semicolons (for example, monday,8am-5pm;tuesday,8am-4pm;wednesday,8am-3pm). ? Do not use spaces between days or times. Link to comment Share on other sites More sharing options...
Recommended Posts