Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
programming4us
Windows 7

Advanced Windows 7 Programming : Working in the Background - DEVELOPING TRIGGER-START SERVICES (part 5)

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/8/2014 8:27:57 PM

5. Testing the TriggerStartService

At this point, you have a trigger-start service you can use to monitor Telnet utility Port 23. Of course, before you can use Telnet, you need a Telnet server and the proper system setup. Once you do have a Telnet setup installed and tested, you need to install and check the service. Finally, after all this effort, you can open a Telnet connection, check something simple, and then close the Telnet connection. Viewing the event log shows the result of all the work to date. The following sections help you configure and test the service.

5.1. Configuring Telnet

Many networks don't use a Telnet setup any longer because Telnet can become a security liability if it isn't managed correctly. You can find a host of articles on the Internet about Telnet security — one of the better articles is at http://www.interwork.com/blog/2008/11/18/qa-how-to-eliminate-the-security-risks-associated-with-telnet-ftp/. Telnet is still a useful protocol because it works on nearly any system, it's reliable, and it's simple. Even if you don't currently have a Telnet setup to use, you can still configure Windows 7 to provide localized Telnet services using the following steps:

  1. Open the Programs and Features applet in the Control Panel. You'll see the Programs and Features window.

  2. Click Turn Windows Features On or Off. You'll see the Windows Features dialog box, shown in Figure 4.

    Figure 4. Install the Telnet Server feature to provide Telnet support.
  3. Check the Telnet Server option and click OK. Windows will install the Telnet Server feature on your system. However, the Telnet Server won't be available immediately because the Telnet service is installed in a disabled state.

  4. Open the Services console found in the Administrative Tools folder of the Control Panel. Locate the Telnet service.

  5. Double-click the Telnet service entry, and you'll see the Telnet Properties dialog box shown in Figure 5. The figure shows the Telnet service as it will appear after Step 7.

  6. Select Manual in the Startup Type field and click Apply. This action will enable the Start button near the bottom of the Telnet Properties dialog box.

    Figure 5. Configure and start the Telnet service to provide access to Telnet.
  7. Click Start and click OK. Windows will start the Telnet service. However, you still can't access Telnet because Windows has placed a security obstacle in your way.

  8. Open the Computer Management console found in the Administrative Tools folder of the Control Panel.

  9. Open the Computer Management\System Tools\Local Users and Groups\Users folder.

  10. Double-click your account in the Users folder. You'll see the Properties dialog box for your account.

  11. Select the Member Of tab. You see the list of groups that you're a member of.

    Figure 6. Add your account to the TelnetClients group.
  12. Click Add. You'll see the Select Groups dialog box.

  13. Type TelnetClients in the Enter the Object Names to Select field. Click OK. Your Properties dialog box should look similar to the one shown in Figure 6 (with TelnetClients in the Member Of list).

  14. Click OK to close the Properties dialog box.

  15. Choose Start => All Programs => Accessories. Right-click the Command Prompt entry and choose Run As Administrator from the Context menu. You'll see a command prompt open.

  16. Type Telnet MachineName and press Enter, where MachineName is the name of your system. You'll see a prompt that tells you about a potential security risk of using Telnet (sending your password over the network). Because this is a localized test, you shouldn't have anything to worry about — no information is actually going across the network.

  17. Type Y and press Enter. You'll see a command prompt like the one shown in Figure 7. This is a command prompt accessed using Telnet. If you see this command prompt, you know your Telnet setup is configured and working properly.

    Figure 7. This command prompt is the result of a working Telnet setup.
  18. Type Exit and press Enter to end the Telnet session. Telnet will display the "Connection to host lost" message in the command prompt.

  19. In the Services console, right-click the Telnet entry and choose Stop from the Context menu. This action closes Port 23.

Other -----------------
- Advanced Windows 7 Programming : Working in the Background - ADVANTAGES OF WORKING IN THE BACKGROUND
- Microsoft Visio 2010 : Importing Graphics (part 6) - Importing AutoCAD Drawings - Manipulating an Imported AutoCAD Drawing and Adding Furniture
- Microsoft Visio 2010 : Importing Graphics (part 5) - Importing AutoCAD Drawings - Inserting an AutoCAD File
- Microsoft Visio 2010 : Importing Graphics (part 4) - Adding Excel Charts to Your Diagrams, Importing Vector Graphics
- Microsoft Visio 2010 : Importing Graphics (part 3) - Adding Clip Art to Your Diagrams
- Microsoft Visio 2010 : Importing Graphics (part 2) - Using Images as Shapes in Visio - Handling Bitmaps and Jaggies
- Microsoft Visio 2010 : Importing Graphics (part 1) - Using Images as Shapes in Visio - Working with Images
- Microsoft Visio 2010 : Using Special Shape Features (part 2) - Control Handles , Hyperlinks, Action Tags
- Microsoft Visio 2010 : Using Special Shape Features (part 1) - Right-Click Actions,Shape Data Fields
- Microsoft Visio 2010 : Working with Text (part 3) - Text Resizing Behavior
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server