?
Solved

How to access remote machine using different acess?

Posted on 2009-04-07
3
Medium Priority
?
233 Views
Last Modified: 2012-05-06
Hi experts,

I running a VB6 program that is doing some query and create a schedule task on remote machine. It works fine when I'm logged on my domain account which gives me administrator rights on all workstation. But if I try to run that program on a none domain account(user/computer), it doesn't work. I tried mapping a drive before but it gives only access to some queries but can't create the task.

Is it possible to specify a username for a connexion?

Thank you
0
Comment
Question by:EricPelletier
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 26

Accepted Solution

by:
EDDYKT earned 1500 total points
ID: 24095578
0
 

Author Comment

by:EricPelletier
ID: 24103375
This is a very great code but it doesn't do what I'm looking for.
To clarify the situation.
I'm running the VB6 applcation on a computer in montreal. This computer is not on the domain or is on another domain. That application is used t create a schedule task on a computer in vancouver. So I enter the vancouver computer name in the VBapp and the task parameter a of strat date and time, command line and the domain user accont and password to use to execute the task etc...

If I run the program on a computer in montreal on the same domain and with a user account that has admin right, it work great. The task is created on the vancouver pc and execute correctly. But if I run the program on a none domain computer or using a none admin account, it doesn't work.

What I would like to do is use the user account and password that I can specify in the VB app to autenticate and create the task on the remote machine.

I hope it is more clear now..

Thank you
0
 

Author Closing Comment

by:EricPelletier
ID: 31567712
Not exactly what I was looking for
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month11 days, 15 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question