Re: How do I reverse these ntrights commands ?
- From: Chuck <none@xxxxxxxxxxx>
- Date: 22 May 2005 01:10:02 -0500
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.
.
- Follow-Ups:
- References:
- Prev by Date: RE: Distribute Windows Updates
- Next by Date: Re: Can no longer synchronize time on Host or Client PC
- Previous by thread: How do I reverse these ntrights commands ?
- Next by thread: Re: How do I reverse these ntrights commands ?
- Index(es):
Relevant Pages
|