PC Review


Reply
Thread Tools Rate Thread

changing Ips on the fly

 
 
Phil
Guest
Posts: n/a
 
      13th Feb 2004
I though this would be nice after my painstaking process of actualy
DOIN what u wanted!

i used a program from the res kit i cant rember were i dl from i have
a copy if u want called reg.exe plus Joining with the psstools that
are free, it searches in the registry for the ip and changes them u
may have to edit this to the way u want it to work
as my names are GAMES01 to GAMES50 so u will have to adapt this to
your needs

Please reply i would love to here about how it goes for u, all u need
to do is run from one pc and it will remotely do it then reboot your
pc

Enjoy Phil

;Start Of BATCH


SET /P paswd=[passwords]
@ECHO OFF
SET COUNT=1
SET Name=Games0
echo %Name%%COUNT%
:Loop
IF %COUNT% LSS 10 psexec \\%Name%%COUNT% -u administrator -p %paswd%
-c -i reg.exe find HKLM\SYSTEM\CurrentControlSet\Services
192.168.1.10%count% 192.168.2.10%count%
IF %COUNT% GEQ 10 psexec \\%Name%%COUNT% -u administrator -p %paswd%
-c -i reg.exe find HKLM\SYSTEM\CurrentControlSet\Services
192.168.1.1%count% 192.168.2.1%count%
psexec \\%Name%%COUNT% -u administrator -p %paswd% -c -i reg.exe find
HKLM\SYSTEM\CurrentControlSet\Services 192.168.1.254 192.168.2.10
psshutdown.exe -t 60 -r -f -m "Ip Changed Rebooting in 1 mins - PHIL
RULEZ =) =) =) Goodbye Have A Nice Day!!!" \\%Name%%COUNT%
:skip
SET /A COUNT=COUNT+1
IF %COUNT% GEQ 10 SET NAME=Games
IF %COUNT% EQU 50 GOTO end
goto :loop
:end
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NumberFormat not getting changing onFly changing the regional sett Dwipayan Das Microsoft Excel Programming 1 28th May 2010 07:55 PM
Changing row height in a data grid without changing font size =?Utf-8?B?S2FzZXk=?= Microsoft C# .NET 1 30th Jun 2006 12:20 AM
How to stop entire document style changing when changing 1 line? =?Utf-8?B?VHJveSBBLiBDb3VydG5leQ==?= Microsoft Word Document Management 4 1st May 2005 11:10 PM
Keeping Calendar times from changing when changing local time zone. George Lob Microsoft Outlook Discussion 1 22nd Nov 2004 05:14 PM
Difficulty in changing the Connection Server control path changing ... Samridhi Kumar Shukla Microsoft ASP .NET 1 30th Nov 2003 02:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:55 PM.