Re: How do I reverse these ntrights commands ?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Sat, 21 May 2005 23:02:34 -0400, "V&K" <*email_address_deleted*> wrote:

>Hi,
>How do I reverse the command below? I tried these commands earlier to help
>me see files on my xpsp2 box, from my 98se box. (taken from
> http://nitecruzr.blogspot.com/2005/05/advanced-file-sharing-tweaks-in.html
>):
>
>"Download and install the Windows 2003 Server Resource Kit Tools.
>Click Start | All Programs | Windows Resource Kit Tools | Command Shell.
>Type these three lines, one at a time, at the command prompt. The ntrights
>commands are case-sensitive, so type them exactly as shown. Note the "+r" in
>the second one and the "-r" in the third one:
>net user guest /active:yes
>ntrights +r SeNetworkLogonRight -u Guest
>ntrights -r SeDenyNetworkLogonRight -u Guest"
>
>Now my xp box takes 10 minutes to boot. A logon screen flashes (I dont want
>a logon screen) and I get a message saying that is it Win is starting, but
>it just seems to hang till it feels like turning on. I even did a sys
>restore from a couple weeks back, no help.
>
>Thnx,
>v

Entering "ntrights /?" in a command window, I get:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\cacroll>ntrights /?
NTRights.Exe - Beta Version by Georg Zanzen
Grants/Revokes NT-Rights to a user/group
usage: -u xxx User/Group
-m \\xxx machine to perform the operation on (default local machine)
-e xxxxx Add xxxxx to the event log
-r xxx revokes the xxx right
+r xxx grants the xxx right
valid NTRights are:
SeCreateTokenPrivilege
SeAssignPrimaryTokenPrivilege
SeLockMemoryPrivilege
SeIncreaseQuotaPrivilege
SeUnsolicitedInputPrivilege
SeMachineAccountPrivilege
SeTcbPrivilege
SeSecurityPrivilege
SeTakeOwnershipPrivilege
SeLoadDriverPrivilege
SeSystemProfilePrivilege
SeSystemtimePrivilege
SeProfileSingleProcessPrivilege
SeIncreaseBasePriorityPrivilege
SeCreatePagefilePrivilege
SeCreatePermanentPrivilege
SeBackupPrivilege
SeRestorePrivilege
SeShutdownPrivilege
SeAuditPrivilege
SeSystemEnvironmentPrivilege
SeChangeNotifyPrivilege
SeRemoteShutdownPrivilege

That being the case, if you want to reverse what you did, you should probably
enter:

ntrights +r SeDenyNetworkLogonRight -u Guest
ntrights -r SeNetworkLogonRight -u Guest

--
Cheers,
Chuck
http://nitecruzr.blogspot.com/
Paranoia is not necessarily a bad thing - it's a normal response from experience.
My email is AT DOT
actual address pchuck sonic net.
.



Relevant Pages

  • Re: XP home edition network problem
    ... The first thing I tried was the ping command at the command prompt ... Next I tried checking the RestrictAnonymous registry value ... ntrights +r SeNetworkLogonRight -u Guest ... ntrights -r SeDenyNetworkLogonRight -u Guest ...
    (microsoft.public.windowsxp.network_web)
  • Re: Guest Account
    ... >>2) The command completed succesfully ... >>3) In the cmputer Management The User Guest seems activated ("Account is ... > ntrights +r SeNetworkLogonRight -u Guest ...
    (microsoft.public.windowsxp.network_web)
  • How do I reverse these ntrights commands ?
    ... "Download and install the Windows 2003 Server Resource Kit Tools. ... Type these three lines, one at a time, at the command prompt. ... ntrights +r SeNetworkLogonRight -u Guest ...
    (microsoft.public.windowsxp.network_web)
  • how do i reverse ntrights commands?
    ... "Download and install the Windows 2003 Server Resource Kit Tools. ... Type these three lines, one at a time, at the command prompt. ... ntrights +r SeNetworkLogonRight -u Guest ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Logon Failure: the user has not been granted the requested log
    ... shared folders and files on this computer do not appear in My Network Places, ... Download and install the Windows 2003 Server Resource Kit Tools ... Type these lines at the command prompt. ... ntrights +r SeNetworkLogonRight -u Guest ...
    (microsoft.public.windowsxp.network_web)