Solved

Group Policy can break Perl Script Query??

Posted on 2010-11-17
13
406 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
ID: 34167836
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
ID: 34168230
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
ID: 34168464
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
ID: 34183726
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
ID: 34188676
I don't see an attachment on this thread.  How did you send me the settings file?
0
 

Author Comment

by:izharkhan
ID: 34188837
Hello Sir,
this is all settings...
Please check it...
Thanks
Izhar
CIS-Baseline.xlsx
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:izharkhan
ID: 34260959
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
ID: 34260986
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
ID: 34261068
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
ID: 34334622
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
ID: 34401578
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
ID: 34401835
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
ID: 34401865
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Losing network connectivity 8 70
Windows 2012 R2 Server -- SERIVCES checklist ? 4 94
Federation ID format? 3 31
Certificate Authority / Certificate Request 4 45
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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 to another domain controller. Log onto the new domain controller with a user account t…

919 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

17 Experts available now in Live!

Get 1:1 Help Now