Ask your problem
Labels: Networking
* Using the Windows interface
* Using a command line
Using the Windows interface
- Open Command Prompt.
- Type:
shutdown /i to display the Remote Shutdown dialog box (Shutdown.exe). - Under Computers, click Add to enter computer names, or click Browse to open the Find Computers dialog box.
- Under What do you want these computers to do, click Restart or Shut down.
- If you did not anticipate restarting or shutting down the target computers at this time, clear the Planned check box.
- Select the appropriate reason from the list.
- If a comment is required, the OK button will not function until you type at least one character one in the text box.
Notes
- To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.
- To perform this procedure, you must have the user rights to force a shutdown from a remote system. For a list of security groups that have this permission by default on computers running Windows Server 2003 family operating systems, see "Privileges" under Related Topics.
- The Remote Shutdown dialog box can be displayed only by typing shutdown /i at the command prompt.
- If the remote computer is functioning properly, but Shutdown.exe fails to restart it or shut it down, wait for two minutes before making a second attempt: Either the log on dialog box or the unexpected shutdown dialog box is open on the remote computer, causing an error.
- Shutdown Event Tracker records data only for the Restart and Shutdown options.
- If the System State Data feature is enabled and you specify an unplanned reason for the restart or shutdown, a file containing relevant system data will be created in the %windir%\system32\LogFiles\Shutdown\ directory. The System State Data feature is enabled by default on all Windows Server 2003 family operating systems.
- For information on defining custom reasons, see "Best practices" under Related Topics.
- The Warn users of the action check box is selected by default.
Using a command line
- Open Command Prompt.
- Type:
shutdown /s /m \\ComputerName/d 1:1 to initiate an unplanned shutdown after a default wait period of 30 seconds, with the major reason, Hardware, and the minor reason, Maintenance.
Or,
Type:
shutdown /r /m \\ComputerName/t 60 /d p:4:2 to initiate a planned startup after waiting for one minute, with the major reason, Application, and the minor reason, Installation.
| value | Description |
|---|---|
/s | Shuts down the computer. |
/r | Restarts the computer after shutdown. |
/m \\ComputerName | Specifies the target computer. |
/t nnn | Sets the wait period before a restart or shutdown to nnn |
/d[p:]xx:yy | Lists the reason for the system restart, shutdown, or power off. The following rows describe the parameter values. |
p: | Indicates that the restart or shutdown is planned. If you do not use the p: option, Shutdown Event Tracker assumes that the restart or shutdown is unplanned. |
xx | Specifies the major reason number (from 0 through 255). |
yy | Specifies the minor reason number (from 0 through 65535). |
Notes
- To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.
- To perform this procedure, you must have the user rights to force a shutdown from a remote system. For a list of security groups that have this permission by default on computers running Windows Server 2003 family operating systems, see "Privileges" under Related Topics.
- For the complete command line syntax, see "Shutdown" under Related Topics, below.
- If the remote computer is functioning properly, but Shutdown.exe fails to restart it or shut it down, wait for 2 minutes before making a second attempt: Either the log on dialog box or the unexpected shutdown dialog box is open on the remote computer, causing an error.
- If the System State Data feature is enabled and you specify an unplanned reason for the restart or shutdown, a file containing relevant system data will be created in the %windir%\system32\LogFiles\Shutdown\ directory. The System State Data feature is enabled by default on all Windows Server 2003 family operating systems.
- For information on defining custom reasons, see "Best practices" under Related Topics.
Labels: Networking
You must first enable the Remote Desktop feature on your office computer so that you can control it remotely from another computer. You must be logged on as an administrator or a member of the Administrators group to enable Remote Desktop on your Windows XP Professional-based computer.
To setup your office computer to use Remote Desktop:
-
Open the System folder in Control Panel. Click Start, point to Settings, click Control Panel, and then double-click the System icon.
-
On the Remote tab, select the Allow users to connect remotely to this computer check box, as shown below.
-
Ensure that you have the proper permissions to connect to your computer remotely, and click OK.
-
Leave your computer running and connected to the company network with Internet access. Lock your computer, and leave your office.
The Remote Desktop Connection client software allows a computer running Windows 95, Windows 98, Windows 98 Second Edition, Windows Me, Windows NT 4.0 or Windows 2000 to control your Windows XP Professional computer remotely. The client software is available on the installation CD for Windows XP Professional and Windows XP Home Edition. The client software is installed by default on computers running Windows XP Professional and Windows XP Home Edition.
To install Remote Desktop Connection software on a client computer
-
Insert the Windows XP compact disc into your CD-ROM drive.
-
When the Welcome page appears, click Perform additional tasks, and then click Setup Remote Desktop Connection as shown below.
-
When the installation wizard starts, follow the directions that appear on your screen.
Once you have enabled your Windows XP Professional computer to allow remote connections, and installed client software on a Windows-based client computer, you are ready to start a Remote Desktop session.
To create a new Remote Desktop Connection
-
Open Remote Desktop Connection. (Click Start, point to Programs or All Programs, point to Accessories, point to Communications, and then click Remote Desktop Connection.)
-
In Computer, type the computer name for your computer running Windows XP Professional that has Remote Desktop enabled and for which you have Remote Desktop permissions
-
Click Connect.
-
The Log On to Windows dialog box appears.
-
In the Log On to Windows dialog box, type your user name, password, and domain (if required), and then click OK. The Remote Desktop window will open and you will see the desktop settings, files, and programs that are on your office computer. Your office computer will remain locked.
-
Nobody will be able to work at your office computer without a password, nor will anyone see the work you are doing on your office computer remotely. Note: To change your connection settings, (such as screen size, automatic logon information, and performance options), click Options before you connect.
To open a saved connection
-
In Windows Explorer, open the My DocumentsRemote Desktops folder.
-
Click the .Rdp file for the connection you want to open. Note: A Remote Desktop file (.rdp) file contains all of the information for a connection to a remote computer, including the Options settings that were configured when the file was saved. You can customize any number of .rdp files, including files for connecting to the same computer with different settings. For example, you can save a file that connects to MyComputer in full screen mode and another file that connects to the same computer in 800×600 screen size. By default, .rdp files are saved in the My DocumentsRemote Desktops folder. To edit an .rdp file and change the connections settings it contains, right-click the file and then click Edit.
To log off and end the session
-
In the Remote Desktop Connection window, click Start, and then click Shut Down.
-
The Shut Down Windows dialog box appears.
-
In the drop-down menu, select Log Off , and then click OK.
Labels: Networking
You should not use this feature in an existing network with Windows 2000 Server domain controllers, DNS servers, gateways, DHCP servers, or systems configured for static IP addresses.
Enabling ICS
The ICS host computer needs two network connections. The local area network connection, automatically created by installing a network adapter, connects to the computers on your home or small office network. The other connection, using a 56k modem, ISDN, DSL, or cable modem, connects the home or small office network to the Internet. You need to ensure that ICS is enabled on the connection that has the Internet connection. By doing this, the shared connection can connect your home or small office network to the Internet, and users outside your network are not at risk of receiving inappropriate addresses from your network.
When you enable ICS, the local area network connection to the home or small office network is given a new static IP address and configuration. Consequently, TCP/IP connections established between any home or small office computer and the ICS host computer at the time of enabling ICS are lost and need to be reestablished. For example, if Internet Explorer is connecting to a Web site when Internet Connection Sharing is enabled, refresh the browser to reestablish the connection. You must configure client machines on your home or small office network so TCP/IP on the local area connection obtains an IP address automatically. Home or small office network users must also configure Internet options for Internet Connection Sharing. To enable Internet Connection Sharing (ICS) Discovery and Control on Windows 98, Windows 98 Second Edition, and Windows Millennium Edition computers, run the Network Setup Wizard from the CD or floppy disk on these computers. For ICS Discovery and Control to work on Windows 98, Windows 98 Second Edition, and Windows Millennium Edition computers, Internet Explorer version 5.0 or later must be installed.
To enable Internet Connection Sharing on a network connection
You must be logged on to your computer with an owner account in order to complete this procedure.
Open Network Connections. (Click Start, click Control Panel, and then double–click Network Connections.)
Click the dial–up, local area network, PPPoE, or VPN connection you want to share, and then, under Network Tasks, click Change settings of this connection.
On the Advanced tab, select the Allow other network users to connect through this computer's Internet connection check box.
If you want this connection to dial automatically when another computer on your home or small office network attempts to access external resources, select the Establish a dial–up connection whenever a computer on my network attempts to access the Internet check box.
If you want other network users to enable or disable the shared Internet connection, select the Allow other network users to control or disable the shared Internet connection check box.
Under Internet Connection Sharing, in Home networking connection, select any adapter that connects the computer sharing its Internet connection to the other computers on your network. The Home networking connection is only present when two or more network adapters are installed on the computer.
To configure Internet options on your client computers for Internet Connection Sharing
Open Internet Explorer. Click Start, point to All Programs, and then click Internet Explorer.)
On the Tools menu, click Internet Options.
On the Connections tab, click Never dial a connection, and then click LAN Settings.
In Automatic configuration, clear the Automatically detect settings and Use automatic configuration script check boxes.
Labels: Networking