shutdown.exe not working on remote WinXP systems


R

Russell

Trying to use shutdown.exe /m \\computername /s to shutdown remote Win XP
PCs. I am running command from PC that is member of same domain and under
windows account that is Domain Admin. This command does not work until I
turn off Windows firewall on the remote PC. I need to figure out what
Windows firewall exception to make to allow shutdown.exe to properly
execute. Any suggestions appreciated. Russell
 
Ad

Advertisements

M

Morgan che

Dear Russell,

Thanks for your post, and also appreciate JS's assistance.

The "shutdown" command should be based on RPC (Remote Procedure Call)
protocol to perform remote shutdown, So the RPC related ports are what
Windows Firewall exception use to allow "shutdown" command to properly
execute.

Local RPC connects to the remote server's RPC Endpoint at a well-known port
(port 135). The RPC Endpoint then assigns dynamically assigned ports
between 1024-65535 (by default) for the further operations.

Based on the mechanism of RPC, we should open port 135 TCP/UDP for the RPC
initiative and ports 1024-65535 TCP for RPC work on the Windows Firewall.

About how to configure Windows Firewall exception, please refer to the
following link which provided by JS:

Troubleshooting Windows Firewall settings in Windows XP Service Pack 2 for
advanced users
http://support.microsoft.com/kb/875357/en-us

If anything is unclear or needs to be of further assistance, please feel
free to let me know.

Happy new year!

Sincerely
Morgan Che
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
--->From: "Russell" <Clarksville@nospam.nospam>
--->Subject: shutdown.exe not working on remote WinXP systems
--->Date: Sat, 29 Dec 2007 20:00:47 -0600
--->Lines: 7
--->Message-ID: <6B4389F2-84B9-46E5-991E-CDD5D9F94024@microsoft.com>
--->MIME-Version: 1.0
--->Content-Type: text/plain;
---> format=flowed;
---> charset="iso-8859-1";
---> reply-type=original
--->Content-Transfer-Encoding: 7bit
--->X-Priority: 3
--->X-MSMail-Priority: Normal
--->X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
--->X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
--->X-MS-CommunityGroup-MessageCategory:
{E4FCE0A9-75B4-4168-BFF9-16C22D8747EC}
--->X-MS-CommunityGroup-PostID: {6B4389F2-84B9-46E5-991E-CDD5D9F94024}
--->Newsgroups: microsoft.public.windowsxp.general
--->Path: TK2MSFTNGHUB02.phx.gbl
--->Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.windowsxp.general:157108
--->NNTP-Posting-Host: TK2MSFTNGHUB02.phx.gbl 127.0.0.1
--->X-Tomcat-NG: microsoft.public.windowsxp.general
--->
--->Trying to use shutdown.exe /m \\computername /s to shutdown remote Win
XP
--->PCs. I am running command from PC that is member of same domain and
under
--->windows account that is Domain Admin. This command does not work until
I
--->turn off Windows firewall on the remote PC. I need to figure out what
--->Windows firewall exception to make to allow shutdown.exe to properly
--->execute. Any suggestions appreciated. Russell
--->
--->
 
R

Russell

thanks for the helpful input.

fyi, I ended up just making an exception for File and Print Sharing, and
that effectively accomplished opening the necessary ports.
 
Ad

Advertisements

M

Morgan che

Dear Russell,

Thanks for your sharing.

It is my pleasure to work with you on this issue. Hope to hear from you
again in newsgroup.

Have a nice day!

Sincerely
Morgan Che
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
--->From: "Russell" <Clarksville@nospam.nospam>
--->References: <6B4389F2-84B9-46E5-991E-CDD5D9F94024@microsoft.com>
<FNLNON5SIHA.5204@TK2MSFTNGHUB02.phx.gbl>
--->In-Reply-To: <FNLNON5SIHA.5204@TK2MSFTNGHUB02.phx.gbl>
--->Subject: Re: shutdown.exe not working on remote WinXP systems
--->Date: Tue, 1 Jan 2008 16:13:19 -0600
--->Lines: 90
--->Message-ID: <1F4E7F7A-04B4-41E4-B52C-71986E18E10B@microsoft.com>
--->MIME-Version: 1.0
--->Content-Type: text/plain;
---> format=flowed;
---> charset="iso-8859-1";
---> reply-type=original
--->Content-Transfer-Encoding: 7bit
--->X-Priority: 3
--->X-MSMail-Priority: Normal
--->X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
--->X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
--->X-MS-CommunityGroup-PostID: {1F4E7F7A-04B4-41E4-B52C-71986E18E10B}
--->X-MS-CommunityGroup-ThreadID: 6B4389F2-84B9-46E5-991E-CDD5D9F94024
--->X-MS-CommunityGroup-ParentID: F145431F-20D4-4E80-B6FA-31FE30A50894
--->Newsgroups: microsoft.public.windowsxp.general
--->Path: TK2MSFTNGHUB02.phx.gbl
--->Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.windowsxp.general:157934
--->NNTP-Posting-Host: TK2MSFTNGHUB02.phx.gbl 127.0.0.1
--->X-Tomcat-NG: microsoft.public.windowsxp.general
--->
--->thanks for the helpful input.
--->
--->fyi, I ended up just making an exception for File and Print Sharing,
and
--->that effectively accomplished opening the necessary ports.
--->
--->
--->--->> Dear Russell,
--->>
--->> Thanks for your post, and also appreciate JS's assistance.
--->>
--->> The "shutdown" command should be based on RPC (Remote Procedure Call)
--->> protocol to perform remote shutdown, So the RPC related ports are what
--->> Windows Firewall exception use to allow "shutdown" command to properly
--->> execute.
--->>
--->> Local RPC connects to the remote server's RPC Endpoint at a
well-known
--->> port
--->> (port 135). The RPC Endpoint then assigns dynamically assigned ports
--->> between 1024-65535 (by default) for the further operations.
--->>
--->> Based on the mechanism of RPC, we should open port 135 TCP/UDP for
the RPC
--->> initiative and ports 1024-65535 TCP for RPC work on the Windows
Firewall.
--->>
--->> About how to configure Windows Firewall exception, please refer to the
--->> following link which provided by JS:
--->>
--->> Troubleshooting Windows Firewall settings in Windows XP Service Pack
2 for
--->> advanced users
--->> http://support.microsoft.com/kb/875357/en-us
--->>
--->> If anything is unclear or needs to be of further assistance, please
feel
--->> free to let me know.
--->>
--->> Happy new year!
--->>
--->> Sincerely
--->> Morgan Che
--->> Microsoft Online Support
--->> Microsoft Global Technical Support Center
--->>
--->> Get Secure! - www.microsoft.com/security
--->> =====================================================
--->> When responding to posts, please "Reply to Group" via your newsreader
so
--->> that others may learn and benefit from your issue.
--->> =====================================================
--->> This posting is provided "AS IS" with no warranties, and confers no
--->> rights.
--->>
--->>
--->> --------------------
--->> --->From: "Russell" <Clarksville@nospam.nospam>
--->> --->Subject: shutdown.exe not working on remote WinXP systems
--->> --->Date: Sat, 29 Dec 2007 20:00:47 -0600
--->> --->Lines: 7
--->> --->Message-ID: <6B4389F2-84B9-46E5-991E-CDD5D9F94024@microsoft.com>
--->> --->MIME-Version: 1.0
--->> --->Content-Type: text/plain;
--->> ---> format=flowed;
--->> ---> charset="iso-8859-1";
--->> ---> reply-type=original
--->> --->Content-Transfer-Encoding: 7bit
--->> --->X-Priority: 3
--->> --->X-MSMail-Priority: Normal
--->> --->X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
--->> --->X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
--->> --->X-MS-CommunityGroup-MessageCategory:
--->> {E4FCE0A9-75B4-4168-BFF9-16C22D8747EC}
--->> --->X-MS-CommunityGroup-PostID: {6B4389F2-84B9-46E5-991E-CDD5D9F94024}
--->> --->Newsgroups: microsoft.public.windowsxp.general
--->> --->Path: TK2MSFTNGHUB02.phx.gbl
--->> --->Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.windowsxp.general:157108
--->> --->NNTP-Posting-Host: TK2MSFTNGHUB02.phx.gbl 127.0.0.1
--->> --->X-Tomcat-NG: microsoft.public.windowsxp.general
--->> --->
--->> --->Trying to use shutdown.exe /m \\computername /s to shutdown
remote Win
--->> XP
--->> --->PCs. I am running command from PC that is member of same domain
and
--->> under
--->> --->windows account that is Domain Admin. This command does not work
--->> until
--->> I
--->> --->turn off Windows firewall on the remote PC. I need to figure out
what
--->> --->Windows firewall exception to make to allow shutdown.exe to
properly
--->> --->execute. Any suggestions appreciated. Russell
--->> --->
--->> --->
--->>
--->
--->
 

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

Similar Threads

Using Shutdown.exe Remotely 1
Shutdown.exe does not work 2
shutdown.exe does not work 6
Shutdown.exe 3
Shutdown.exe 1
Shutdown.exe 0
Help With Shutdown.exe 1
Shutdown.exe - restart 1

Top