2022年7月13日星期三

Missing all file permissions on windows server(any version) after save an office document.(Word,Excel or others)

The Microsoft support let us know that this is definitely a Defender issue going back to an update released. We had to apply this command on the PC which is using Microsoft Defender to resolve the issue:

Open Power Shell use this command

powershell

  1. Enter Get-MpComputerStatus

  2. check AMRunningMode 

If it is running(Microsfot Defender) that shows standard or passive mode than

key in the command in the power shell to disable the network files scanning function in Microsoft Defender.

Set-MpPreference -DisableScanningNetworkFiles $true


I wish the above procedures can help you fix  the problem. God bless you.

2022年5月21日星期六

Turn win7 or win 10 into Wireless router( desktop or notebook computer must with both LAN and Wireless interface cards)

Use command prompt with admin rights


NETSH WLAN show drivers

confirm the wireless interface is support the function

Hosted network supported : Yes

 

NETSH WLAN set hostednetwork mode=allow ssid=ssid key=passphase


NETSH WLAN start hostednetwork


NETSH WLAN stop hostednetwork


Other useful command

NETSH WLAN set hostednetwork mode=allow

NETSH WLAN set hostednetwork mode= disallow

NETSH WLAN set hostednetwork ssid=New_SSID

NETSH WLAN set hostednetwork key=New_Passphrase

NETSH WLAN show hostednetwork

NETSH WLAN show hostednetwork setting=security



If you want to remove the setting completely. Please do this as below:

User Regedit 

HKEY_LOCAL_MACHINE\system\currentcontrolset\services\wlansvc\parameters\hostednetworksettings

delete this DWORD in the above registry

HostedNetworkSettings



2022年2月16日星期三

Enable TLS 1.0 and TLS 1.1 in JAVA 1.8.0_321

Edit the JRE_HOME/lib/security/java.security file (Example: C:\program files\java\lib\security\java.security or C:\program files (x86)\java\lib\security\java.security). 


Find the line similar like this: 

jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, \

and remove the TLSv1, TLSv1.1

the line will be like this 

jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, \

2022年1月29日星期六

SMB Printer sharing problem with error code 0x0000011b

This problem is caused in the Host PC (after some windows update) so just change the setting in the HOST PC connected with the printer only. Do not need to modify any setting in the client PC.


In the Registry Editor , navigate to  ‘Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print’, then right click in the blank space and choose ‘DWORD (32-bit) Value’

Rename the NEW Key DWORD value to ‘RpcAuthnLevelPrivacyEnabled’

confirm the value is "0" zero


And then restart the Printer spooler service 

Key in services.msc in the search console.

Find the printer spooler service and right click and select restart.

Wait for the restart and go to the client PC try to print it again.


It should be OK now. 

God bless you. Jesus loves you.

2021年10月19日星期二

Win 10 cannot print to SMB workgroup sharing printer(Any brand name)

Due to Windows 10 update KB5006670 cause/change the security setting/level and make the printer sharing function affected. Please remove the windows update KB5006670 on client PC for temporary fix.

The previous update in September also encounter similar problem.  The KB5005565 & KB5005566 will cause the printer sharing function affected.

2021年5月6日星期四

Dell Centos Linux Raid driver install & monitor

 *** Download the driver

https://www.dell.com/support/home/zh-hk/drivers/driversdetails?driverid=f48c2


*** Use Gnu-zip or other unzip utility to open the file and find the Linux directory. you can find the rpm file in it. Something like that "perccli-007.0127.0000.0000-1.noarch.rpm" without quote.

*** Put the file in the root home directory and then use the command to install.

rpm -ivh perccli-007.0127.0000.0000-1.noarch.rpm

*** or upgrade 

rpm -Uvh perccli-007.0127.0000.0000-1.noarch.rpm

*** Use the command to show the Raid Status

 /opt/MegaRAID/perccli/perccli64 /c0/eall/sall show




IBM/Lenovo Server Centos Linux MegaRaid install & show info

*** downlaod 

https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip


*** unzip the files

unzip 8-07-14_MegaCLI.zip


*** if you don't have unzip, use this command to install

yum install unzip


*** install the driver, change to the Linux directory and run this commnad

sudo yum install MegaCli-8.07.14-1.noarch.rpm


*** run the command and get help

/opt/MegaRAID/MegaCli/MegaCli64 -h


*** check raid simple status

/opt/MegaRAID/MegaCli/MegaCli64 -ShowSummary -aALL