Command "net user administrator /active:yes" failed

Solved
davidheliom Posted messages 6 Status Membre -  
Malekal_morte- Posted messages 178136 Registration date   Status Modérateur, Contributeur sécurité Last intervention   -
Hello,

I need to set Windows to the correct time (20 minutes off).

I have the password for the normal user, who cannot change the time.

I have the password for the LocalAdmin, who is part of the administrators group, who also cannot change the time.

When I run "net user administrator /active:yes", I get the response "unknown user".

When I run "net user", I get the following list: LocalAdmin, guest, normal_user.

When I create a user from LocalAdmin who is part of the administrators group, this new user also cannot change the time.

It's an old PC and, due to a graphics card issue, I don't have a boot image of the PC and cannot access the BIOS.

How can I access the administrator user, the real one, the only one.

Thank you in advance.

3 réponses

Filinas Posted messages 262 Status Membre 30
 
Hello,
The net user command lists the existing users locally on the machine.

What is surprising is that the LocalAdmin user cannot change the time even though it is in the Administrators group.

Is this a machine that you acquired from somewhere? Was it not part of a company before?

Otherwise, you can try checking the time in the BIOS and modify it if needed.

--
Do you want tutorials on IT? Go to the Best Of Du Net channel on YouTube.
0
davidheliom Posted messages 6 Status Membre
 
Hello,

This is a restriction-free position for Windows, even though it is within a corporate context.
I have other identical positions without this issue.

Regarding access to the BIOS, the screen remains black until Windows has started.
I have no visibility beforehand.

Thank you.
0
davidheliom Posted messages 6 Status Membre
 
Hello,


Here’s how I solved my issue with an administrator user who couldn’t change the time in Windows.

- run secpol.msc
- in the left pane, expand "Local Policies"
- select "User Rights Assignment"
- on the right, in the list of policies, double-click on "Change the system time"
- add the users who will be allowed to change the Windows time

In my case, I had no users in the list.
Since then, it’s all good.
0