Monday, 10 February 2014

#Windows Network - Disable Autoconfiguration IPv4 Address

C:\Users\Administrator> Ipconfig /all

Show as below:


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82567LM-3 Gigabit Network Connection
Physical Address. . . . . . . . . : 00-23-24-08-30-57
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::8508:6cb9:5112:f8c9 (Preferred)
Autoconfiguration IPv4 Address. . : 169.254.248.201(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0

IPv4 Address. . . . . . . . . . . : 192.168.10.100(Duplicate)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.10.1
DNS Servers . . . . . . . . . . . : 192.168.10.1
NetBIOS over Tcpip. . . . . . . . : Enabled


Run Command Prompt as Administrator

C:\Users\Administrator> netsh interface ipv4 show inter

Show as below:




C:\Users\Administrator> netsh interface ipv4 set interface 4 dadtransmits=0 store=persistent

** Idx no. = interface you want to set

netsh interface ipv4 set interface 'idx no.' dadtransmits=0 store persistent


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.