954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

To control the windows services on the remote machine

Hi,

I'm a newbie in Perl programming.

I have to start/stop the Windows services running on the remote machine. So, I’m writing a script in Perl to accomplish this job.
So far, I’ have completed the following tasks.
• to access the windows services through Perl in my local machine.
• Able to connect to the remote machine (using telnet/socket programming).

The problem here is I’m not able to use the credentials viz. username and password to access the remote machine. Every time, it’s gives session expired even though Timeout is 50/100 seconds.
When I tried to connect to the remote machine using telnet at the DOS prompt, a blank screen will be displayed. It’s connected but, not asking for user name and password.

Can you please tell me how to access the remote machine from a Windows/Linux machine?

Thanks in advance.

ragsnayak
Newbie Poster
1 post since Aug 2009
Reputation Points: 10
Solved Threads: 0
 

This is the best book I know of that deals with windows system admin via perl:

http://www.amazon.com/Win32-Perl-Scripting-Administrators-Handbook/dp/1578702151/

mitchems
Posting Whiz in Training
295 posts since Feb 2009
Reputation Points: 26
Solved Threads: 38
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You