Re: Change computername

2012-10-18 Thread Anatoli Hristov
Thank you, I will test this, will keep you posted. Anatoli On Wed, Oct 17, 2012 at 7:47 PM, Ian Kelly ian.g.ke...@gmail.com wrote: On Wed, Oct 17, 2012 at 8:07 AM, Anatoli Hristov toli...@gmail.com wrote: Hello, Can you please help me out how can I change the computername of windows XP

Re: Change computername

2012-10-18 Thread Anatoli Hristov
It does not work the result is 0 And I don't find any documentation about it :( On Thu, Oct 18, 2012 at 8:41 AM, Anatoli Hristov toli...@gmail.com wrote: Thank you, I will test this, will keep you posted. Anatoli On Wed, Oct 17, 2012 at 7:47 PM, Ian Kelly ian.g.ke...@gmail.com wrote: On

Re: Change computername

2012-10-18 Thread Chris Angelico
On Thu, Oct 18, 2012 at 7:22 PM, Anatoli Hristov toli...@gmail.com wrote: It does not work the result is 0 And I don't find any documentation about it :( Microsoft's official documentation can usually be found at the other end of a web search. In this case:

Re: Change computername

2012-10-17 Thread Ian Kelly
On Wed, Oct 17, 2012 at 8:07 AM, Anatoli Hristov toli...@gmail.com wrote: Hello, Can you please help me out how can I change the computername of windows XP with or without the WIN32 module ? Untested: from ctypes import * ComputerNamePhysicalDnsHostname = 5 computer_name = u'COMPUTER'