hi Andrew,i found the issue when running the script/program, ITPAM creates a temp file in the script location which is specified when i did the installation under the user/appdata folder of the user ID i used to install ITPAM.
the domain ID i created did not have rights to write to the folder that's why i failed, i updated the temp script location to E:\temp its working now.