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.