>>As per the security reason, we have to keep
>>the expiration process to continue,
>>but we have to keep the same password for all
>> the time by running script.
You're 2 requirements are mutually exclusive. What is the point of expiring passwords if you are keeping the same password all the time? Stop and think about it a minute.
It just does not make sense. The first is good security practice. But the 2nd is just plain crazy.