Friday, 29 November 2013

Replicate From Site DC Error

The following error occurred during the attempt to synchronize naming context from domain controller



Make Sure DC and DNS Server healthy.
Make Sure Firewall NOT blocking between sites.   

Resolution
1. Run repadmin /syncall
2. Make sure Syncall Finish without error
3. Replication should able to run

#Active Directory - Netdom Query FSMO Error

The procedure entry point I_NetNameValidate could not be located in the dynamic link library NETAPI32.dll

Resolution
1. Right click on computer --> Properties --> Advanced system settings --> Advanced --> Environment Variables
2. On bottom, System variables, double click on Path
3. Add %SystemRoot%\system32;  in front of C:\Program Files\...........

*As Highlighted.

Thursday, 28 November 2013

Installation Microsoft .Net Framework Error

Unhandled exception has occurred in your application. If you click
Continue the application will ignore this error and attempt to continue. if you click Quit, the application will close immediately.


Method

1. Delete the 11.0.0 folder (highlighted path).
If SQL 2008 = 10.0.0
If SQL 2008 R2 = 10.5.0
Example: C:\Users\Username\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_............\11.0.0
delete the 11.0.0 folder

*your installation version maybe different.

2. Rerun the SQL installation.

Thursday, 14 November 2013

.PS1 cannot be loaded because running scripts is disabled on this system.

Unable run PowerShell file (.ps1) in Command Prompt.


Method

1. Run command Prompt as Administrator
2. Go C:\Windows\SysWOW64\WindowsPowerShell\v1.0 diretory
3. Type powershell.exe -command set-executionpolicy unrestricted

Wednesday, 13 November 2013

#Windows 8 - Bluetooth devices disconnect intermittent on Windows 8 (mouse, keyboard and etc)

Bluetooth devices (mouse, keyboard, etc) keep disconnect on Windows 8

Method
Disable Bluetooth adapter power saver

1. Go device manager
2. Expend Bluetooth

3. Right click on Bluetooth adapter, select properties
4. Select Power Management tap
5. Uncheck Allow the computer to turn off this device to power save

Monday, 4 November 2013

#Hyper-V - Convert VHDX to VHD

Using Windows 2012 or Windows 8 Convert Hyper-V VM Format .vhdx to .vhd

Method

1. Create a new virtual disk form hyper-v manager


2.  Select VHD format.


3. Select Disk Type.


4. Enter a name for new vhd.


5. Select Copy the contents of the specified virtual hard disk. Click Browse, to select the .vhdx file than you want to convert.


6. After select the .vhdx, click finish. Content will start copy form vhdx to vhd.






Sunday, 8 September 2013

#Windows DHCP - Windows 2008 DHCP Server Services unable to start on RODC Server.

Error 1: Attempt to configure DHCP Server Failed. The DHCP Server service could not be started in a timely manner.

Error occur while add DHCP role on RODC server.

Error 2: Windows could not start the DHCP Server service on local Computer.
              Error 50: The request is not supported. 

Error occur while start the DHCP service.

Cause
RODC is read-only domain controller, unable to create DHCP Administrators group and DHCP Users group.

Resolution
Make sure DHCP Administrators Group and DHCP Users Group is created in Active Directory.
Can create DHCP Administrators Group and DHCP Users Group manually or add DHCP role on one of a writable Domain Controller, group will create automatically.
1. If create DHCP Administrators Group and DHCP Users Group manually, create group as domian local and security type. Make group naming is correct.
 

2. If add DHCP role on writable DC, you can remove the DHCP role after the group are created, group will remain in active directory.

Friday, 6 September 2013

#Windows 8 - Unable Create Wireless Adapter As Virtual Switch On Windows 8 Hyper-V

Error-Failed while adding virtual Ethernet switch connections.


Resolution 1 - Re-install Wireless adapter driver
1. Go to device manager uninstall the wireless adapter driver without delete the driver.
2. Re-scan driver.
3. Once wireless driver installed, restart windows. After restart, should able to create wireless adapter as virtual switch.  

Check NTP Server time

Check NTP Server time
 
In command prompt, type net time \\IP address
 

Monday, 22 July 2013

SCCM 2012 - Setup unable to connect to SQL Server with the connection infomation provided


1. Open SQL Server Configuration Manager
2. Expend SQL Server Network Configuration, select Protocols for MSSQLSERVER (instance name for sccm database).
3. Make sure TCP/IP Enable.
4. Right click on TCP/IP, select properties, make sure under IPAll, TCP Dynamic Ports is blank and TCP Port is correct.
5. Restart SQL server service.

Thursday, 6 June 2013

#WSUS - install on Windows Server 2012 fail - fatal error failed to start and configure the wsus service

Error 'fatal error failed to start and configure the wsus service'

1. Remove WSUS administrator site on IIS Manager.
    Right click WSUS administrator, remove.

Wednesday, 5 June 2013

#SCCM 2012 - SCCM 2012 SP1 Error - Setup could not install SQL RMO configmgr installation cannot be completed

Setup could not install SQL RMO configmgr installation cannot be completed


1. Close the installation and exit SCCM setup.
2. Navigate SCCM prequisite folder, uninstall SQL Management Object by run SharedManagementObjects.msi.

 3. Run the SCCM Setup agains as normal.

Monday, 27 May 2013

Update SQL 2008 r2 Service Pack 2 into SQL 2008 r2 Installation Pack - Slipstream procedure

Install SQL 2008 R2 in Windows server 2012 Cluster required SP


1. Download SQL 2008 r2 sp2. Save in C: drive
     http://www.microsoft.com/en-my/download/details.aspx?id=30437

2. Extract SQL sp2 to C: drive.
    Command prompt: SQLServer2008R2SP2-KB2630458-x64-ENU /x:C:\SP2
 
3. Run the Service pack setup files.
    Command prompt: SP2\1033_enu_lp\x64\setup\sqlsupport_msi\sqlsupport.msi
 


 
 
4. Run the SQL setup files from SQL media kit.
     a) Change directory. Command prompt: z:    (my media kit in Z:)
     b) Run setup.  Command prompt: setup.exe /PCUSource=C:\SP2
    
    Note: If install SQL 2008 r2 in Windows Server 2012, Program Compatibility Assistant will prompt. Select Run the program without getting help.
 
5. Install SQL as normal.
 
 
6. Verify have completed a slipstream update.
 
    a) On Installation Rules, Update Setu Media Language Compatibility show in list as below.
 
    b)On ready to install, right panel under action, install slipstram show as below.
 

#Windows Server 2012 - Install .Net Framework 3.5 features

First remove windows update KB below if installed.
  • KB2966826
  • KB2966827
  • KB2966828


Method 1

1. Add feature, select .Net Framework 3.5 features

2. Select Specify an alternate sources path (highlighted) 

3. Enter D:\Sources\SxS\     (D: = Windows server installation kit or mount the ISO, my drive here is D:)

4. .NET Framework installed.

Note: If unable to install, try copy ISO to local disk and mount agains, or change another installation kit.

Saturday, 11 May 2013

#Hyper-V - Live Migrating "Migration Attempt Failed" - Error 1205

Hyper-V Live Migrating "Migration Attempt Failed" - Error 1205

Error 1205 The Cluster service failed to bring clustered service or application "ServerName" completely online or offline. One or more resources may be in failed state. This may impact availability of clustered service or application.

Method

Disable antivirus or

Antivirus scan exclude "ClusterStorage" folder

exclude *.XML
              *.VHD
              *.VHDX
              *.AVHD
              *.AVHDX
              *.VFD
              *.VSV
              *.ISO

exclude VMMS.exe
              VMWP.exe

Optional:
exclude C:\ProgramData\Microsoft\Windows\Hyper-V
              C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks

Wednesday, 24 April 2013

#Hyper-V - Remove Hidden Network Adapter

Remove Hidden Network Adapter

-Cannot rename this connection. A connection with the name you specified already exists. Specify a different name.
-The IP address XXX.XXX.XXX you have entered for this network adapter is already assigned to another ....




1. System properties > Advanced > Environment Variables...


2. On System variables, select New..., on Variable Name enter devmgr_show_nonpresent_devices
on Variable Value enter 1




3. On Device Manager, click on view, select Show hidden devices.

4. Expend Network adapters, uninstall hidden network.
Hyper-V  (Microsoft Hyper-V Network Adapter)
Physical   (Physical Network Adapter)
*Don't uninstall RAS Async Adapter or any other than Microsoft Hyper-V Network Adapter/Physical Network adapter.