Friday, July 29, 2011

Thursday, May 19, 2011

Check which Update Rollup version is installed on CRM

Browse to the CRM website.
Click on the “Help” button on the top right side of the window.
Click on “About Microsoft Dynamics CRM”
Get the build number displayed
Check build number with link below

http://crmdynamo.com/2010/03/check-which-update-rollup-version-is-installed-on-your-crm-environments/

Tuesday, May 10, 2011

Rename a SQL server

Check the server name:
Select @@ServerName

For a server with a default instance:
sp_dropserver 'old_name'
GO
sp_addserver 'new_name', 'local'
GO

For a server with a named instance:
sp_dropserver <'old_name\instancename'>
GO
sp_addserver <'new_name\instancename'>, local
GO

Restart the SQL Server instance

Thursday, April 14, 2011

Get list of VMs on physical host

  1. Run the VMM powershell module
  2. Get-VMMServer -ComputerName VMMserver.domain.com
  3. Get-VM -VMHost hostservername.domain.com | Format-List -property Name > output.txt

Tuesday, April 12, 2011

Restore iPhone without passcode

  1. Connect to iTunes
  2. Hold the Power and Home buttons for 10 secs.
  3. Release Power but keep holding Home for another 10 secs.
  4. iTunes should detect the phone in recovery mode, and prompt to restore.

Sunday, March 6, 2011

Event ID: 4007 DNS Server error

The DNS server was unable to open zone _msdcs.nwtraders.msft in the Active Directory from the application directory partition ForestDnsZones.nwtraders.msft. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and reload the zone. The event data is the error code.

Remove the offending zone entries from:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zone

Tuesday, February 15, 2011

Get MAC address remotely

Run from a command prompt: getmac /s (hostname)
To specify which user account to run under: getmac /s (hostname) /u (username) /p (password)

Sunday, February 13, 2011

Unknown device driver

http://thelazyadmin.com/blogs/thelazyadmin/archive/2011/02/11/determine-driver-for-unknown-device.aspx

WSUS update errors

Failed to contact server with 0x8024402c or Error 0x8024402c occurred while downloading update; notifying dependent calls:

Open elevated command prompt:
sc stop bits
sc stop wuauserv

rmdir /s "%windir%\SoftwareDistribution"
mkdir /s "%windir%\SoftwareDistribution"
cacls "%windir%\SoftwareDistribution" /G Everyone:F

gpupdate /target:computer

sc start bits
sc start wuauserv

wuauclt /detectnow

Tuesday, February 8, 2011

DNS refreshing on client and server

If you are having issues contacting a client from a DNS server as the IP address is outdated and you cannot wait til scavenging takes place, you will need to clear the IP address manually:
  1. Delete the offending DNS entry from the DNS console
  2. Clear cache on DNS server: dnscmd /clearcache
  3. Re-register client on DNS server: ipconfig /registerdns

Monday, February 7, 2011

Install Integration Components on 32-bit Server Core VM

If you are having issues installing the Integration Components package on a Server Core install of Windows Server 2008 32-bit while using Virtual PC then:
  1. first shutdown the VM
  2. open the VMC file for the VM (will be in the location that you specified when creating the virtual machine)
  3. open file in Notepad and disable the soundcard(sound_adapter)
  4. Restart the VM then install IC as normal

Friday, February 4, 2011

WDS logs on client

During install: Shift F10 to open cmd prompt > notepad > browse to x:\windows\panther > check setupact.log and setuperr.log

After install: c:\windows\panther > check setupact.log and setuperr.log