-
-
Notifications
You must be signed in to change notification settings - Fork 579
-
-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant Open Shared Folder or Printer #71
Comments
"Workaround" Predefined - File and Printer Sharing (SMB-In) then allow the connection restart na computer and the File and Printer sharing is now accessible |
Hello! So you enabled SMB1 and it worked? When I read it 2 hours ago I thought |
No sir not the SMB1, after I add this rule and only checked the File and Printer Sharing SMB-In and it worked |
Is this ruled enabled by default (I can check but later)? I mean did the script disabled it? |
Enable by default and not disabled by the script but after i run the script cant access the shared folder but after I re add the same rules its works I noticed two issue after i run the script cant ping and cant access the shared folder but after i re add the rules in inbound its works |
I will check it on the VM. Are your PCs in an AD? Cos mine are. |
No sir only personal computer or standard setup and only need to share my folder and printer |
Is "Work Folders Client" needs to be enabled?
|
sorry not expert to that, I need to run that command after i run the script? only want to achieve is can access the shared folder and printer by other computer in the same local network after i run the script |
No. It indicates the state of the "WorkFolders-Client" feature: enabled or disabled. Run it and send the output. Just for a test purpose. |
oh sorry ok i will try, but i think tommorow will send the output after work thank you for your kind assistance, God bless and keep safe |
Yeah, I have to test at home, cos' I'm able to ping PCs in my network even on a VM without "File and Printers Sharing" enabled. |
(Get-WindowsOptionalFeature -Online -FeatureName "WorkFolders-Client").State that's the result sir after I run the script and the command you mentioned. Fresh installed Windows 10 2004, run the script and still experienced cant access shared folder or printer (local network) and cant ping. |
Yep. Tested at home. I need to Google ) |
thank you sir, more power and god bless |
$FirewallRules = @(
# File and printer sharing
"@FirewallAPI.dll,-32752",
# Network discovery
"@FirewallAPI.dll,-28502"
)
Set-NetFirewallRule -Group $FirewallRules -Profile Private -Enabled True
Set-NetFirewallRule -Profile Public, Private -Name FPS-SMB-In-TCP -Enabled True
Set-NetConnectionProfile -NetworkCategory Private Think I've fixed it. |
Nice, I will try this today , Thank you Sir |
Sir @farag2 already tested and can now access the shared folder also can ping the computer after added to the script (Set-NetFirewallRule -Profile Public, Private -Name FPS-SMB-In-TCP -Enabled True) Thank You and More Power |
Good Day,
To All,
First nice work for the script and thank you very much.
After I run the Sophia-Script 5.0.1 cant open shared folder.
Requesting for your kind assistance if there is need to edit to the script or I need to adjust to the windows.
Expected Behavior:
After run the script remove all unnecessary apps or bloatware windows can shared folder or access by other computer. (private sharing only)
Actual Behavior
Removed all bloatware but cant access the shared folder and printer.
Thank You and More Power
The text was updated successfully, but these errors were encountered: