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.