?
Solved

remote administration of XP client

Posted on 2013-11-21
6
Medium Priority
?
321 Views
Last Modified: 2013-11-28
Hi Experts,

For my monitoring I have to reach some clients with XP.
I have mentioned the firewall is activated.
With a netsh script I know how to switch the firewall off.

But I cannot find the command to open the ports for remote administration and WMI.
Can you help me please?
0
Comment
Question by:Eprs_Admin
  • 4
6 Comments
 
LVL 70

Expert Comment

by:KCTS
ID: 39665524
The problem here is that you can't get through the firewall to execute any commands to modify the firewall - if you think about it any firewall that allowed you to do this would be pretty useless!
0
 

Author Comment

by:Eprs_Admin
ID: 39665528
with psexec I can do this.
0
 

Author Comment

by:Eprs_Admin
ID: 39665529
Now I need a netsh command for XP to allow WMI.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
LVL 10

Accepted Solution

by:
Pramod Ubhe earned 1000 total points
ID: 39665584
0
 

Author Comment

by:Eprs_Admin
ID: 39673949
not yet, do you have the command for changeing the firewall via wmic ?
0
 

Author Closing Comment

by:Eprs_Admin
ID: 39683678
I found it and did it with psexec:
psexec \\HOSTNAME netsh advfirewall firewall set rule group="Windows-Remoteverwaltung" new enable=yes

psexec \\HOSTNAME netsh advfirewall firewall set rule group="Windows-Verwaltungsinstrumentation (WMI)" new enable=yes

For XP:
psexec \\HOSTNAME -user SEPP -p PASS netsh firewall show opmode

psexec \\HOSTNAME -user SEPP -p PASS netsh firewall set opmode disable
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Starting up a Project
Screencast - Getting to Know the Pipeline

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question