How to use the remote shutdown command in Windows كيفية استخدام القيادة عن بعد الاغلاق في ويندوز

Posted on May 26, 2008 at 5:31 am نشر في 26 ايار ، 2008 في الساعة 5:31

This article will show you how to use the remote shutdown command tool in Windows to remotely shut down, restart, or logoff a local or networked computer. هذه المادة سوف أوضح لك كيفية استخدام القيادة أداة الاغلاق عن بعد في ويندوز لإغلاق عن بعد ، من جديد ، او الانقطاع محلية او شبكات الكمبيوتر. This can be very useful sometimes if you have multiple computers at home or on your network that you want to quickly shutdown or restart. هذا يمكن ان تكون مفيدة جدا في بعض الاحيان اذا كان لديك عدة اجهزة الكمبيوتر في المنزل أو على الشبكه الخاصة بك التي تريد بسرعة اغلاق او اعادة تشغيله.

You can perform a remote shutdown from the command prompt using the shutdown command and it’s associated switches, from the remote shutdown dialog box, or from a batch file. يمكنك اجراء الاغلاق عن بعد من الاوامر باستخدام اغلاق القيادة وانه يرتبط بها من المفاتيح ، من بعد اغلاق مربع الحوار ، أو دفعة من الملف. I’ll try to go through all three in this guide. سأحاول ان تمر كل ثلاثة في هذا الدليل.

Remote Shutdown Overview لمحة عامة عن بعد الاغلاق

Firstly, in order to remotely shutdown a computer on your network, you’ll need to make sure you have Administrative access to that computer. اولا ، من اجل اغلاق جهاز الكمبيوتر عن بعد على الشبكه الخاصة بك ، عليك أن تتأكد من امكانيه الوصول الى تلك الاداريه الكمبيوتر. If you’re on a home network, the best way to do this is to make sure all computers are in the same workgroup and that they all have at least one Administrator account with the same user name and password. اذا كنت تريد ان تعرف على الشبكه المنزلية ، فان افضل طريقة لتحقيق ذلك هي التأكد من ان كل اجهزة الكمبيوتر في نفس مجموعة العمل وانهم جميعا واحد على الاقل مدير حساب بنفس اسم المستخدم وكلمة المرور.

You can also have different Administrator account names across computers, but then you’ll need to make sure you add the Administrator account of one computer to the account list on the other computers. يمكنك ايضا مدير حساب اسماء مختلفة عبر اجهزة الكمبيوتر ، ولكن بعد ذلك ستحتاج الى التأكد من انك تضاف مدير جهاز كمبيوتر واحد من حساب الى حساب قائمة على الحواسيب الاخرى. You’ll also need to know all the names of the other computers on the network. وستحتاج ايضا الى معرفة جميع اسماء من اجهزة الكمبيوتر الاخرى الموجودة على الشبكه. You can do that by going to Control Panel and then clicking on System . يمكنك القيام بذلك عن طريق الذهاب الى لوحة التحكم ، ثم النقر على النظام. Then click on the Computer Name tab. ثم انقر على علامة التبويب اسم الكمبيوتر.

اسم جهاز الكمبيوتر

Remote shutdown is useful for managing multiple computers at once and especially useful for helpdesk technicians when they have to fix remote computers. بعد اغلاق امر مفيد لادارة العديد من اجهزة الكمبيوتر مرة واحدة ومفيدة بشكل خاص للفنيين المساعدة عندما تكون لديها لتحديد الحواسيب عن بعد.

Remote shutdown via Command Prompt بعد اغلاق طريق الأوامر

The shutdown command is most flexible when using it from the command prompt because you can add a bunch of switches to it, which allow you to customize the behavior. اغلاق القيادة هي الاكثر مرونة من انه عند استخدام الاوامر لان يمكنك اضافة الى مجموعة من المفاتيح ، والذي يسمح لك لتعديل السلوك. Go to Start , then Run , and type in CMD . اذهب الى ابدا ، ثم تشغيل ، وأكتب CMD. In the black command window, type in shutdown /? to see the list of switches. في قيادة الاسود نافذة ، في نوع الاغلاق /؟ انظر الى قائمة المفاتيح.

اغلاق القيادة

You have to use at least one switch in order for the command to do anything. عليك ان استخدام مفتاح واحد على الاقل حتى يتسنى للقيادة الى عمل اي شيء. Basically you would type in shutdown -X -Y -Z where X, Y, Z are letters in the list above. أساسا كنت في نوع الاغلاق - x - y - ض فيها خ ، ذ ، ض هي رسائل في القائمة اعلاه.

Here are a couple of the most command switches and what actions they peform: وهنا اثنين من أهم مفاتيح القيادة وانها ما هي الاجراءات التي peform :

-l: Logs off the computer - ل : من سجلات الحاسب الآلي

-s: Shuts down the computer - ق : ينغلق اسفل الكمبيوتر

-r: Restarts the computer - ص : اعادة تشغيل الكمبيوتر

-m - م \\computername \ \ الكمبيوتر : remote shutdown of a computer : بعد اغلاق الكمبيوتر

-f: Forces programs to close immediately - و : برامج لقوات فورا باغلاق

So for remotely shutting down another machine on your network, you would type into the command prompt the following commands: لذلك بعد اغلاق جهاز آخر على الشبكه الخاصة بك ، كنت نوع الى الاوامر التالية :

shutdown –m \\computername –r –f - اغلاق م \ \ الكمبيوتر - ص - و

This above command will restart the computer named computername and force all programs that are still running to die. فوق هذه القيادة اعادة تشغيل جهاز الكمبيوتر اسم جهاز الكمبيوتر وتفرض على كل البرامج التى مازالت تعمل على حافة الموت.

shutdown –m \\computername –r –f –c “The computer will restart, please save all work.” –t 60 - اغلاق م \ \ الكمبيوتر - ص - ج - و "اعادة تشغيل الكومبيوتر ، يرجى حفظ كل عمل." ر - 60

This command will restart the computer named computername , force all programs that are running to die, show a message to the user, and countdown 60 seconds before it restarts. هذه القيادة اعادة تشغيل جهاز الكمبيوتر اسم جهاز الكمبيوتر ، ان تفرض على كل البرامج التي تقوم بتشغيل ان يموت ، تظهر رسالة الى المستخدم ، والعد التنازلي 60 ثانية قبل ان يستأنف.

Remote Shutdown via Shutdown Dialog بعد اغلاق طريق اغلاق مربع الحوار

If you don’t like all those switches, etc, or using the command prompt, then you can bring up the shutdown dialog box. اذا كنت لا تحب كل تلك المفاتيح ، الخ ، او باستخدام الاوامر ، ثم يمكنك طرح اغلاق مربع الحوار. You can open the dialog window by clicking Start, click Run, type CMD and typing shutdown -i and in the blank DOS window. يمكنك فتح نافذة الحوار بالنقر فوق ابدا ، ثم انقر فوق تشغيل ، ثم اكتب CMD الاغلاق والطباعه على الآلة الكاتبه - وأنا في نافذة دوس فارغه.

اغلاق الاول

A window similar to the one below will appear: نافذة مماثلة للتي سوف يظهر ادناه :

بعد اغلاق الحوار

Click the Add or Browse button to add computers to the list. انقر على زر اضافة او تصفح اجهزة الكمبيوتر لاضافة الى القائمة. You can then run the commands on the entire batch of computers. بعد ذلك يمكنك تشغيل الاوامر على كامل دفعة من الحواسيب. If you click Add, you’ll need to enter in the network name of the computer in the format اذا كنت أنقر فوق اضافة ، عليك ان تدخل في الشبكه اسم جهاز الكمبيوتر في شكل \\computername \ \ الكمبيوتر . You can even add your own computer to test it out and make sure it works. حتى انك تستطيع اضافة الكمبيوتر الخاص بك لاختبار بها والتأكد من انه يعمل.

اسم جهاز الكمبيوتر [6]

Of course, you need to know the actual computer name, which I mentioned how you can figure out above. وبطبيعة الحال ، انت بحاجة الى معرفة اسم الكمبيوتر الفعليه ، التي اتيت على ذكرها كيف يمكنك ان الرقم المشار اليها اعلاه. You’ll also need Administrative access. وستحتاج ايضا الوصول الاداري. You can determine this by going to My Computer and typing يمكنك معرفة ذلك عن طريق الذهاب الى جهاز الكمبيوتر والطباعه على الآلة الكاتبه \\computername \ \ الكمبيوتر into the address bar and seeing if you can get access without having to be prompted for a password. في شريط العنوان ورؤية إذا كان يمكنك الحصول على امكانيه الوصول دون الحاجة الى دفع لكلمة سر.

أحسب اسم بلادي

So add as many computers to the list as you like and then set your options. حتى ان تضيف الكثير من الحواسيب الى قائمة ما تريد وبعد ذلك حدد خياراتك. You can shutdown, restart, or logoff. يمكنك اغلاق ، استئناف ، او الانقطاع. You can also display a warning for however many seconds you like. يمكنك ايضا عرض للتحذير ولكن هل تريد ان العديد من ثانية. You can type in a comment at the bottom which will be displayed to users. يمكنك ان تكتب في التعليق في اسفل التي سيتم عرضها للمستخدمين. That’s it! كل هذا و زيادة!

Remote Shutdown via Batch File بعد اغلاق الملف عن طريق دفعه

Finally, you can create a batch file so that you can do all of this by just clicking on a file! واخيرا ، يمكنك انشاء ملف دفعة وبذلك يمكنك أن تفعل كل هذا من قبل مجرد النقر على الملف! Or you can even schedule the batch file to be run at specific intervals using Windows Scheduler. او يمكنك حتى وضع جدول زمني للملف دفعه لتشغيلها في فترات محددة باستخدام ويندوز المبرمج.

Just go to Notepad and type in the commands you would have typed into the command prompt: اذهبوا الى محرر فى ونوع الاوامر قمتم مطبوعة في الاوامر :

shutdown –m - اغلاق م \\computername1 \ \ computername1 –r ص -
shutdown –m - اغلاق م \\computername2 \ \ computername2 –r ص -
shutdown –m - اغلاق م \\computername3 \ \ computername3 –r ص -

This will restart three computers on my home network. هذا وسوف استأنف ثلاثة حواسيب على شبكة بيتي. You would of course replace computername1 with the actual names of your computers. كنت بطبيعة الحال computername1 تحل محل الأسماء الفعليه مع اجهزة الكمبيوتر. Then simple save the file with a .BAT file extension. بسيطة ثم احفظ الملف مع. بنت السلام ملف التمديد. You can put as many commands into the batch file as you like, so feel free to experiment! كما يمكنك وضع العديد من الأوامر دفعه الى الملف كما تريد ، لذا فلا تتردد في التجربه!

I’ve written an extensive post on لقد قمت خطى واسعة على وظيفة how to use batch files in Windows كيفية استخدام ملفات دفعة في ويندوز , so read that if you are not familiar with batch files. حتى اذا كنت تقرأ ان ليسوا مطلعين على ملفات دفعة. Enjoy! يتمتع!

Technorati Tags: Technorati العلامات : , ، , ، , ، , ، , ،

If you enjoyed this post, make sure you اذا كنت تتمتع هذه الوظيفة ، تأكد انك subscribe to my RSS feed اشترك في بلدي ار اس اس ! !

» Filed Under »المقدمة بصورة مشتركة بموجب احكام Computer Tips نصائح الكمبيوتر

Related Posts الوظائف ذات الصلة

Please post your comments/suggestions! يرجى بعد تعليقاتكم / اقتراحات!