Jump to content

Recommended Posts


Posted

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\077 /ve /d "Active Guest Account" /f

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\077 /v 1 /d "net user guest /active:yes" /f

  • 1 year later...
Posted (edited)
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx77 /ve /d "Active Guest Account" /f

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx77 /v 1 /d "net user guest /active:yes" /f

I tried this on Server 2003 and it would not work.

Can thiese two commands be put into a registry file that is the same thing?

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx77]
@="Active Guest Account"
"1"="net user guest /active:yes"

I tried the command line commands and the registry script way - neither way worked

after a reboot. Why does the command go into the sub-key "077" ?

After further testing I found this to work:

ENABLE:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
@="Active Guest Account"
"1"="net user guest /active:yes"

DISABLE:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
@="Active Guest Account"
"1"="net user guest /active:no"

Edited by LeveL
  • 3 years later...
Posted
[

ENABLE:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
@="Active Guest Account"
"1"="net user guest /active:yes"

how do i do to use this code? .reg file or .cmd file?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...