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.
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:installationMediaDrive:\sources\sxs
  1. Change the installationMediaDrive to the drive letter of your installation media (D, E, F, etc.)
  2. 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()

Solve the pending reboot error in RDS deployments (RDMS) in Windows Server 2012

Struggling with installing Remote Desktop Management Services on Windows Server 2012 R2? I found that there were pending file renames stuck in the registry.

  • HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
  • Delete any pending rename files
  • Try the install again

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

Hardening Windows 10

This is a list of articles on Hardening Windows 10. As you can see the list is short. If you see a good article on Windows 10 Hardening post it in the comments so I can add it to this list.

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

How to Determine the Serial Number of Catalyst Switch Components

If you don’t have all of the switches documented with the serial numbers in a handy location it can be thorough pain to get the serial numbers especially if the switches are in a different geographical location. Here’s how you get that info without too much sweat.

  1. How to Determine the Serial Number of Catalyst Switch Components