China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-11 14:02
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] How to enable the XP guest user using commands View 1,992 Replies 8
Original Poster Posted 2009-03-04 05:29 ·  中国 广东 广州 天河区 电信
新手上路
Credits 5
Posts 5
Joined 2009-02-25 18:14
17-year member
UID 139877
Gender Male
Status Offline
I used
net user guest /active:yes

What's said online is all this

But although it shows enabled in User Accounts, it can't be found in the XP login screen

After pressing ctrl+alt+del on the login screen and trying to log in with GUEST, it prompts that interactive login is not allowed

In Control Panel - User Accounts, it also shows that the guest account is not activated

I guess maybe I need to change something in Group Policy or something, I'm not sure, so I'm posting to ask

Please哪位 clear-minded big shot give an explanation and also post the commands to do this

PS: I'm using XP SP3, is it because SP3 is different
Floor 2 Posted 2009-03-04 06:03 ·  中国 四川 德阳 电信
初级用户
Credits 96
Posts 45
Joined 2007-03-20 06:24
19-year member
UID 82322
Gender Male
Status Offline
First, manually enable and disable the Guest account in the User Accounts of the Control Panel. Then try the following commands. If it succeeds, you can control it with commands later:

Disable/Enable:
wmic useraccount where name="guest" set disabled=false
Or:
wmic useraccount where name="guest" set disabled=true
Floor 3 Posted 2009-03-04 08:56 ·  中国 北京 联通
银牌会员
★★★★
[b]看你妹啊[/b]
Credits 1,488
Posts 1,357
Joined 2006-05-20 12:00
20-year member
UID 55770
Status Offline
The command is correct. Looking at the prompt, it's that the GUEST user doesn't have local login permission. Set the group policy.

有问题请发论坛或者自行搜索,再短消息问我的统统是SB
Floor 4 Posted 2009-03-04 10:53 ·  中国 上海 浦东新区 电信
中级用户
★★
一看二跟三动手
Credits 396
Posts 188
Joined 2005-10-23 13:21
20-year member
UID 43919
From 上海
Status Offline
Originally posted by joyoustar at 2009-3-4 06:03:
First, manually enable and disable the Guest account in the User Accounts in the Control Panel. Then try the following command. If it succeeds, you can control it with commands in the future:
Disable/enable:
wmic useraccount where ...


Network access:
_Guest account enabled
Attachments
1_guest帐户开启.JPG.gif
*/. . . * .
.\* . * dosz
*/ . ./\~~~~~~~~~~~~'\. ^|◆
\* ,/,..,\,...........,\.◆
^|^| ..▎# ▎田 田 ▎ ^| ▎◆
^|^| ^&^&▎ ▎ ▎'^|'▎ o
^|^| ##■■■■■■■■■■〓
Floor 5 Posted 2009-03-04 11:00 ·  中国 上海 浦东新区 电信
中级用户
★★
一看二跟三动手
Credits 396
Posts 188
Joined 2005-10-23 13:21
20-year member
UID 43919
From 上海
Status Offline
Originally posted by yishanju at 2009-3-4 08:56:
The command is correct. Looking at the prompt, it's that the GUEST user doesn't have local login permissions. Set the group policy.


Network access:
_Disable the restriction on the Guest account in GPEDIT. Open the Group Policy Editor with "GPEDIT.MSC", and sequentially select "Computer Configuration → Windows Settings → Security Settings → Local Policies → User Rights Assignment". Double-click the "Deny access to this computer from the network" policy and delete the "GUEST" account inside.
Attachments
2_GPEDIT解除对Guest账号的限制.JPG.gif
*/. . . * .
.\* . * dosz
*/ . ./\~~~~~~~~~~~~'\. ^|◆
\* ,/,..,\,...........,\.◆
^|^| ..▎# ▎田 田 ▎ ^| ▎◆
^|^| ^&^&▎ ▎ ▎'^|'▎ o
^|^| ##■■■■■■■■■■〓
Floor 6 Posted 2009-03-05 03:42 ·  中国 广东 广州 天河区 电信
新手上路
Credits 5
Posts 5
Joined 2009-02-25 18:14
17-year member
UID 139877
Gender Male
Status Offline
First, thank you to everyone for answering my questions.

Reply to floor 2: No. The status of the GUEST user displayed in the Control Panel is still gray, and when logging in, it still prompts "The local policy does not allow the user to log in interactively."

Reply to floor 4: I know how to operate in the graphical interface. "net user guest /active:yes" is equivalent to the operation you mentioned, but this does not truly enable GUEST because under Control Panel - User Accounts: GUEST is still gray, and the GUEST cannot be used to log in on the system welcome login interface.

Reply to floor 5:
Thank you for answering again.

In my "Deny access to this computer from the network" policy, there is no GUEST user.

PS: My system is a GHOST SP3 version from Donghai Computer Company, which is repackaged, not the original version of the system.
Floor 7 Posted 2009-03-07 05:33 ·  中国 广东 广州 天河区 电信
新手上路
Credits 5
Posts 5
Joined 2009-02-25 18:14
17-year member
UID 139877
Gender Male
Status Offline
Bump up...
Floor 8 Posted 2009-03-08 02:12 ·  中国 上海 长宁区 电信
高级用户
★★★
Credits 916
Posts 377
Joined 2004-03-08 00:00
22-year member
UID 19523
Gender Male
Status Offline
This kind of thing is very troublesome to solve. At present, I think the best Ghost is still the Deepin one.
I was really tortured by those Ylmf and others. They optimized some security settings. One day I wasted an hour to enable the remote desktop function. If there weren't articles on the Internet mentioning it, I really wouldn't know how to solve it.
I started all the services that should be started, added all the users that should be added, and gave all the permissions that should be given, but someone's Ghost deleted the corresponding settings in the registry. I'm really depressed.
Floor 9 Posted 2009-03-12 05:14 ·  中国 四川 德阳 电信
初级用户
Credits 96
Posts 45
Joined 2007-03-20 06:24
19-year member
UID 82322
Gender Male
Status Offline
Originally posted by fpeak at 2009-3-5 03:42 AM:
Thanks to everyone for your answers first

Reply to floor 2: No. The status of the GUEST user displayed in the control panel is still gray, and it still prompts "The local policy does not allow the user to log in interactively" when logging in.

Reply to floor 4: In the graphics...


My system is XP SP2. Is there any Guest in the "Deny local logon" in User Rights Assignment? If there is, delete it; try enabling "Interactive logon: Do not require C+A+T" in the security options.
Forum Jump: