Hi, not sure this really belongs to the network forum, but in the absence of a "User account" forum and given that my issue is about the "net user" command, I figured I would post it here.
I have a very weird issue here.
I am trying to enable the guest account via command line and cannot get it to work.
I am using the command "net user guest /active:yes" on Windows 7 Ultimate (and before someone asks, yes I am using elevated administrator rights on the cmd window).
The command is accepted and completes successfully, but when I go see in the Control Panel User Accounts it still says the Guest Account is off.
- Trying on a full, original Windows 7 Ultimate install did not work either (initially I was on a vLited install and I thought it was because of that, but no, it doesn't work with a full install)
What's even more weird is that if I type "net user guest" and look at the info displayed it does show "Account Active Yes", but even after rebooting the Guest account is not displayed on the welcome screen and is still turned off in the Control Panel.
So, it appears it absolutely needs to be turned on via the GUI in the User Account Control Panel. If I turn it on via the control panel and type "net user guest" in a cmd window, the information displayed is exactly the same as before when I attempted to activate the guest account via command line, with one exception: via command line it showed "Last Logon Never" but when turning on the Guest account via Control Panel it shows a logon date after "Last Logon".
I also noticed that after having turned on the guest account via the Control Panel, entering "net user Guest /active:yes" (or /active:no) will work as intended (after rebooting), it just does not work the first time if the account was never activated at least once through the Control Panel. Anyone else can confirm this, and is there a workaround or known solution?