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)

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
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
Trailers Game
- The Banner Saga 2 [PS4/XOne/PC] PC Launch Trailer
- Welkin Road [PC] Early Access Trailer
- 7th Dragon III Code: VFD [3DS] Character Creation Trailer
- Human: Fall Flat [PS4/XOne/PC] Coming Soon Trailer
- Battlefleet Gothic: Armada [PC] Eldar Trailer
- Neon Chrome [PS4/XOne/PC] PC Release Date Trailer
- Rocketbirds 2: Evolution [Vita/PS4] Launch Trailer
- Battleborn [PS4/XOne/PC] 12 Min Gameplay Trailer
- 7 Days to Die [PS4/XOne/PC] Console Trailer
- Total War: Warhammer [PC] The Empire vs Chaos Warriors Gameplay Trailer
- Umbrella Corps [PS4/PC] Mercenary Customization Trailer
- Niten [PC] Debut Trailer
- Stellaris [PC] Aiming for the Stars - Dev. Diary Trailer #1
- LawBreakers [PC] Dev Diary #4: Concept Art Evolutions
programming4us programming4us
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
 
programming4us
Natural Miscarriage
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer