Re: Can't connect to remote computer.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Friznik" <Friznik@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:377A7727-9922-46F9-9429-5D1781284CD5@xxxxxxxxxxxxxxxx




None taken, I have taken these into account. The Second point is the
reason for asking the question in the first place. As mentioned in the
first
post. This script is run by the SMS system which runs the script locally
and
not as an admin. That is where the problem starts. I have tried
everything
I can think of to get the script to log-in to the workstation using admin
credentials without success. I have even tried to use the runas program
to
accomplish this but it requires you type in the password which sms can not
do. If you think of anything else I can try I would love to hear about
it.
Again Thank you.

Friznik.

Would it be possible to post your relevant code ?

And another thought. Is it possible for you to figure
out what user is running your script, then change that
users password to be the same as the local Local Admin
password on the remote system ?

Here is where I am going with this. There is a small bug
in the windows OS when you authenticate on remote systems.
Let's say you want to map a drive to a remote system and
authenticate as a specific user :

net use t: \\remotesystem\share /user:domain\user

If you do this, and the password for the user
excuting the "net use" is the same as the domain\user, they
will NOT be prompted for a password even if the user
names or domains are different, as long as they share
the same password. So, if you can figure out what user
is running your script, and change the user Password
to match the local Admin password on the remote system,
it may just let you have your way.

I am thinking that perhaps this will work for remote WMI
as well. I hope this makes sense, if not , holler back.


TDM


.



Relevant Pages

  • Using WMI to correctly identify the current user on a remote syste
    ... I'm working on a status script for deployment in our W2kSP4 and WXPSP1 ... logged into the remote system I receive faulty data. ... context of a user who has local admin rights on all the target systems. ... administrator, the code returns "null". ...
    (microsoft.public.scripting.wsh)
  • Using WMI to correctly identify the current user on a remote syste
    ... I'm working on a status script for deployment in our W2kSP4 and WXPSP1 ... logged into the remote system I receive faulty data. ... context of a user who has local admin rights on all the target systems. ... administrator, the code returns "null". ...
    (microsoft.public.scripting.wsh)
  • Re: Changing the local admin password base on the computers OU
    ... The intent is to put thsi script in a GPO that runs everytime the ... allowing us to cahnge local admin passwords pretty ... Your script appears to check for group membership. ... object and use the Parent method to retrieve the ADsPath of the parent ...
    (microsoft.public.scripting.vbscript)
  • RE: Changing local admin PW using vb logon script - can it be encrypted?
    ... > True enough, but to quote a tall, hairy dewd I've worked with ... > will only buy you 5 minutes while they search for the script ... I missed the tall hairy "dewd" reference, and I agree that security must ... local admin ought to have more protection than that. ...
    (Focus-Microsoft)
  • Re: On error resume next on encoded VB script
    ... I have a vb script that changes the local admin password of a ... My script tries to change ... since only one of the usernames will actually work. ... 'Change password for French local admin account ...
    (microsoft.public.vb.general.discussion)