2018年4月17日 星期二

Outlook Working Offline




2018年3月24日 星期六

vCenter Appliance problem occurred on installation / Unable to connect to vCenter Single Sign-On: Failed to connect to SSO




Install VMware-VCSA-all-6.5.0-5973321 get error can try the following link tips














Source from : https://cstan.io/?p=8962&lang=en





Short tip: vCenter Server 6.5 UI installer: Failed to connect to SSO



UI-Installer SSO Error
UI-Installer SSO Error
When deploying vCenter Server 6.5 recently, I stumbled upon an issue that I was able to reproduce for the versions 6.5c and 6.5d. When deploying the appliance using the vCSA UI installer, the second stage always crashed with an error like this:
Unable to connect to vCenter Single Sign-On: Failed to connect to SSO; uri:https://st-vcsa03.stankowic.loc/sso-adminserver/sdk/vsphere.local
When analyzing the erroneous appliance I saw the following lines in the system protocol:
vmware-stsd[1762]: has address 127.0.0.1. Request for http://localhost:7080/afd failed after 10 seconds. Status: /usr/bin/curl status. Response: 000. Host: localhost has address 127.0.0.1. Request for http://localhost:7080/afd failed after 10 seconds. Status: /usr/bin/curl status. Response: 000. ...
It seems like the VMware Identity Management service, which is essential for SSO, could not be started – as a result, the installation crashes. I was able to reproduce this effect on multiple ESXi hosts and virtualized environments – so it was not an issue in my local environment. In the VMware board I stumbled upon an interesting post that matched this effect. It also named an workaround that fixed the problem for me.

Workaround

The vCSA installation consists of two stages. While the first stage simply deploys the OVA template, the second stage automatically configures the services. If errors occur during the second stage, the appliance is erroneous and needs to be re-deployed – so creating a snapshot at this stage is basically a good idea.
The assistant of the second stage needs to be filled. Before starting the configuration process, the appliance command-line needs to be accessed – e.g. using the VM console or SSH (which needs to be enabled first using the VM console). Enter the following commands:
> shell
# echo "::1 localhost.localdom localhost" >> /etc/hosts
This extends the local host resolution by an IPv6 entry. It seems that some SSO components are communication internally over IPv6 – even if an IPv4-onlyconfiguration was made:
# netstat -tulpen|grep idm
tcp6 0 0 :::36922 :::* LISTEN 0 17387 1603/vmware-sts-idm
tcp6 0 0 127.0.0.1:12721 :::* LISTEN 0 18267 1603/vmware-sts-idm
Without this entry, the localhost entry cannot be resolved into an IPv6 address forcing the installation to crash. Don’t remove this entry after the installationas SSO won’t start again – as a result, vCenter Server will not start either.





FINAL the above tips can't solve my case...

My Environment DNS is point to domain controller that is MS Windows 2003 SBS server and it does not support IPv6, so i think my problem is cause by my Win2003 SBS Server, i tried turn off all IPv6 for all computer, firewall and VMs but still got same problem on vCenter instal...



Final i install Windows 2012 R2 and become a Domain Controller with DNS server then all equipment DNS point to my Windows 2012 R2 and all IPv6 just let it on with DHCP, it works~~~~,  i can install the vCenter Appliance....



Remark : 
IPv6 just let it on and dynamic assign ip is ok, no need to static the IPs or create DHCP server for support IPv6, just like IPv4 if final no DHCP server all IPv4 will also using 169.xxx.xxx.xxx and all can communicate together.

If you firewall support IPv6, i think just point all equipment DNS to firewall also can solve this problem, this is my third times for install vCenter and got this problem, the first time install all DNS is point to Windows 2008 R2 and the second times is all DNS point to pfsense firewall, just this time all DNS is point to Windows 2003 Server and this DNS not support IPv6 only.

2017年12月7日 星期四

Excel Open without file? Open Excel file problem

If you double click the excel file and got the below screen, just open the excel without any file.

Try click File > Options > Advanced > General > unclick "Ignore other applications that use DDE













2017年11月20日 星期一

2017年11月16日 星期四

Windows Can't print Dot Matrix Printer / LQ680 / EPSON

16-Nov-2017 Windows release update it will affect the Windows can't print to Dot Matrix printer, such as EPSON LQ680

What i tested, the office environment have hp LaserJet and Epson dot matrix printer, don't know why just can't print to dot matrix printer on some machine such as Windows 7, 10 and 2008 Server, only work on Windows XP, final i have give up to find the problem, just search on internet and find many people report the same problem and this is cause by Update...

Affect Windows : Windows 7, 10, 2008 and 2012

Windows 7 Update is KB4048957 and KB4048960
Windows 10 Update is KB4048955 and KB4048954
Windows 2012 Update is KB4048958 and KB4041777


https://zi.media/@dacota/post/gy1RMi

This link teach you how to uninstall the Windows 10 updates
http://www.synnex.com.tw/asp/fae_qaDetail.asp?topic=FAE&classifyid=01462&seqno=22359

2017年9月18日 星期一

GPO Software Installation

New a policy for Software Deploy, e.g. "MYS - Windows 7 x64 Deploy"
Right click Organization > Link Existing GPO and select new create policy 

Edit "MYS - Windows 7 x64 Deploy"

New Packge on Software Installation, it will auto install the package when user login


Deployment state if select "Publish", user computer will not auto install, but they can find the application on Control Panel > Programs and Feature > "Install a program from the network"


The Software Installation only run once only, if user uninstall the application must manual install again, 

The following action allow the system auto install the deploy software again.
Simply delete corresponding key from:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\AppMgmt


2017年9月15日 星期五

Quick Fix Windows Problem


Enable Windows Task Manager when Disabled by a Virus

Open Group Editor Policy by Clicking on Start, then click Run and type in gpedit.msc and press OK. Once in the Group Policy Editor, expand in turn: User Configuration > Administrative Templates > System > Ctrl+Alt+Del Options On clicking Ctrl+Alt+Del You will have four option on right hand side. Double click on Remove Task Manager to change its setting: Click on Not Configured and then OK and Task Manager is available once again.


Some user can't login / The sign-in method you're trying to use isn't allowed. For more info, contact your network administrator.

Open Local Security Policy by Clicking on Start, then click Run and type in secpol.msc and press OK. 
Once in the Local Security Policy, expand in turn: Local Policies > User Rights Assignment
on clicking "Deny log on locally" on right hand side, make sure your user not here, if here just remove it and problem should solve. if the problem user account name not here,
on clicking "Allow log on locally" on right hand side, add the user allow log on locally.