Solved

remote administration of XP client

Posted on 2013-11-21
6
269 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
Comment Utility
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
Comment Utility
with psexec I can do this.
0
 

Author Comment

by:Eprs_Admin
Comment Utility
Now I need a netsh command for XP to allow WMI.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 10

Accepted Solution

by:
Pramod Ubhe earned 500 total points
Comment Utility
0
 

Author Comment

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

Author Closing Comment

by:Eprs_Admin
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A short article about problems I had with the new location API and permissions in Marshmallow
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now