IPSECCMD Error 0x5

  • Thread starter Thread starter Nobody Home
  • Start date Start date
N

Nobody Home

I work at a school and I am trying to give the lab teacher the ability to
turn internet access on or off at any time. For 2K using IPSECPOL, it works
fine. For XP using IPSECCMD, I get "Failed to add policy., error 0x5". I
can run the same command locally and it works.

This command:
ipseccmd \\vmware-xp -f [0:80:TCP=*:80:TCP]
gives the error message. Using the very same filter statement locally, it
works immediately. Something about doing it remotely. I do have admin
rights.
 
Thanks for the workaround idea. I had gotten to that point. It's not as
clean as using IPSECCMD like it should be able to be used but I am at a loss
and may settle for the work around.


Steven L Umbach said:
Offhand I don't know what the problem is but you could try using psexec
from SysInternals. --- Steve

http://www.sysinternals.com/Utilities/PsExec.html --- psexec

Nobody Home said:
I work at a school and I am trying to give the lab teacher the ability to
turn internet access on or off at any time. For 2K using IPSECPOL, it
works fine. For XP using IPSECCMD, I get "Failed to add policy., error
0x5". I can run the same command locally and it works.

This command:
ipseccmd \\vmware-xp -f [0:80:TCP=*:80:TCP]
gives the error message. Using the very same filter statement locally,
it works immediately. Something about doing it remotely. I do have
admin rights.
 
I have not used either command enough to know what the problem could be or
if that is SOP in XP. Another possibility is that he could try to use the AT
command to remotely schedule a task that runs the necessary command. See the
link below on the AT command if you are not familiar with it. --- Steve

http://support.microsoft.com/default.aspx?scid=kb;en-us;313565


Nobody Home said:
Thanks for the workaround idea. I had gotten to that point. It's not as
clean as using IPSECCMD like it should be able to be used but I am at a
loss and may settle for the work around.


Steven L Umbach said:
Offhand I don't know what the problem is but you could try using psexec
from SysInternals. --- Steve

http://www.sysinternals.com/Utilities/PsExec.html --- psexec

Nobody Home said:
I work at a school and I am trying to give the lab teacher the ability to
turn internet access on or off at any time. For 2K using IPSECPOL, it
works fine. For XP using IPSECCMD, I get "Failed to add policy., error
0x5". I can run the same command locally and it works.

This command:
ipseccmd \\vmware-xp -f [0:80:TCP=*:80:TCP]
gives the error message. Using the very same filter statement locally,
it works immediately. Something about doing it remotely. I do have
admin rights.
 
Back
Top