-
1
- #1
Forgive the slight digression here, but I don't imagine I am the only one who uses a NAS box
to back-up my hard drive on my development laptop.
Since my machine was updated to Windows 11, I have struggled periodically to access the
shares on the NAS box, because it is not very new and only supports SMB 1.0. It can't be updated
apparently and I don't want to throw it out yet - it's very good, robust and was expensive!
This is a PITA, rather like the way W11 (and previous versions) decide when my machine should be
rebooted for a windows update - even if I am in the middle of something.
To get access back is not difficult, you just go to windows features and reenable SMB 1.0/CIFS Client
and DISABLE the Automatic Removal tool... until blessed windows puts it back (including reinstating the
automatic removal tool).
To stop this happening, until I am ready, I now schedule a task every 21 minutes past the hour that
runs a batch file as administrator containing the following code:
The two SC commands stop the updates
DISM commands turn SMB1 back on and disable the Automatic removal - notice how M$ kinda hid it using a name for the feature that doesn't
site with the others in the features list for DISM? B-)
The timeout is not essential, it just reminds me that it is doing the job, and that an update needs to be done!
Regards
Griff
Keep [Smile]ing
to back-up my hard drive on my development laptop.
Since my machine was updated to Windows 11, I have struggled periodically to access the
shares on the NAS box, because it is not very new and only supports SMB 1.0. It can't be updated
apparently and I don't want to throw it out yet - it's very good, robust and was expensive!
This is a PITA, rather like the way W11 (and previous versions) decide when my machine should be
rebooted for a windows update - even if I am in the middle of something.
To get access back is not difficult, you just go to windows features and reenable SMB 1.0/CIFS Client
and DISABLE the Automatic Removal tool... until blessed windows puts it back (including reinstating the
automatic removal tool).
To stop this happening, until I am ready, I now schedule a task every 21 minutes past the hour that
runs a batch file as administrator containing the following code:
Code:
@echo off
SC stop wuauserv
sc config wuauserv start= disabled
DISM /Online /Enable-Feature /All /FeatureName:SMB1Protocol
dism /online /disable-feature /featurename:SMB1Protocol-Deprecation
timeout /t 300
The two SC commands stop the updates
DISM commands turn SMB1 back on and disable the Automatic removal - notice how M$ kinda hid it using a name for the feature that doesn't
site with the others in the features list for DISM? B-)
The timeout is not essential, it just reminds me that it is doing the job, and that an update needs to be done!
Regards
Griff
Keep [Smile]ing
There are 10 kinds of people in the world, those who understand binary and those who don't.
I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
There is no place like G28 X0 Y0 Z0
I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
There is no place like G28 X0 Y0 Z0