2021年6月21日

如何快速變更遠端電腦Windows10密碼

如果使用 RDP連線,按下Ctrl+Alt+Del 可是會改到自己使用的本地端Windows電腦密碼, 
此時應該按下 Ctrl+Alt+End  才會傳送到 RDP 連線中.


若RDP 有多層連線, 此時有2種方式可以使用, 舉以下為例:

A:  家中電腦
B:  遠端第一層連線電腦
C:  遠端第二層連線電腦

方法一:
1.  在C 電腦中執行 osk.exe  ( 螢幕鍵盤工具 )
2.  在實體鍵盤中先按下 Ctrl+Alt ,  再點螢幕鍵盤中的 Del 鍵即可


方法二:
在 C 電腦中, 依序按著不放  左方鍵盤的 Shift 鍵,   右方 Alt 鍵,  右方 Ctrl 鍵,  最後按下 End 鍵 即可

2021年6月17日

健保卡卡號模糊, 如何使用健保卡查詢卡號

為了申請 行政院孩童家庭防疫補貼  因健保卡在頻繁使用下, 卡號已變得模糊不清, 在疫情仍處於三級管制下能使用線上處理不僅省時, 也可避免與人接觸的危險.

查詢網路上如何取得健保卡卡號的資訊不多, 有些甚至是釣魚網站, 在資安等同於防疫的概念下, 一切以官網為主, 就在 中央健康保險署網站 找到  

首次登入請先申請 Register for New Account 

同意說明規定後 在 健保卡網路服務註冊-申請  NHI Card Online Services Registration-Apply 頁面最下方

1. 請務必使用 IE 瀏覽器

照步驟 1. 套用電腦環境設定  及  2.下載元件安裝檔 後

準備好讀卡機與插入健保卡

元件下載及電腦環境設定檢測環境
步驟1:電腦環境設定
步驟2:
下載元件安裝檔
Setup.zip MD5驗證碼:515BE7DE5BCE446177FEE8A6E0665093
Setup.msi MD5驗證碼:4D4C0CB9B81CA1DAE6E186F7143E5CC8
檢測IE環境
檢測健保卡認證

點選表格右方的  檢測健保卡認證, 在按下讀取健保卡

元件狀態:元件已正常運作...
回應訊息:
認卡亂數
認卡簽章

回應訊息:000076543210,......

第一段資料即為卡號




2021年3月5日

IBM / HP Server Reference

 IBM

BladeCenter Document

https://bladecenter.lenovofiles.com/help/index.jsp?topic=%2Fcom.lenovo.bladecenter.hs20.doc%2Fbls_hs20_product_page.html

2020年10月14日

Windows 7 update error code 80092004

 Windows 7 update error code 80092004


Solved by download / Installed KB4474419,  KB4490628  from Microsoft Update Catalog

2020年7月28日

RAC0225: Sending the test mail failed troubleshooting

RAC0225: Sending the test mail failed troubleshooting

Integrated Dell Remote Access Controller 9  (iDRAC)  SMTP test mail fail, error message:
RAC0225: Sending the test mail failed.

Check mail relay server log (sendmail):

[iDRAC IP] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA


Solved:
After iDRAC is upgraded to version 4.00.00.00, you may stop receiving encrypted email alerts from iDRAC, if the external email server does not support encryption. iDRAC firmware version 4.00.00.00 introduces a user-selectable encryption option and the default protocol is StartTLS. 

To start receiving email messages again, disable the email encryption by using the following RACADM command: racadm set idrac.RemoteHosts.ConnectionEncryption None



Refer

2020年3月27日

Windows 2000 add CPU (vm)


Windows 2000 Server 新增 CPU

原 Windows 200

原 Windows 2000 Server 僅有一顆 CPU, 在新增CPU後, 從工作管理員效能只能看到一顆
可以更新 驅動程式方式來解決:

裝置管理員-- 電腦
ACPI Uniprocessor PC -- 內容 -- 驅動程式 -- 更新驅動程式
從清單中指定驅動程式 -- 顯示這個裝置類別的所有硬體
選擇 ACPI Multiprocessor PC

安裝完成後重開機.

2020年2月6日

After P2V (vmware Converter Standalone), RedHat Linux Server Can not boot. (Kernel panic)

After P2V (vmware Converter Standalone), RedHat Linux Server Can not boot.

error message:

setuproot: moving /dev failed: No such file or directory
mount: could not find filesystem '/dev/root'
setuproot: error mounting /proc: No such file or directory
setuproot: error mount /sys:  No such file or directory
switchroot: mount filed:  No such file or directory
Kernel panic - not syncing: Attempted to kill init!


  1.  Boot from RHEL Installation media.
  2.  F5    -->  linux rescue  
  3. chroot /mnt/sysimage/

recover boot image.

1. backup boot image
    mv /boot/initrd-2.6.18-128.el5xen.img  backup_initrd-2.6.18-128.el5xen.img 

2. build new boot image
    /sibn/mkinitrd 
/boot/initrd-2.6.18-128.el5xen.img 2.6.18-128.el5xen
3. exit

reboot.

2019年5月13日

[Linux] rsh login fails with error "remuser too long"

rsh login fails with error "remuser too long"


Environment
  • Red Hat Enterprise Linux 6
Issue
  • rsh login fails with error "remuser too long"
Resolution
Username should be less than 16 bytes when using rsh.

Root Cause

Username limitation 16bytes can be found in rshd source code:
static void
doit(struct sockaddr_storage *fromp, socklen_t fromlen)
{
        char *cmdbuf;
        long cmdbuflen;
        const char *theshell, *shellname;
        char locuser[16], remuser[16];
...
        getstr(remuser, sizeof(remuser), "remuser");  <=========

2019年2月26日

DNS Recursive Query Fail ISSUE

Windows DNS Monitoring

  • A recursive query to other DNS servers  test fail.
    Solution 
    >>  Check  [Forwarders]
Forwarders are servers that can resolve DNS queries not answered by this server.
Forward queries for names in the following DNS domains.

2015年5月4日

Spiceworks forget Login e-mail ID

 check \Spiceworks\log\production.log

2015年2月3日

COMMAND of Windows Control Panel / Windows 控制台 指令

控制台工具             命令
-----------------------------------------------------------------
協助工具選項           control access.cpl
加入新的硬體           control sysdm.cpl add new hardware
新增/移除程式          control appwiz.cpl
日期/時間內容          control timedate.cpl
顯示內容               control desk.cpl
FindFast              control findfast.cpl
字型資料夾             control fonts
網際網路內容           control inetcpl.cpl
搖桿內容               control joy.cpl
鍵盤內容               control main.cpl keyboard
Microsoft Exchange    control mlcfg32.cpl
(或 Windows Messaging)
Microsoft Mail 郵局    control wgpocpl.cpl
數據機內容             control modem.cpl
滑鼠內容               control main.cpl
多媒體內容             control mmsys.cpl
網路內容               control netcpl.cpl
注意:在 Windows NT 4.0 中,網路內容是 Ncpa.cpl,不是 Netcpl.cpl

密碼內容               control password.cpl
PC 卡                 control main.cpl pc card (PCMCIA)
電源管理 (Windows 95)  control main.cpl power
電源管理 (Windows 98)  control powercfg.cpl
印表機資料夾          control printers
地區設定              control intl.cpl
掃描器與數位相機       control sticpl.cpl
音效內容              control mmsys.cpl sounds
系統內容              control sysdm.cpl

2014年12月17日

RedHat Enterprise Linux 4 Network Bonding

1.  Edit /etc/sysconfig/network-scripts/ifcfg-bond0

DEVICE=bond0
IPADDR=xx.xx.xx.xx
NETWORK=xx.xx.xx.xxx
NETMASK=255.255.255.0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes

2.  Edit /etc/sysconfig/network-scripts/ifcfg-eth0

Device=eth0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
TYPE=Ethernet
MASTER=bond0
SLAVE=yes

3.  Edit /etc/sysconfig/network-scripts/ifcfg-eth1

Device=eth1
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
TYPE=Ethernet
MASTER=bond0
SLAVE=yes

4. Edit /etc/modprobe.conf  ( RHEL 4 only, do not modify on RHEL 5 )

alias bond0 bonding
options bond0 mode=1 miimon=100

5. Module probe.

$ modprobe bonding

6. Restart network 

$ service network restart

7. Check

$ less /proc/net/bonding/bond0

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth1
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth0
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:19:bb:21:54:c0

Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:19:bb:21:54:ae


---
refer:
1.  /usr/share/doc/iputils-20020927/README.bonding
2. for RHEL 5 , refer: Channel Bonding Interface

2014年8月20日

Outlook 2003 郵件內容無法正常顯示圖片

Solution:
  1. Open the registry (Regedit)
  2. Navigate and open the following registry key HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security\OutlookSecureTempFolder
  3. 找到該目錄 ( 通常在 C:\Documents and Settings\UserName\Local Settings\Temporary Internet Files\ORK1D3\) , 清除目錄內容檔案

2013年10月8日

無法開啟 .CHM 檔, 錯誤訊息: 無法開啟檔案: mk:@MSITStore:[File_Path] file.chm

困擾很久的問題: 無法開啟 .CHM 檔,

錯誤訊息: 無法開啟檔案: mk:@MSITStore:[File_Path] file.chm 

  1.  確認 Locale 設定 (地區及語言選項) 是否與CHM 檔設定相同.
     - (Windows XP) Windows 控制台 - 地區及語言選項
    - * 選擇一個項目來符合它的喜好設定
    原先設為 英文(美國), 改成 中文(台灣)就能正常開啟了
  2. 另外一種方法是把 CHM 文檔包成壓縮檔, 再開啟壓縮檔,直接檢視這個CHM 檔.
    (但不是每個CHM檔都能開成功)

2013年1月3日

Linux Delete files before 15days


Delete files before 15 days
   find . -mtime +15 -exec rm {} \;  

2013年1月2日

Linux kernel.tainted


kernel.tainted:

Non-zero if the kernel has been tainted.  Numeric values, which can be ORed together:

   1 - A module with a non-GPL license has been loaded, this includes modules with no license.
       Set by modutils >= 2.4.9 and module-init-tools.
   2 - A module was force loaded by insmod -f.
       Set by modutils >= 2.4.9 and module-init-tools.
   4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
   8 - A module was forcibly unloaded from the system by rmmod -f.
  16 - A hardware machine check error occurred on the system.   (mcelog)
  32 - A bad page was discovered on the system.
  64 - The user has asked that the system be marked "tainted".  This could be because they are running software that directly modifies the hardware, or for other reasons.
 128 - The system has died.
 256 - The ACPI DSDT has been overridden with one supplied by the user instead of using the one provided by the hardware.
 512 - A kernel warning has occurred.
1024 - A module from drivers/staging was loaded.
2048 - The system is working around a severe firmware bug.
4096 - An out-of-tree module has been loaded.

2012年12月24日

Set Windows IME via Registry


Set Windows USER IME via Registry

->  USER\Keyboard Layout\Preload

"1" -> Default
"2" -> as you wish

機碼代表如下:

00000404 英文
e0010404 注音
e0020404 倉頡
e0030404 速成
e0060404 大易
e0080404 新注音
e0090404 新倉頡

2012年12月17日

2012年12月3日

HP SAS SFF dual port vs. single port HDD

What is difference between dual and single port HDD? 

-- from HP forum:

If you install the SAS drive in a Proliant it does not matter if you installa a SP or DP drive since only one port will be used by the smart array controller. 

Dual port (DP) drives are intended for redundantly connected configurations like with the MSA60 and 70 and if SAS drives are used in the backend of a storage array like the MSA2000. 

note: Dual Port... "will only support HP-UX and OpenVMS environments and will be available on selected HP Integrity Servers only."

So for win/proliant users the dual port, as of today, provides no benefit.

2012年11月27日

How to reset the Oracle SYS password?

Login using the OS authentication as "SYS" user and then issue the command 
"alter user sys identified by ";