How do I reverse these ntrights commands ?

V

V&K

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
 
C

Chuck

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.
 
V

V&K

Heres what is happening on my xp (home edition) box:

C:\WINDOWS\ServicePackFiles\i386>ntrights /?
'ntrights' is not recognized as an internal or external command,
operable program or batch file.

C:\>ntrights +r SeDenyNetworkLogonRight -u Guest
'ntrights' is not recognized as an internal or external command,
operable program or batch file.

C:\>ntrights -r SeNetworkLogonRight -u Guest
'ntrights' is not recognized as an internal or external command,
operable program or batch file.

For a year my 98 box could read files on my xp box with no special setup or
fuss. Then I unplug the xp box to lay down a carpet, plug everything back in
and everything works normal EXCEPT my 98box gets "\\xp box is not
accessable, no permission to access resources".
It looks like others have similar problems.
very frustrated........any hope?
thnx,
v

Chuck said:
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.
 
C

Chuck

Heres what is happening on my xp (home edition) box:

C:\WINDOWS\ServicePackFiles\i386>ntrights /?
'ntrights' is not recognized as an internal or external command,
operable program or batch file.

C:\>ntrights +r SeDenyNetworkLogonRight -u Guest
'ntrights' is not recognized as an internal or external command,
operable program or batch file.

C:\>ntrights -r SeNetworkLogonRight -u Guest
'ntrights' is not recognized as an internal or external command,
operable program or batch file.

For a year my 98 box could read files on my xp box with no special setup or
fuss. Then I unplug the xp box to lay down a carpet, plug everything back in
and everything works normal EXCEPT my 98box gets "\\xp box is not
accessable, no permission to access resources".
It looks like others have similar problems.
very frustrated........any hope?
thnx,
v

V,

What folder did you copy ntrights.exe into? Make sure that you're running from
that same folder. In other words, if you were to copy ntrights.exe into C:\,
then run from the command prompt as "C:\>".

Now then, your problem, if you have Windows 98 and XP on the same LAN, will
quite likely be a browser conflict. Browser conflicts will come and go,
depending upon what order you boot your systems in. Some experts tell you to
reboot your computers, and this sometimes works, but only temporarily.
<http://nitecruzr.blogspot.com/2005/05/windows-9x-9598me-and-browser.html>

--
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.
 
V

V&K

YOU"RE RIGHT!
I had to find the correct folder,and I did.
Reboots normal now, I'll check out the browser possibility later.
Thnx for the prompt response,Chuck!
v
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top