Tuesday, 3 April 2018

#IBM Lotus iNotes Loading hang in Internet Explorer

Loading IBM Lotus iNotes......

Loading IBM Lotus iNotes hang after login (internet explorer)

Solution

1. Add to IE compatibility view.

2. IE Security Settings.
.NET Framework
  • Loose XAML - Enable
  • XAML browser applications - Enable
  • XPS documents - Enable

.NET Framework-reliant components
  • Permission for components with manifests - High Safety
  • Run components not signed with Authenticode - Enable
  • Run components signed with Authenticode - Enable

ActiveX controls and plug-ins
  • Allow ActiveX Filtering - Disable
  • Allow previously unused ActiveX controls to run without prompt - Enable
  • Allow Scriptlets - Enable
  • Automatic prompting for ActiveX controls - Enable
  • Binary and script behaviors - Enable
  • Display video and animation on a webpage that does not use external media player  - Disable 
  • Download signed ActiveX controls - Prompt
  • Download unsigned ActiveX controls - Prompt
  • Initialize and script ActiveX controls not marked as safe for scripting - Prompt
  • Only allow approved domains to use ActiveX without prompt - Disable
  • Run ActiveX controls and plug-ins - Enable
  • Run antimalware software on ActiveX controls - Disable
  • Script ActiveX controls marked safe for scripting* - Enable
Downloads
  • File download - Enable
  • Font download - Enable
Enable .NET Framework setup
  • Enable
Miscellaneous

  • Access data spurces across domains - Enable
  • Allow dragging of content between domains into separate windows - Disable
  • Allow dragging of content between domains into the same windows  - Disable
  • Allow META REFERSH - Enable
  • Allow scripting of Microsoft wen browser control - Enable
  • Allow script-initiated windows without size or position constraints - Enable
  • Allow teh TDC Control - Enable
  • Allow webpages to use restricted protocals for active content - Prompt
  • Allow websites to open windows without address or status bars - Enable
  • Display mixed content - Prompt
  • Don't prompt for client certificate selection when only one certificate exists - Enable
  • Drag and drop or copy and paste files - Enable
  • Enable MIME Sniffing - Enable
  • Include local directory path when uploading files to a server - Enable
  • Launching applications and unsafe files - Enable
  • Launching programs and files in an IFRAME - Prompt
  • Navigate windows and frames across different domains - Enable
  • Render legacy filters - Enable
  • Submit non-encrypted form data - Enable
  • Use Pop-up Bloker - Disable
  • Use Windows Defender SmartScreen - Disable
  • Userdata persistence - Enable
  • Websites in less privileged wen content zone can navigate into this zone - Enable
Scripting
  • Active scripting - Enable
  • Allow Programmatic clipboard access - Enable
  • Allow status bar updates via script - Enable
  • Allow websites to prompt for information using script windows  - Enable
  • Enable XS filter - Disable
  • Scripting of Java applets - Enable


Sunday, 11 March 2018

#Unlock Windows Administrator Password (Re-post)



How to unlock Windows Administrator Password

1. Boot the Windows installation CD, select Repair your computer. (For Windows 7, select your language before repair your computer)



2. Select Troubleshoot. (For Windows 7, skip the system recovery and go to command prompt)


3. Select Command Prompt.


4.  Change directory to d:\windows\system32


5. Type copy utilman.exe utilman.exe.bak  (to Backup utilman.exe)
     Type move cmd.exe utilman.exe (to Move cmd.exe to utilman.exe)
     Type Y to overwrite.



6. Restart server and boot windows as normal.
     Press “Windows Key + U” to open command prompt. 


7. Type net user administrator password
     Password = new password



8. Close command prompt and log in with new password.

Optional
You can open user account settings with GUI by using netplwiz command.





Thursday, 15 February 2018

#Hyper-V replication failed Replication Health Critical / Warning

Hyper-V Replication Health Critical or Warning
More than 20 percent pf replication cycles have been missed for virtual machine xxxxx. Replication might be encountering problems.
 

Solution:
1. Login to Primary Hyper-V host.
2. Run Powershell and enter the command below.

Suspend-VMReplication -VMName "xxxxx"
Resume-VMRplication -VMName "xxxxx" -Resynchronize

3. After the resynchronize task completed, replication will resume. This may take hour(s) to complete the replication.

Friday, 29 December 2017

#Robocopy - copy file with log, estimate time (bat format)

Script to copy file with log, estimate time (.bat)

* I run this .bat at destination site.

@echo off

REM description

map drive:
net use y: /delete /y
net use y: \\source share folder path

set source=source path
set destination=destination path

cd\

robocopy %source% %destination% /s /e /copyall /xo /r:2 /w:5 /fp /eta /tee /v /log:d:\log folder\log"%date:~-4%_%date:~-4,2%_%date:~-7,2%.txt

set path=c:\windows\system32
net use y: /delete /y

Sample:
Source folder path: \\192.168.1.100\data\data1      (folder)
Destination folder path: d:\backup      (folder)
Destination folder path: d:\logs      (folder)

script start from the line below
---------------------------------------------------------------------------------------------------------------------------
@echo off

REM Transfer Production to DR

net use y: /delete /y
net use y: \\192.168.1.100\data

set source=y:\data1
set destination=d:\backup

cd\

robocopy %source% %destination% /s /e /copyall /xo /r:2 /w:5 /fp /eta /tee /v /log:d:\logs\log"%date:~-4%_%date:~-4,2%_%date:~-7,2%.txt

set path=c:\windows\system32
net use y: /delete /y

Thursday, 21 December 2017

#Windows 10 install .net framework 2.0 and 3.5 without internet

Windows 10 install .net framework without internet

Method 1 Use Windows 10 ISO (Installer)

1. Mount the ISO.
2. Open command prompt (run as administrator)
3. Type DISM.exe /Online /Add-Package /PackagePath:"D:\sources\sxs\Microsoft-Windows-NetFx3-On Demand-Package.cab"

Replace drive letter (D:\) with your own ISO drive letter.



Method 2 Download file from internet

1. Download Microsoft-Windows-NetFx3-On Demand-Package.cab file from link below.


https://drive.google.com/file/d/1OJLDrehM7jkPpJa_XNW2D1-kViDwNLNR/view?usp=sharing

2.  Place the file in C:\
3. Open command prompt (run as administrator)
4. Type DISM.exe /Online /Add-Package /PackagePath:"C:\Microsoft-Windows-NetFx3-On Demand-Package.cab"


Monday, 18 December 2017

#Veeam Replication and copy backup error

Error: There is active sync task, Job name .....................


Cause:
1. The target (destination) virtual machine having issue (virtual disk/snapshot corrupted).
2. The replicate virtual machine disk size too big (over WAN accelerator cache size).


Solution 1: Reboot the WAN accelerator server
1. Make sure the you stop the active sync task (job) that mentioned in statistics.
   (example: there is active sync task. Job name xxxxxxxxx...................)

2. Reboot the WAN accelerator (try reboot source first).


Solution 2: Clear WAN accelerator cache
1. From Veeam Backup and Replication, go to Backup Infrastructure --> WAN Accelerators.

2. Right click on the WAN Accelerator server, and select clear cache. 

3. Re-run the replication or backup copy job.

Optional:
1. Make sure the VM no issue. Especially the virtual disk. Sometime virtual disk corrupted caused by Veeam snapshot. You might need to delete and consolidate all the snapshots.

Thursday, 3 August 2017

#Dell Switch - CLI enable authentication failed

When enter Enable mode, show authentication failed


1. Log in to switch via web.
2. Go system > Management Security > Select Authentication.
3. Under Telnet and SSH, change to enableList