Re: [XP] psexec

Autor: Dariusz Kiszkiel <dakotanews_at_op.pl>
Data: Fri 29 Apr 2005 - 11:08:20 MET DST
Message-ID: <d4sti5$hk8$1@news.onet.pl>

-=aciDRain=- <jaydee@op.pl> wrote in message news:d4ss35$nt8$1@news.onet.pl
> Użytkownik "Dariusz Kiszkiel" <dakotanews@op.pl> napisał w wiadomości
> news:d4sq65$31g$1@news.onet.pl...
>> -=aciDRain=- <jaydee@op.pl> wrote in message
>> news:d4si5h$4qj$1@news.onet.pl
>>> Uruchamiam procesy na zdalnym hoście, znając hasło administratora, za
>>> pomocą programu PSEXEC np.:
>>> psexec \\192.168.0.1 -u Admin -p haslo cmd
>>> Zdalny host to WinXP Pro SP2.
>>> Dlaczego na innych komputerach z tym samym systemem (gdy znam hasło
>>> admina) wyskakuje "Odmowa dostępu" przy próbie połączenia?
>> Domena? To spróbuj -u NAZWADOMENY\Admin
>> Grupa? -u NAZWAKOMPUTERA\Admin
> Grupa:
> psexec \\COMPNAME -u COMPNAME\Admin -p haslo cmd
> - odmowa dostępu
> psexec \\192.168.0.1 -u 192.168.0.1\Admin -p haslo cmd
> - także odmowa dostępu

Najpierw sprawdź 3 razy ;) czy użytkownik Admin ma uprawnienia
administracyjne na zdalnym komputerze.

"For those having problems getting the PSTools to run on the remote server
due to security warnings/access denied/etc., here are a couple of tips, at
least for Windows XP servers: - on the server turn off "simple file
sharing" - create a user on the server with the same login name and password
as the person who will be running psexec. - add that user to the
Administrators group on the server Very important (!): - Now that you have
changed the security on the server, open Computer Management and force all
sessions from this user to close (logging off doesn't always do it). Now the
server will see the user connect again and use the new security settings."

-- 
Darek (DAKOTA)
Received on Fri Apr 29 11:10:23 2005

To archiwum zostało wygenerowane przez hypermail 2.1.8 : Fri 29 Apr 2005 - 11:42:08 MET DST