First, let’s select all disabled products:
Login in the backend of Magento 2.3. Go to CATALOG -> Products. Click Filters.
Select “Disable”, which is under “Status”, and click “Apply Filters”.
Second, set the quantity of all disabled products to 1.
A: Select all filtered products;
B: Click “Actions”, and choose “Update attributes”;
C: Click “Advanced Inventory” which is under “PRODUCTS INFORMATION”;
D: Set “Qty” to 0.
I have tested the method for https://www.globalsafetyglasses.com