Archive

Archive for the ‘Uncategorized’ Category

DPM on Server 2008 with Windows Firewall

March 25th, 2009

No matter what the MS documentatation states with regards to DPM agent installer automatically setting firewall rules I had no luck with a remote install on a firewall enabled server.

The workaround is remarkably simple.

1. Disable the firewall on target server

2. Deploy the agent and reboot

3. On the target server in an administrator’s command prompt run C:\Program Files\Microsoft Data Protection Manager\DPM\bin\SetDpmServer.exe -dpmServerName <servername>

4. Re-enable the firewall on the target server

Wojtek Uncategorized ,

Troubleshooting slow logons – Pt1

February 4th, 2009

Enabling Verbose Logging

Rather than poking in the dark trying to work out the delays you can turn on verbose logging for the userenv process.

 

  1. Open the registry of the computer/server you are troubleshooting
  2. Browse to the following key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. Right click Winlogon, select New, and then chosse DWORD
  4. Enter the following name for the DWORD Value: UserEnvDebugLevel
  5. Enter 30002 as a hex value

 

Userenv will now log to %systemRoot%\Debug\UserMode

Grab a copy of Policy Reporter from SysPro Soft, this will help you in parsing the log files, alternativley you can open the files in notepad/wordpad and run through them manually

Wojtek Uncategorized

Server Core 2008 – Domain Controller

October 31st, 2008

Something as trivial as setting up a domain controller has become slightly tricky with the lack of a GUI. Normally I wouldn’t bother with deploying server core but i’m keen to keep overheads low on the VMware servers.

 

Set server name

In a command prompt type:
netdom renamecomputer %computername% /NewName:dc-dev-2

Set IP

Determine the name of the interface to change, more often than not it will be Local Area Connection

netsh interface ipv4 show interfaces

Idx  Met   MTU   State        Name
—  —  —–  ———–  ——————-
  2   10   1500  connected    Local Area Connection
  1   50 4294967295  connected    Loopback Pseudo-Interface 1

Time to change the IP

netsh interface ipv4 set address name=”Local Area Connection” source=static address=192.168.10.11 mask=255.255.255.0 gateway=192.168.10.254

And set the DNS

netsh interface ipv4 add dnsserver name=”Local Area Connection” address=192.168.10.18 index=1

Repeat as needed for secondary, tertiary etc, just be sure to increase the index value 

Join domain

We return to the netdom command, the trailing asterix will prompt you to type in the password (safer) but you can just hard code it in

netdom join %computername% /domain:blerg.local /userd:Administrator /passwordd:*

 Install DHCP and DNS services (optional)

the following lines install DNS and DHCP, handy to have but not essential, really depends on your existing network topology

start /w ocsetup dns-server-core-role

start /w ocsetup dhcpservercore

 

 

DCPROMO

To run dcpromo in a GUIless environment you need to create an unattend file

edit unattend.txt

paste in the following

Wojtek Uncategorized