Quickie: Software Restricion Policy vs AppLocker
Just a quick image about differences between “old” Software Restricion Policy and “new” AppLocker:
Now it’s easy to describe and remember.
Just a quick image about differences between “old” Software Restricion Policy and “new” AppLocker:
Now it’s easy to describe and remember.
I had to solve interesting problem today at one of our customer. Here is a short preview of customer’s environment:
AD Topology
Customer has following 5 sites:
All domain controllers are Global Catalogs. Replication was set manually. It’s configured to be in star topology with median in Site3. For each connection was defined newInter-Site Transport in AD Sites.
Replication works fine. Exchange servers are able to resolve all domain controler. I have checked this using DNS and also nltest.
Exchange Topology
There are four Exchange 2012 servers. Two are CAS/HUB servers put into CAS Array. CAS Servers and CAS Array IP addresses belong to Site4 IP Subnet. And two Mailbox server that are put into DAG. Both mailbox server and DAG IP addresses are in Site4. Problem is that one CAS/HUB and one Mailbox server are physically located in Site4 and one CAS/HUB and one Mailbox server are located physically in Site5. Between Site4 and Site5 are L2 networks for CAS/HUB and Mailbox server.
Everything works fine. All IP subnets are assigned to Site4 which means all Exchange servers use primary Global Catalog functionality from domain controller from Site4. Idea from network/security guys was to allow Exchange servers to use Global Catalog just from domain controllers located in datacenters – Site4 and Site5. So firewalls don’t let Exchange server to use Global Catalog from other domain controller besides those located in Site4 and Site5.
Problem
Problem appeared when domain controllers in Site4 went down. Exchange servers didn’t want to start and mount databases.
When we looked into Events we could see event 2080 which stated that Exchange AD Topology service sees just four domain controllers:
Exchange didn’t use those out-of-site domain controllers, because firewalls blocked it – regarding network/security guys recomendations. Question was why exchange servers didn’t see and use other domain controllers? It sees and uses only those four domain controllers (two in same AD site and two from central site).
After couple of minutes discusing with my coleague we find out that Exchange copies AD topology and it uses domain controllers in following way:
My colleague tried to convince me to believe it’s good idea and Exchange tries to protect you from some problems. But I don’t see any point of Exchange not contacting all domain controllers and contacing only domain controllers in the site and contacting domain controlers which replicate with domain controllers in site. I don’t see a poing of Exchange not trying to connect to Global Catalogs in Site1, Site2 and Site5. So this is the way Exchange looks for Global Catalog servers by design.
Proof of problem 🙂
I’ve done couple testing scenarios.
Exchange servers in Site4
Exchange servers in Site5
Exchange servers in Site1
Exchange servers in Site3
This is really proof of problem with Exchange locating DCs.
Solution
To solve this issue we could make two things:
We decided to create new AD Inter-site Transport.
I still don’t understand why Exchange doesn’t use all domain controllers in AD domain as I would think it would 🙁
Three days ago I installed Internet Explore 10.0 on my Windows 7 SP1. I downloaded it from here.
After couple seconds I found out only little changes. Design of buttons changes little bit. Also design of check boxes.
After couple minutes I found following new things:
Text box change
Now you can delete content of text box in one click. Clicking by X on the end of the box:
Password box change
On password box you can see what’s under stars:
Easy copy and paste
When you select text and pictures in IE 10.0, you can drag and drop it into some application (e.g. Word, Outlook, …). This is very neat and cool.
Faster
My personal feeling is that webpages are displayed much faster than before, but this can be just feeling 🙂
Last two weeks I had to update some NTP servers from one German company. When I requested new firmware I received following e-mail:
Dear Sir, unfortunately, I cannot provide a new firmware since your compact flash card is too small and the action might end up in a system’s inconsistency. Thus, you are also not the only customer who is affected by this, we offer bigger compact flash cards for 65€ each. Please let me know whether this is of interest for you and if you need an official offer. Mit freundlichem Gruß / With kind regards
So this made my very upset. To be able to upgrade to the newest version of firmware I had to pay 65EUR for new flashcard. So I wrote couple e-mail to this company. I wanted to know the reason why I need to invest more to NTP server. I found out that firmware got big and it cannot be uploaded into flash which came with NTP server. This looked weird to me. Why would I have to invest into device if manufacter’s engineers made a mistake. I already decided not to sell manufacter’s devices. And I though that was end of the story.
Today I received following e-mail:
Dear Ondrej, I just wanted to let you know that we dramatically improved our update procedure and, after an intensive clean-up, released the new firmware version 5.34h which can be installed on 64MB compact flash cards without any problems. The new release is 4 MB (~25%) smaller (!) than the previous version without removing any features. Although you already expressed your extreme dissatisfaction with our products and decided for yourself to not recommend or buy Meinberg products in the future, your feedback helped us to improve our software and I sincerely thank you for that. Best Regards, Heiko
So it’s funny how some angry and mad e-mails can change such a things. Now we can upgrade our devices. But I don’t think we will offer them anymore to customers 🙂
Sometimes you need to find out some basic informations about user in domain when you are regular user. You can use command:
net user USER_name /domain
and you get some informations:
Thanks to my coleague Peter Ivanco 🙂
I had to change NTP servers on 40 ESX servers today. When I started to click this settings via vShere Client I was bored after two pieces 🙂 Then I have decided to use vShere PowerCLI.
Run vShere PowerCLI. Then I had to connect to Virtual Infrastructure server:
Connect-VIServer vCenterSERVER_Name.domain
List all ESX servers and put this list into variable:
$hosts=Get-Cluster Cluster | Get-VMHost
And the last, run couple commands to proceed:
ForEach ($ESX in $hosts)
{
Remove-VMHostNtpServer -NtpServer “NTP_SERVER_OLD1” -VMHost $ESX | Out-Null;
Remove-VMHostNtpServer -NtpServer “NTP_SERVER_OLD2” -VMHost $ESX | Out-Null;
Add-VmHostNtpServer -NtpServer “NTP_SERVER_NEW_01” -VMHost $ESX | Out-Null;
Add-VmHostNtpServer -NtpServer “NTP_SERVER_NEW_02” -VMHost $ESX | Out-Null;
Get-VMHostService -VMHost $ESX | Where-Object {$_.key -eq “ntpd” } | Restart-VMHostService -Confirm:$false | Out-Null
}
And everything was set in couple of seconds 🙂
Remove-VMHostNtpServer – removes NTP settings for ESX
Add-VMHostNtpServer – adds NTP settings for ESX
Last command restarted ntpd service.
Have a nice day,
More and more are people working with Outlook 2007+, using Lync clients, … all of these applications have ability to show pictures of users in their interface. Let’s look how to implement picture into AD for some users.
Picture in AD is stored in one AD attribute called thumbnailPhoto. We need to put picture into this attribute. Exchange servers and other services use Global Catalog Domain Controllers to resolve attributes for objects in domains. So first of all we need to make sure attribute thumbnailPhoto is propagated into Global Catalog database. We need to modify properties of attribute thumbnailPhoto:
Regsvr32 schmmgmt.dll
Couple days ago something started to bother me. I use Microsoft Windows 7 and Internet Explorer 9.0 to browse on Internet. When you download some application from web, for example my favorite SSH/Telnet/Console client Putty, and you run this application, you get following warning:
Today we were implementing ACT 5.6 due to migration from Windows XP to Windows 7. My colleague reinstalled SQL Express and ACT twice because it didn’t work as expected. We were examining Windows 7 SP 1 and they were failing everytime he ran report.
Then we have looked into event logs and found out following errors:
and
Today I was preparing new AD test environment for myself. I’ve created new W2008R2 VMs and when I ran dcpromo.exe I’ve got following error:
This was just a funny thing I never saw 🙂
Recent Comments