Waclaw Chrabaszcz
... there is no spoon ...

ActiveDirectory

Active Directory – How to promote Server 2012 R2 to DC and even more using PowerShell magic

It will be quick post, I have limited access to the Internet. Today we are going to promote Windows 2012 to Domain controller and move some unique roles to it. It can be handy in DR scenario, or when we are going to raise domain functional level. It is very easy task, so to make some fun I'm not going to touch a GUI. Prepare AD forest for Server 2012 if it is needed. Of course as a Schema Admin, of course it is one way ticket, so think twice before you do anything.Don't forget about backing up your ......

ADMT – How to migrate users and computers from domain to the other

As a first step you should prepare SQL server within destination domain, and install ADMT on server within destination domain. I am going to use Domain Controller for this role, what might not be a best practice. In production env DC should remain untouched. SQL 2005 Express SP3 is recommended for this build. Then we have to create DNS conditional forwarding to source domain Choose what you want to migrate Select Source and destination domain and DC Select users you are going to migrate Select target ......

A Windows Client and Site Link Costs

I was thinking that Windows client systems (XP, Vista, 7, 8) respects link costs. Let's use standard Microsoft diagram. If PC within Site B with default settings lose connection to every site B Domain Controller, it will not contact DC within Site A, it will try to use as a logon server random DC from the domain. And it could be Site D for example. In the real world scenario PC from New York will use DC from Sydney instead of WashingtonJ. To enable expected behavior we have to set followed policy: ......

A Windows 7 looking Terminal Server

Last time I posted as an old-school admin. You know what is wrong with old-schoolers ? Not old-schooled but rather outdated way of thinking. Many of us are still living in 80-thies and trying to develop Terminal Services environments in two colors and the highest possible compression level. What is another way of performance tuning? Let disable and remove everything, let will be nothing. Do you need a proof? Ask yourself did you remove the clock from the taskbar. If the answer is yes, you know what ......

How to install and configure DHCP server

Today I needed to create DHCP server ASAP in my LAB. Maybe this code is not so pretty … but it works. start /w ocsetup DHCPServersc config dhcpserver start= autonet start dhcpservernetsh dhcp add server %hostname% 192.168.1.100netsh dhcp server 192.168.1.100 add scope 192.168.1.0 255.255.255.0 Scope1 Scopevlan1netsh dhcp server 192.168.1.100 scope 192.168.1.0 add iprange 192.168.1.1 192.168.1.254netsh dhcp server 192.168.1.100 scope 192.168.1.0 add excluderange 192.168.1.100 192.168.1.150netsh dhcp ......

How to promote pure Server 2008 to Domain Controller

Yesterday I found something nice, but not obvious for me. You don't need to install and prepare anything just run: netsh interface ip set address "Local Area Connection" static 192.168.1.100 255.255.255.0 192.168.1.1netsh interface ip set dns "Local Area Connection" static 192.168.1.1dcpromo /answer:CREATE-TESTDOMAIN.txt and server will Install AD role, promote himself to DC, reboot and your domain is ready ! Sample answer file: [DCINSTALL]ReplicaOrNewDoma... ......

SC 2012 Orchestrator and Active Directory

Let's create my 1st Orchestrator runbook. I am going to load Active Directory Integration Pack. Register IP with Orchestrator Deploy IP to Runbook Server and Designer Now we have to create connection to Domain controller: Options | Active Directory - Adddon't worry this a random DC name, and isolated VM network J Let's create some runbookwithin Create User subscribe data from Published Data : Initialize Data Let's test it with Runbook Tester ......