How to Restart the Windows File Sharing Service

This quick tutorial will show you how to restart the Windows file sharing service on your Windows desktop / server. This can be useful if you encounter issues sharing files on your computer, and cannot or do not want to reboot the system.

This tutorial is intended for Windows 10 / 11 and Windows Server 2016 or later. It assumes that you have already enabled and configured Windows file sharing on your computer.

  • Open the Start menu and type “services.msc” in the search box. Press Enter to open the Services window.Opened the start menu and typed in "services.msc". 
    • Alternatively, you may use the keyboard combination Win+R to open the Windows run box and type in “services.msc”.Opened the run box (using the key combination Win+R) and typed in "services.msc".
  • Locate the service named “Server” in the list of services.Located the "Server" service.
  • Right-click on the service and click “Restart”. This will stop and start the service again.Restarting the "Server" service.
  • Now you can verify if your issue has gone away. If not, then a reboot might be in order.

 That’s it! Hopefully someone will find this tutorial useful.


Posted in Computers, Internet and Servers, Operating Systems, Software, Tips & Tutorials

Test-Connection: How to Ping Computers with PowerShell

You can use the commands below to ping computers with PowerShell.

 

Pinging a Single Computer

Test-Connection google.com

You may add (without the quotes) “-IPv4” to the end of the command to tell PowerShell to only ping the IPv4 address of the specified computer.

 

Pinging Multiple Computers

Use a comma [ , ] to specify multiple computers at once.

Test-Connection google.com, yahoo.com


Posted in Code Snippet, Computers, Internet and Servers, Operating Systems, PowerShell, Tips & Tutorials

What Exactly Does “better” Mean, and Why You Should Always Give Context

I have noticed many times on the Internet, people will ask if A is better than B. However, they do not give any context of what they consider “better” to be.

Whenever someone asks me if A is better than B, I always ask them, “What exactly do you mean?”. This is so I can help them make an informed decision. Otherwise I am just guessing, and that will not be helpful to anyone.


Here is an example of someone asking if something is better without context.

A guy named Jeremy goes to a cellphone store and asks Greg the salesman, “Which phone is better to use?”.

Jeremy has not explained to Greg what his requirements are. He could be asking “Which phone is cheaper?”, “Which phone is the fastest?”, “Which phone has the most battery life?”, etc. You get the idea. His saying “better” does not give any context to Greg.

Now Greg proceeds to correctly ask Jeremy, “What are your specific requirements?”. Jeremy then responds saying he is looking for a phone that has a large screen and is not too slow. Now Greg has context – instead of just “better” – and he now can properly show Jeremy the phones that will meet his needs.

Now Jeremy leaves the store happy, since he was able to purchase the phone he wanted.


Something to keep in mind. When someone mentions “better”, that is just their opinion. It does not mean anything until you get their context, and even then, you still would have to agree with their reasons why A is better than B.

You can also have someone who does not care either way. In this case, “better” does not factor in for him.

In addition, you may have someone give their opinion that A is better than B. However, if there is ample, reliable evidence to prove that A is instead equal to B (e.g., scientific research done by two independent universities that came to the same conclusion using valid, reliable methods to test), then there is cause to not believe what the person said. It all comes down to using common sense.

Summary: It’s good practice to always add context when asking if A is “better” than B, otherwise you will have people misunderstand what you are asking and may (unintentionally) give you an answer that is not helpful.


Posted in Computers, General, Internet and Servers, Operating Systems, Security, Shopping, Society, Software

Do You Really Need to Pay for Antivirus Software on Windows?

Quick Answer: No. Windows Defender offers decent protection while being free, conveniently updates via Windows Update, and is not a huge resource hog.

Long Answer:

Anti-virus software has been available for a long time. For years, people paid for virus protection via a subscription service.

Over the last 10 or so years, free anti-virus software such as Avast, Avira, Windows Defender, AVG, Malwarebytes (the free, non-premium version), etc. have taken a hold of the market. Now I have used all of the above-mentioned anti-viruses. They are all pretty good (AVG, for me, ran on the slow side), but my favorite of the bunch is Windows Defender.

Now I do not have fancy charts, data sheets, graphs, etc. to show the “awesomeness” of Windows Defender. What I can tell you is I am running it on several Windows boxes without any trouble or noticeable slowdown.

None of the boxes have had a successful virus intrusion – while running Windows Defender – for the past 3+ years. False positives for me are pretty much non-existent, and I do not have to think about updating Defender, since Windows Update takes care of that automatically.


Q: What advantage would a paid anti-virus software give me that a free one won’t?

A: Pretty much just support. No guarantee of getting support with free software, but with paid software they kind of have to give support, at least if they want to stay in business.

Everything else – including anti-virus definitions (updates) – are good with both paid and free software.


Q: Are there any open source anti-virus software out there for me to use?

A: The only one I would recommend is ClamAV. However, this is not a proper anti-virus solution for most people.

While ClamAV has a real-time scanner, it is not used by default, and it can make your computer run slow (even ClamAV’s own help documentation warns about this). It also has a minimal amount of definitions (from my experience, will catch almost nothing out-of-the-box), and has no graphical user interface for you to use (yes, you will be manually editing a configuration file with a text editor), and it will catch several false positives if you are not careful.

This is not a user-friendly software solution. It is geared towards servers and server administrators to set it up properly.


Q: Do any of the mentioned anti-virus software have any back-doors, spyware code, etc. in them?

A: I really do not know, but I would never discount the possibility. The only solution that should not have any “spy” code in it would be ClamAV, but as mentioned before, ClamAV is very non user-friendly and will cause headaches to people who do not know what they are doing.

Unfortunately, all the good free anti-virus software is closed-source. I can understand this, because no company wants their trade-secrets exposed to the entire world. This would not be good for business!

Also – just a quick note – I personally would avoid the Kaspersky anti-virus software. They are based in Russia, and I would not trust any Russian software on my computer. I have nothing against the Russian people themselves, I just don’t trust their government not to spy on me. Just a thought.


Posted in Computers, Internet and Servers, Operating Systems, Security, Software