windows 10 1909 2004 20H2 access share network drive Error

– DNS Client it seems is used to cache DNS entries – so disabling it may lead to slow downs in page loading but not much more then that in “regular” configurations using only TCP/IP (no netbios or multiple networks involved here). To quote one source, this service is a “target of attacks which poisons the cache with fake DNS entries” sometimes.

after use Regedit to change the Dnscache’s start type to auto=2,

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache, and locate Start registry key
Change Startup type : =2

Automatic -2
Manual -3
Disabled -4
Automatic (Delayed Start) -2

จากนั้น Restart เครื่อง , the DNS CLIENT SERVICE status turns into STARTED, and the mapped drive works now.
กรณีขึ้น

Windows 10 Event ID 7001.
ERROR : The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
can not map the drive using IP address of fileserver

ดูใน Error EVENT log for SOURCE: Service Control Manager, with EVENT ID 7001, with DNS Client service was disabled and stopped-remote access connection manager service failed.
Thus, i wondering how to – enable DNS Client Service. currently i is running under the account “Network Service”, local builtin administrator account can’t make change to this.

1.Enable the SMB 1.0 support by enabling the following Windows features from the Control Panel, then see if you could access the share:

Windows Feature

SMB 1.0/CIFS Client

2.Change the following services startup type from Manual to Automatic:
– Function Discovery Provider Host
– Function Discovery Resource Publication
– SSDP Discovery
– UPnP Device Host

3.

https://docs.microsoft.com/en-us/answers/questions/113515/mapped-drive-error-network-path-was-not-found-dns.html

Windows LAN Normal but Status show X Red Cross not Connect

regedit

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList

คลิ๊กขวา Permission

มองหา Network Service และ Local Service ดูถ้าไม่มีให้เพิ่ม สิทธิ์ Full Control

เลือก Advanced เลือก Replace all

จากนั้น Restart เครื่อง

Install Office to Installed Click to Run Office

Office 2016 Deployment Tool
https://www.microsoft.com/en-us/download/details.aspx?id=49117
download ติดตั้งลงใน folder ที่ต้องการ

ไปเวป
https://docs.microsoft.com/en-us/deployoffice/use-the-office-deployment-tool-to-install-volume-licensed-editions-of-visio-2016
คัดลอก script มาสร้างเป็นไฟล์ xml

ProductIDPIDKEY
Project Standard 2016ProjectStdXVolumeD8NRQ-JTYM3-7J2DX-646CT-6836M
Project Professional 2016ProjectProXVolumeWGT24-HCNMF-FQ7XH-6M8K7-DRTW9
Visio Standard 2016VisioStdXVolumeNY48V-PPYYH-3F4PX-XJRKJ-W4423
Visio Professional 2016VisioProXVolume69WXN-MBYV6-22PQG-3WGHK-RM6XC

และ Script ตัวอย่าง

<Configuration> <Add OfficeClientEdition=”64″ > <Product ID=”VisioProXVolume” PIDKEY=”69WXN-MBYV6-22PQG-3WGHK-RM6XC”> <Language ID=”en-us” /> </Product> </Add> </Configuration>

ตัวอย่างเช่น จะติด Project Pro 2016 ต้องแก้เป็น

<Configuration> <Add OfficeClientEdition=”64″ > <Product ID=”ProjectProXVolume” PIDKEY=”WGT24-HCNMF-FQ7XH-6M8K7-DRTW9″> <Language ID=”en-us” /> </Product> </Add> </Configuration>

แล้ว Save ชื่อ project.xml

จากนั้น cmd สิทธิ์ Admin ไป

พิมพ์ Setup.exe /download project.xml

โปรแกรมจะ download project มาให้

แล้วติดตั้ง Setup.exe /configure project.xml

ย้าย Outlook Auto-Complete

ปกติเวลาพิมพ์จะส่งเมล์ แล้วมีรายชื่อขึ้นมา เอง ซึ่งเป็นเมล์เก่าๆ ที่ส่งไปก่อนหน้า อันนี้เรียกว่า Auto-Complete เมื่อเพิ่มหรือย้ายเมล์ ข้อมูลนี้จะไม่ตามไปด้วย ถ้าต้องการ Copy ให้ไปดูที่

Outlook 2007

C:\Users\username\AppData\Roaming\Microsoft\Outlook

ไฟล์นามสกุล NK2

Outlook 2010

C:\Users\%username%\AppData\Local\Microsoft\Outlook\RoamCache.
โดยไฟล์ชื่อ Stream_Autocomplete_0_[long GUID].dat.

เมื่อสร้างเมล์ pst เพิ่มเป็น box ใหม่ มา Auto-complete ไม่ได้ย้ายมา ดังตัวอย่าง

Stream_Autocomplete_0_04629AAC10EF6F43B5628D8369EFB79C ขนาด 40 KB เป็น Auto-Complete ของ pst ที่มาใหม่ -1
Stream_Autocomplete_0_6942810ฺBA4E7934584E67C1F6582A3A1 ขนาด 967 KB เป็น Auto-Complete ของpst เดิม เก่า
Stream_Autocomplete_0_CD9A84CD85102D40A1C3160B37D89FD1 ขนาด 40 KB เป็น Auto-Complete ของ pst ที่มาใหม่ -2

สังเกต Auto-Complete นานแล้วจะขนาดใหญ่ อันที่เล็กๆ 40 KB เท่ากันคือ สร้างมาใหม่

ให้คัดลอก Stream_Autocomplete_0_6942810ฺBA4E7934584E67C1F6582A3A1 ไว้ ที่อื่น แล้ว rename เป็น Stream_Autocomplete_0_04629AAC10EF6F43B5628D8369EFB79C แล้วเอามาทับ ของเดิม Stream_Autocomplete_0_CD9A84CD85102D40A1C3160B37D89FD1 ก็เช่นกัน

อย่าลืมปิด outook และ kill process outlook ทิ้งด้วย ไม่งั้น copy ทับไม่ได้

Enable Network Discovery in Windows 7,8,10 Server 2008,2012,2016

ไปที่ Services เปิด Function ให้เป็น Automatic

DNS Client
Function Discovery Resource Publication
SSDP Discovery
UPnP Device Host

ระบบจะเปลี่ยนจาก Public เป็น Private

Windows 2012 r2 SMB 1

มื่อต้องการแก้ไขปัญหานี้บนเซิร์ฟเวอร์ไฟล์ที่กำลังเรียกใช้โพรโทคอล SMB เวอร์ชัน1ให้เพิ่มค่าDisableStrictNameCheckingลงในรีจิสทรี:
ตำแหน่งที่ตั้งของรีจิสทรี: HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\LanmanServer\Parametersdword name: DisableStrictNameCheckingค่า dword: 1

10.0.17763.771

[10.0.17763.771]
LocalOnlyPatch.x86=1
LocalOnlyOffset.x86=AFEB4
LocalOnlyCode.x86=jmpshort
SingleUserPatch.x86=1
SingleUserOffset.x86=4D7F5
SingleUserCode.x86=nop
DefPolicyPatch.x86=1
DefPolicyOffset.x86=4BFF9
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
SLInitHook.x86=1
SLInitOffset.x86=5B30A
SLInitFunc.x86=New_CSLQuery_Initialize

LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=77AD1
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=1339C
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=18025
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=1ACDC
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.17763.771-SLInit]
bInitialized.x86 =CD79C
bServerSku.x86 =CD7A0
lMaxUserSessions.x86 =CD7A4
bAppServerAllowed.x86 =CD7AC
bRemoteConnAllowed.x86=CD7B0
bMultimonAllowed.x86 =CD7B4
ulMaxDebugSessions.x86=CD7B8
bFUSEnabled.x86 =CD7BC

bServerSku.x64 =ECAB8
lMaxUserSessions.x64 =ECABC
bAppServerAllowed.x64 =ECAC4
bInitialized.x64 =ECAB4
bRemoteConnAllowed.x64=ECAC8
bMultimonAllowed.x64 =ECACC
ulMaxDebugSessions.x64=ECAD0
bFUSEnabled.x64 =ECAD4

DOT NET 4.6.2 Install Error Certificate

ติดตั้ง DOT NET 4.6.2 แล้วขึ้น Error 

NET Framework 4.6.2 has not been installed because
Installation Did Not Succeed
NET Framework 4.6.2 has not been installed because:
A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider

ติดตั้งไม่สำเร็จ

grikt

วิธีแก้คือให้ไปติดตั้ง Certificate จาก microsoft โดยไป download ที่

จะได้ไฟล์  MicrosoftRootCertificateAuthority2011.cer

คลิ๊กขวาที่ ไฟล์ เลือก Install Certificate

ติดตั้งเสร็จ ติดตั้ง DotNet อีกครั้ง

10.0.18362.267

[10.0.18362.267]
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=82FB5
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=0DBFC
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=1FE15
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=22DDC
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.18362.267-SLInit]
bInitialized.x64 =F6A8C
bServerSku.x64 =F6A90
lMaxUserSessions.x64 =F6A94
bAppServerAllowed.x64 =F6A9C
bRemoteConnAllowed.x64=F6AA0
bMultimonAllowed.x64 =F6AA4
ulMaxDebugSessions.x64=F6AA8
bFUSEnabled.x64 =F6AAC