Net user time not working

raphael colombo 5 Reputation points
2023-06-08T19:15:49.9633333+00:00

Tried using this code in CMD as Admin in English language, but it's not restricting anything and can log in normally.

net user wereh /time:Monday,00:00-01:00;Monday-Friday,16:00-01:00;Saturday,00:00-00:00;Sunday,00:00-00:00

Result at CMD:

C:\Windows\system32>net user wereh /time:Monday,00:00-01:00;Monday-Friday,16:00-01:00;Saturday,00:00-00:00;Sunday,00:00-00:00
The command completed successfully.


C:\Windows\system32>net user wereh
User name                    wereh
Full Name                    raphael colombo
Comment
User's comment
Country/region code          000 (System Default)
Account active               Yes
Account expires              Never

Password last set            7/1/2021 21:57:22
Password expires             Never
Password changeable          7/1/2021 21:57:22
Password required            Yes
User may change password     Yes

Workstations allowed         All
Logon script
User profile
Home directory
Last logon                   Never

Logon hours allowed          Sunday 00:00:00 - Monday 01:00:00
                             Monday 16:00:00 - Tuesday 01:00:00
                             Tuesday 16:00:00 - Wednesday 01:00:00
                             Wednesday 16:00:00 - Thursday 01:00:00
                             Thursday 16:00:00 - Friday 01:00:00
                             Friday 16:00:00 - Sunday 00:00:00

Local Group Memberships      *Usuários
Global Group memberships     *None
The command completed successfully.
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,075 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 24,211 Reputation points MVP
    2023-06-09T00:42:12.8433333+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.