|
-
Feb 5th, 2000, 05:16 AM
#1
Thread Starter
New Member
I have a similar situation that perhaps you may have an idea about...
I connect to a remote workstation (via UNC), copy some files from the network, and then I would like to reboot that remote workstation. Any suggestions would be greatly appreciated. Thx.
-
Feb 5th, 2000, 06:56 PM
#2
Addicted Member
what do you use to connect to the workstation? a self-written program or some other software?
it would be easy to create a seperate program to reboot the workstation, but if you use something you made yourself it would be better to implement the code to this program.
------------------
Razzle
ICQ#: 31429438
-
Feb 6th, 2000, 04:27 AM
#3
Thread Starter
New Member
It is a self written programme. I agree that it would be best to add the code to the existing programme.
Thx.
-
Feb 6th, 2000, 01:11 PM
#4
Addicted Member
The new version of RAS will do all of this and more. Check it out. It's in the Microsoft BackOffice stuff.
-
Feb 6th, 2000, 02:17 PM
#5
Thread Starter
New Member
Thanks HDR I will check it out. I would still like to know how to do it though...
-
Feb 6th, 2000, 06:28 PM
#6
-
Feb 7th, 2000, 10:14 AM
#7
Thread Starter
New Member
Thanks Razzle and Paul.
I have the code to shutdown my local workstation using ExitWindowsEx, but can't seem to make it work on a remote workstation. I would prefer not to have a programme running on the remote station though. It would be better to just issue a command from the source computer, but I can't seem to get the code right...Help!!!
-
Feb 7th, 2000, 12:37 PM
#8
Lively Member
Workstation that is the slave, has a listening program running on a particular port say, port 88. PC that you are using connects to workstation pc on port 88 sends username/password for security reasons then once its authenticated you can have full control, like have a menu, or just a simple command line or even..
"Press 1 to reboot"
"Press 2 to abort"
"Press 3 to copy files from \\Server\Files"
Just need to code a server program to run on workstation and listen on port 88 and make a little client or even use telnet and connect 
------------------
Regards,
Paul Rivoli
-------------------
[email protected]
http://users.bigpond.com/privoli
-
Feb 7th, 2000, 02:39 PM
#9
Lively Member
Let me know what you want and how you want to do it and ill send you some code. Must be a practical idea that will work and must work in vb5 cos I'm using vb5
------------------
Regards,
Paul Rivoli
-------------------
[email protected]
http://users.bigpond.com/privoli
-
Feb 7th, 2000, 02:56 PM
#10
Thread Starter
New Member
What I have is a simple programme that I run from an NT 4 workstation. The programme reads in a list of computer names from a text file. It then connects to the first one on the list by using the UNC (\\computername). The programme then copies four .ini files from a mapped network drive to the remote workstation. It is at this point that I would like to reboot the remote workstation before moving on to the next name in the list.
Hope that makes sense. Thx.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|