Windows Server 2008 R2 Server Core unattended setup from command line

build, to a dc running a brand new domain. I figured out a set of commands that achieve this, so thought I would share them with the world. Rename the Host Netdom renamecomputer <OldName> /NewName:<NewName>Netdom computername [origcomputername] /add Core.contoso.comNetdom computername [origcomputername] /makeprimary core.contoso.com See all the network adaptors Make a note of the number shown…

Read more Windows Server 2008 R2 Server Core unattended setup from command line

Group Policy WMI filtering

This is from hhttp://technet.microsoft.com/en-us/library/cc947846.aspx and http://technet.microsoft.com/en-us/library/cc758471.aspx but I have added more information with examples or WMI filters and a table of Windows version numbers and Product Types. WMI filters can take significant time to evaluate, so they can slow down logon and startup time. The amount of time depends on the construction of the query.…

Read more Group Policy WMI filtering

SCCM 2007 R2 – SQL Queries

To get an accurate list of computers to usernames vice versa, change the part in RED to suit SELECT     v_R_System.Netbios_Name0, v_R_System.User_Name0, v_RA_System_IPAddresses.IP_Addresses0, v_RA_System_IPSubnets.IP_Subnets0,                       v_GS_COMPUTER_SYSTEM.UserName0FROM         v_R_System INNER JOIN                      v_RA_System_IPAddresses ON v_R_System.ResourceID = v_RA_System_IPAddresses.ResourceID INNER JOIN                      v_RA_System_IPSubnets ON v_R_System.ResourceID = v_RA_System_IPSubnets.ResourceID INNER JOIN                      v_GS_COMPUTER_SYSTEM ON v_R_System.ResourceID = v_GS_COMPUTER_SYSTEM.ResourceIDWHERE     (v_RA_System_IPSubnets.IP_Subnets0 = ‘10.10.35.0‘) Or………. From two subnets SELECT    …

Read more SCCM 2007 R2 – SQL Queries

Users & Computers Inventory

This is to create an accurate inventory of user names to computer names and vice versa On a server, create a shared folder. Grant the share permission and NTFS permission for the folder to allow Full Control for the group Everyone. On your domain controller, create a new GPO at domain level. Edit the policy.…

Read more Users & Computers Inventory

Install Self Signed Exchange 2010 SSL certificate

For my example, my domains are… Local domain: vcp.local Outside domain: vcpdomain.com.au #NETBIOS name of Client Access exchange server:        vcpsydex01 #Internal FQDN (AD name):        vcpsydex01.vcp.local #External FQDN (Public name):        smtp.vcdomain.com.au #Autodiscover name:            autodiscover.vcdomain.com.au #SubjectName:                cn=smtp.vcdomain.com.au Run the following command on the Client Access Server for generating the new Self-Signed SSL cert using the names listed…

Read more Install Self Signed Exchange 2010 SSL certificate