Link to home
Start Free TrialLog in
Avatar of izharkhan
izharkhanFlag for United States of America

asked on

Group Policy can break Perl Script Query??

Hi,
I am running Perl script to get query to find process....but when i run Perl query with help of Win32::Process::Info i dont get all process....But while i am running Win32::OLE script i am getting all process with there names...(Windows 2000)
what in group policy breaking the perl script query?
I am attaching scripts and screen shots of there outputs.
Thanks in advance
Izhar
OLE.bmp
OLE.txt
Process-Old.txt
Process-Old.bmp
Avatar of Justin Owens
Justin Owens
Flag of United States of America image

Sometimes starting a search from a specific platform from which to jump is helpful and sometimes it is not.  What makes you think that it is GPO which is causing the problem with your script?
Avatar of izharkhan

ASKER

Hello DRUltima,
Becaz we create Group Policy and we move servers in that OU. before moving in that OU everything was working fine even if u can see screen shots it was showing all outputs when run Win32::Process::Info script......
but after moving servers in this OU applications start breaking, and these all are point of sale servers and live......when application start to brock we put those servers again to old OU and its working now.....Thats why i have doublt that it might Group Policy doing something that causing problems. while we run this script we cant get some process name.......thats shows that something is wrong in Group Policy. now we have find and fix that problem.
If you can check and if you know something and you can say something from this output it might help us to push our work further....
Thanks for your reply and really appreciate your advice.....
Thanks
Izhar
It would be very helpful to know what GPOs are applied to the OU in which the server experiences the error.  Can you post their settings?
Hello Sir,
Hope you doing well.
Sorry for reply late...
I sent you  the GPO settings file for your reference......
Thanks
Izhar
I don't see an attachment on this thread.  How did you send me the settings file?
Hello Sir,
this is all settings...
Please check it...
Thanks
Izhar
CIS-Baseline.xlsx
Hello Sir,
Hope you doing well.
I hope You got GPO settings....
Please let me know if you get time to look into it...
Thanks
Izhar :)
Izhar,  

I was out since Thanksgiving last week due to holiday and then a virus (bronchitis).  I will look over this info you posted and get back to this Question as quickly as I can.

Justin
Thanks Justin for your reply....I really need you help if you can advice me something that will be great help for me...
Thanks
Izhar
Hello Sir,
Hope you doing well.
Any luck with this if you get time to look at it??
Thanks
Izhar
Sorry for the delay in response.  I cannot see anything which would affect your script in GPO.  Might I suggest moving a machine which runs the script to a temporary OU and removing all linked GPOs from it to see if it runs as expected?
Hi DrUltima,
Thanks for your reply.
actually i tried to do that. i moved one of test server back to another OU and run this script and its shows all services and not a single application broke.  
any other suggestion or idea so that we can troubleshoot.....
Thanks again
Izhar :)
ASKER CERTIFIED SOLUTION
Avatar of Justin Owens
Justin Owens
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial