Solved

Group Policy can break Perl Script Query??

Posted on 2010-11-17
13
401 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:izharkhan
  • 7
  • 6
13 Comments
 
LVL 31

Expert Comment

by:DrUltima
Comment Utility
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?
0
 

Author Comment

by:izharkhan
Comment Utility
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
0
 
LVL 31

Expert Comment

by:DrUltima
Comment Utility
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?
0
 

Author Comment

by:izharkhan
Comment Utility
Hello Sir,
Hope you doing well.
Sorry for reply late...
I sent you  the GPO settings file for your reference......
Thanks
Izhar
0
 
LVL 31

Expert Comment

by:DrUltima
Comment Utility
I don't see an attachment on this thread.  How did you send me the settings file?
0
 

Author Comment

by:izharkhan
Comment Utility
Hello Sir,
this is all settings...
Please check it...
Thanks
Izhar
CIS-Baseline.xlsx
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:izharkhan
Comment Utility
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 :)
0
 
LVL 31

Expert Comment

by:DrUltima
Comment Utility
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
0
 

Author Comment

by:izharkhan
Comment Utility
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
0
 

Author Comment

by:izharkhan
Comment Utility
Hello Sir,
Hope you doing well.
Any luck with this if you get time to look at it??
Thanks
Izhar
0
 
LVL 31

Expert Comment

by:DrUltima
Comment Utility
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?
0
 

Author Comment

by:izharkhan
Comment Utility
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 :)
0
 
LVL 31

Accepted Solution

by:
DrUltima earned 500 total points
Comment Utility
Turn on the GPOs one at a time until you find the one which breaks your script.  We can then focus on that GPO.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
O365 - Block owa access for some users 2 31
Generic ID in Windows Active directory 3 26
Perl tar error 8 28
ACTIVE DIRECTORY 4 23
[b]Ok so now I will show you how to add a user name to the description at login. [/b] First connect to your DC (Domain Controller / Active Directory Server) SET PERMISSIONS FOR SCRIPT TO UPDATE COMPUTER DESCRIPTION TO USERNAME 1. Open Active …
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now