Tuesday, 9 March 2021
Fixing Java KVM client error with 'Connection Failed'
Java 8u171 disables the use of the 3DES_EDE_CBC cipher. Solution is to reconfigure Java by editing and removing 3DES_EDE_CBC from the following file
lib\security or conf\security \ jdk.tls.disabledAlgorithms.
Monday, 27 January 2020
Create Windows 10 USB Install Media
1. Install USB drive (min 4GB)
2. Launch cmd as admin (Windows+R & 'cmd' & Ctrl+Shift+Enter).
3. Run diskpart
C:\Windows\system32> diskpart
4. Run list disk
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 512 GB 0 B
Disk 1 Online 256 GB 0 B
5. Select flash drive disk number
DISKPART> select disk 1
6. Run clean
WARNING: This deletes all data on your drive
DISKPART> clean
7. Create a partition
DISKPART> create partition primary
8. Select the new partition
DISKPART> select partition 1
9. Format the partition
DISKPART> format fs=ntfs quick
10. Set the current partition as Active
DISKPART> active
11. Exit diskpart
12. Mount your ISO (right click iso file and select mount)
13. Install boot sector from mounted image (L:) to USB drive (E:)
C:Windows\system32> L:
L:\> cd boot
L:\boot> bootsect.exe /nt60 E:
14. Copy ISO files (L:) to USB Drive (E:)
L:\> xcopy L:\*.* e:\ /E /H /F
Tuesday, 17 April 2018
Monday, 26 June 2017
Common email providers and server addresses / ports:
List of common email services providers together with their associated IMAP server addresses.
Google Mail
imap.gmail.com:993smtp.gmail.com:465 (SSL)
outgoing server requires authentication
alternatively
imap.gmail.com:993
smtp.gmail.com:587 (TLS)
outgoing server requires authentication
Yahoo Mail
imap.mail.yahoo.com:993smtp.mail.yahoo.com:465
outgoing server requires authentication
Tuesday, 21 March 2017
How to rename, sort and organise files, based on filename using PowerShell.
The following PowerShell script takes a list of files in a given folder, creates a new folder based on the given filename, and moves the given file, into that fold.
foreach($file in (Get-ChildItem 'x:\vol\movies\renew' | Where {(-not $_.PSIsContainer) -and (-not $_.PSIsContainer)}))
{New-Item -Path (Split-Path $file.fullname) -Name (Split-Path $file.fullname -Leaf).ToString().Replace(".avi","") -ItemType Directory
Move-Item -Path $file.fullname -Destination "$(Split-Path $file.fullname)\$((Split-Path $file.fullname -Leaf).ToString().Replace('.avi',''))"}
Friday, 10 March 2017
How to Change Network Profiles with PowerShell?
Change Network Profile Using PowerShell
The three network profiles in Windows 10 are:- Private: Computers on a private network can belong to a home group. Network discovery is turned on for private networks, which allows you to see other computers and devices on the network.
- Public: Designed to keep your computer from being visible to other computers around you and to help protect your computer from any malicious software from the Internet.
- Domain: It belongs to enterprise network. It’s controlled by network admin and can’t be selected and changed locally.
1. Open PowerShell and run it as administrator. Then type “Get-NetAdapter” and press enter to see all network adapters.
2. To fine the network adapter profiles, type “Get-NetConnectionProfile” and press enter. You can specify the network connection with “-InterfaceAlias” parameter. It show only the exact network connection information.
The network category is public, so try to change to private network with “Set-NetConnectionProfile” cmdlet.
3. To change Public network to Private network, simply type “Set-NetConnectionProfile -InterfaceAlias Ethernet -NetworkCategory Private” and press enter.
4. To see the result, type “Get-NetConnectionProfile” or specify the network adapter name with “-InterfaceAlias” parameter.
Good, the public network has been changed to private network successfully. You can do the same to change private network to public.
Monday, 27 February 2017
How to configure network connection using Powershell
Add a new IP Address
New-NetIPAddress –InterfaceAlias “Wired Ethernet Connection” –IPAddress “192.168.0.1” –PrefixLength 24 -DefaultGateway 192.168.0.254
PS C:\> New-NetIPAddress –InterfaceIndex 12 –IPAddress 192.168.0.1
PS C:\> Remove-NetIPAddress –IPAddress 192.168.0.1
PS C:\> Get-NetIPAddress –IPAddress 192.168.0.1 | Remove-NetIPAddress
PS C:\> Remove-NetIPAddress –PrefixOrigin Manual
Add a new IP Address
New-NetIPAddress –InterfaceAlias “Wired Ethernet Connection” –IPAddress “192.168.0.1” –PrefixLength 24 -DefaultGateway 192.168.0.254
PS C:\> New-NetIPAddress –InterfaceIndex 12 –IPAddress 192.168.0.1
PS C:\> Remove-NetIPAddress –IPAddress 192.168.0.1
PS C:\> Get-NetIPAddress –IPAddress 192.168.0.1 | Remove-NetIPAddress
PS C:\> Remove-NetIPAddress –PrefixOrigin Manual
Thursday, 10 September 2015
Clone Vmware Guest (Template)
Use the following syntax to clone a snapshot of a VMware guest:
vmkfstools -i source_path destination_path -d disk_format -a adapter_type
Example Syntax
vmkfstools -i /vmfs/volumes/local_ssd_vmfs5_disk0/GoldWin10Ent64/GoldWin10Ent64-000001.vmdk /vmfs/volumes/nfs_ssd_vmfs5_disk1/Win10ws01.domain.com/Win10ws01.domain.com.vmdk -d thin
vmkfstools -i source_path destination_path -d disk_format -a adapter_type
Example Syntax
vmkfstools -i /vmfs/volumes/local_ssd_vmfs5_disk0/GoldWin10Ent64/GoldWin10Ent64-000001.vmdk /vmfs/volumes/nfs_ssd_vmfs5_disk1/Win10ws01.domain.com/Win10ws01.domain.com.vmdk -d thin
Saturday, 11 May 2013
Windows 8 and Wake on Lan
Wake on Lan (WOL) issues with Windows 8
Wake-on-LAN behavior in Windows 8
http://support.microsoft.com/kb/2776718
Windows 8: In Windows 8, the default shutdown behavior puts the system into hybrid shutdown (S4) and all devices are put into D3. Remote Wake-On-LAN from hybrid shutdown (S4) or classic shutdown (S5) is unsupported. Network adapters are explicitly not armed for Wake-On-LAN in both the classic shutdown (S5) and hybrid shutdown (S4) cases because users expect zero power consumption and battery drain in the shutdown state. This behavior removes the possibility of spurious wakes when explicit shutdown was requested. As a result, Wake-On-LAN is only supported from sleep (S3) or hibernate (S4) in Windows 8.
To resolve this follow the below steps
To disable hybrid shutdown (S4) in Windows 8 (not recommended), use these steps:
Wake-on-LAN behavior in Windows 8
http://support.microsoft.com/kb/2776718
Windows 8: In Windows 8, the default shutdown behavior puts the system into hybrid shutdown (S4) and all devices are put into D3. Remote Wake-On-LAN from hybrid shutdown (S4) or classic shutdown (S5) is unsupported. Network adapters are explicitly not armed for Wake-On-LAN in both the classic shutdown (S5) and hybrid shutdown (S4) cases because users expect zero power consumption and battery drain in the shutdown state. This behavior removes the possibility of spurious wakes when explicit shutdown was requested. As a result, Wake-On-LAN is only supported from sleep (S3) or hibernate (S4) in Windows 8.
To resolve this follow the below steps
To disable hybrid shutdown (S4) in Windows 8 (not recommended), use these steps:
- Open the Power Options in Control Panel
- Select “Choose what the power buttons do”
- Uncheck “Turn on fast startup (recommended)"
- Select "Save Settings"
Friday, 26 April 2013
Move DPM_SYSTEM_STATE to other location
When using Data Protection Manager to back-up the system state of your servers you will find that a folder with the name DPM_SYSTEM_STATE is created on your C:\ drive on the protected server. When disk space is insufficient to support this additional data, you can alter the location where this data is stored:
On the Protected Server:
- Edit the %system drive%\Program Files\Microsoft Data Protection Manager\DPM\Datasources\PSDataSourceConfig.xml file
- You will find the default the path is %system drive%\.
- Change it to the appropriate location and save the file.
- Modify the Protection Group
- Run Consistency Check on the System State datasource
Thursday, 25 April 2013
Tuesday, 23 April 2013
Monday, 22 April 2013
Monday, 13 February 2012
A useful list of Microsoft blog sites for reference:
Windows 8 News
The World Simplified is a Virtual World
The App-V Product Team Blog
Ask the Directory Services Team
Ask the Performance Team
http://blogs.technet.com/askperf
Microsoft Enterprise Networking Team
http://blogs.technet.com/networking
Ask the Core Team
Ntdebugging Blog
The Hot Blog
TRM
http://blogs.technet.com/trm/default.aspx
Windows 8 Blog | Building Windows 8
Windows Virtualization Team Blog
The World Simplified is a Virtual World
The App-V Product Team Blog
The Official MDOP Blog
http://blogs.technet.com/mdop
Ask the Directory Services Team
Ask the Performance Team
http://blogs.technet.com/askperf
Microsoft Enterprise Networking Team
http://blogs.technet.com/networking
Ask the Core Team
Ntdebugging Blog
The Hot Blog
TRM
http://blogs.technet.com/trm/default.aspx
TechNet Webcast: Hyper-V: The Base of a Private Cloud
The term "cloud" refers to a new paradigm in the evolution of computing. It often entails running your servers, either internal or hosted, on virtual machines. In an IT career, the one constant is that you need to continually learn the new technologies to stay current. In this webcast, we cover the fundamentals of Microsoft’s technologies that support the private cloud. We overview Microsoft's Hyper-V virtualization technology and then dive deeper into the features of this hypervisor-based server virtualization technology. This webcast is heavily focused on demonstrations and has a Q&A session at the end.
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032504314&Culture=en-US
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032504314&Culture=en-US
Infrastructure Planning and Design
The Infrastructure Planning and Design (IPD) guides are the next version of
Windows Server System Reference Architecture. The guides in this series help
clarify and streamline design processes for Microsoft infrastructure
technologies, with each guide addressing a unique infrastructure technology or
scenario.
http://www.microsoft.com/download/en/details.aspx?id=732
http://www.microsoft.com/download/en/details.aspx?id=732
Subscribe to:
Posts (Atom)
Fixing Java KVM client error with 'Connection Failed'
Java 8u171 disables the use of the 3DES_EDE_CBC cipher. Solution is to reconfigure Java by editing and removing 3DES_EDE_CBC from the follow...
-
Windows 8 News http://windows.microsoft.com/en-US/windows-8/preview Windows 8 Blog | Building Windows 8 http://blogs.msdn.com/b8 W...
-
http://www.lostpassword.com/
-
Microsoft has assembled a list of “how do I” videos for customers to learn how to accomplish specific tasks with Microsoft products an...


