How to Install Microsoft .NET Framework 3.5 Offline in Windows 8 and Later

Installing .NET framework 3.5 is extremely easy using Deployment Image Service and Management (DISM).

You need a copy of your installation media.

  1. Insert the installation media.
  2. Open CMD.
  3. Just type the following code in a CMD window.
  4. DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:installationMediaDrive:\sources\sxs
  5. Change the installationMediaDrive to the drive letter of your installation media (D, E, F, etc.)
  6. What a few minutes while the feature is enabled.

That’s it!

Changing Services Remotely

If you are like me and occasionally need to change the status of a service running on workstation that is clear on the other side of the campus and it is freezing cold outside… this is for you. If you can see that machine via an IP then you can change the service status. Here is how to do that:

  1. Open PowerShell and type
    Get-Service -ComputerName [name of workstation]| Format-Table status,servicename,displayname -autosize

    press enter

  2. Find the service that you want to manipulate. In this example I am using the LogMeIn service.
  3. Next you will want to find all the services associated with the services you want to manipulate to make sure they are running by typing
    Get-Service -ComputerName [name of workstation] [name of service] -Required
  4. Now type
    Set-Service -ComputerName [name of computer] [name of service] -StartMode Automatic|Manual|Disabled
  5. Now type
    (get-service -ComputerName [name of computer] -ServiceName [name of service]).stop()
  6. Now type
    (get-service -ComputerName [name of computer] -ServiceName [name of service]).start()

Cannot Be Loaded Because Running Scripts is Disabled on This System

When you attempt to run a PowerShell script you get the following response. “Script cannot be loaded because running scripts is disabled on this system”.

To allow execution of scripts type the following in PowerShell:

Set-ExecutionPolicy RemoteSigned

Or if you just want to allow the script to run this one time to test it then type the following in PowerShell:

powershell -ExecutionPolicy ByPass -File yourscript.ps1

Disable or Uninstall OneDrive Completely in Windows 10

One of the many things that is activated by default in Windows 10 is the App for OneDrive. While OneDrive is cool, if you do not normally use it, the constant popup reminder to create a OneDrive account can be a real annoyance. So follow the steps below to turn it off completely in Windows 10. Note: This will work in both the local and enterprise environment (look at step 2)

  1. Open Group Policy Editor with the shortcut key Windows Key + R
  2. Type in GPEdit.mscto open the Local Group Policy Editor if you want to disable OneDrive for all computer in your enterprise then go to step 3
  3. Open Windows Administrative Tools > Group Policy Management
  4. Navigate to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> OneDrive (same for local and enterprise)
  5. In the right pane, double click on policy named Prevent the usage of OneDrive for file storage
  6. Select the Enabled radio button
  7. Press OK

How to Show the Uptime in Cisco IOS

A fast way to determine if your switch or router has lost power recently.

  1. Login to the switch or router in question. *No need to enable
  2. At the console type:
  3. show ver | inc upt
  4. The output will be something like:
  5. uptime is 1 week, 16 hours, 32 minutes

Windows 10 – Play DVDs for Free

You can watch DVDs on your Windows 10 PC for free. Here’s what you need:

  • A DVD-ROM drive, either internal or external or virtual such as Virtual CloneDrive
  • VideoLAN’s VLC desktop software, an open-source (read: free to use) media player that includes support for DVD media. (Note that I don’t recommend the VLC app in the Windows Store, which is a separate version that does not support DVD playback.)

During the VLC installation process, make sure “Discs Playback” is selected (it is by default). Once it’s installed and running, pop in your DVD, then click Media > Open Disc…, or just press Ctrl-D.

In the window that appears next, click Play — and then sit back and enjoy. I tested this with, appropriately enough, a DVD of “The Simpsons,” and it worked like a charm. Your mileage may vary, of course; there are always potential glitches with DVD regions, video codecs and the like.

But for most folks, this is the free and easy path to DVD nirvana in Windows 10. Thanks for the $15 app, Microsoft, but no thanks.

By the way, neither Microsoft’s app nor VLC offers direct support for Blu-ray media. There are some VLC add-ons that may work, but your better bet is to buy Blu-ray movies that come with digital versions.

Cisco – Default Service Configuration Error in IOS

These error messages are related to the default service configuration option built into Cisco IOS software, which attempts to access the service configuration files from a network Trivial File Transfer Protocol (TFTP) server. To get rid of the errors and the constant searching for a TFTP server just follow these steps.

  1. Login to the switch that is throwing the error.
  2. enable
  3. config terminal
  4. no service config
  5. exit
  6. copy run start