Solved

Group Policy can break Perl Script Query??

Posted on 2010-11-17
13
413 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 31

Expert Comment

by:Justin Owens
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:Justin Owens
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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:Justin Owens
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
 

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:Justin Owens
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:Justin Owens
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:
Justin Owens 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

691 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