|
-
Jan 26th, 2013, 12:23 AM
#1
Thread Starter
New Member
How do you connect to a remote PC?
Hey guys,
How do you connect to a remote PC in MS ACCESS? I am trying to write a program where I can input a computers name that is on the network in a form, and have it pull that computer up. Not remote desktop, but just connect to it. Once connected I wanted to pull data from it via WMI.
But, I can not find the code to search for a computer name and connect.
Example, if you go to cmd prompt and type in: shutdown -i, you get a popup box that lets you type in the computer name and then come simple commands that can shutdown, restart the remote PC. But, like I said. I was just looking for the part of code that can connect to the PC.
Any Ideas?
-
Jan 26th, 2013, 01:45 AM
#2
Re: How do you connect to a remote PC?
Well it really depends on what you mean by connect. And if you are trying to do this in Access then you are really in the wrong area of the forum as this section is for Visual Basic 6 and earlier. There is a different section for Office development. While Access does use VBA it is different and far more limited than VB.
-
Jan 26th, 2013, 01:57 AM
#3
Re: How do you connect to a remote PC?
What DataMiser said (is 100% of what I nearly said)
-
Jan 26th, 2013, 02:56 AM
#4
Re: How do you connect to a remote PC?
I don't think "searching for a computer" and then twiddling it via WMI is a fit topic here either. Too much potential for abuse.
People should harden their systems against WMI attacks anyway:
To enable or disable WMI traffic using firewall UI
In the Control Panel, click Security and then click Windows Firewall.
Click Change Settings and then click the Exceptions tab.
In the Exceptions window, select the check box for Windows Management Instrumentation (WMI) to enable WMI traffic through the firewall. To disable WMI traffic, clear the check box.
-
Jan 26th, 2013, 06:42 AM
#5
Re: How do you connect to a remote PC?
I have XP Pro SP3
I cannot see WMI in my list of Exceptions ?
-
Jan 26th, 2013, 06:30 PM
#6
Re: How do you connect to a remote PC?
Ahh, Great Auntie XP. Wasn't she a quaint old duck of an OS? 
The problem here is that prior to Vista the Windows Firewall was a lot simpler. In XP the firewall has no way to handle granular firewall rules.
This leaves you with a choice: disable networking (file and printer sharing) which will shut down all of DCOM and RPC, or else leave yourself vulnerable to Remote WMI exploits (Remote WMI uses DCOM).
Connecting to WMI Remotely Starting with Windows Vista
Starting with Windows Vista, WMI settings for Windows Firewall settings enable/disable only WMI connections, rather than other DCOM applications as well.
-
Jan 26th, 2013, 06:44 PM
#7
Re: How do you connect to a remote PC?
There is another choice of course.... use a 3rd party firewall
-
Jan 26th, 2013, 09:20 PM
#8
PowerPoster
Re: How do you connect to a remote PC?
To Upload/Download to the Remote PC, try the: INET Control.
For chatting, etc to the Remote PC, try the: Winsock Control.
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
-
Jan 27th, 2013, 01:17 AM
#9
Re: How do you connect to a remote PC?
Notwithstanding Dilettante's comments regarding WMI and the potential security implications, it should be remembered that WMI was designed to be used by System Administrators to assist in the Management of computers. As such, it already has the capability to interrogate and alter things on remote machines (if the System Administartor has enabled WMI remote access on those machines.)
Whether it's 'clunky', 'resource greedy' and the 'best' tool to use, is a different matter (personally, having played around with it, I wouldn't touch it again with a barge pole)
-
Jan 27th, 2013, 06:57 AM
#10
PowerPoster
Re: How do you connect to a remote PC?
Same here, cause I was once a System Adminstrator and then given rights to all of the Local Area Network, then just saying that Remote Desktop, etc are very bad ways of doing things, indeed they are. Believe you me that I cannot touch anything like that again, far too much responsiblity to handle and far too much data at stake...
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
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
|