Installing .NET framework 3.5 is extremely easy using Deployment Image Service and Management (DISM).
You need a copy of your installation media.
- Insert the installation media.
- Open CMD.
- Just type the following code in a CMD window.
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:installationMediaDrive:\sources\sxs
- Change the installationMediaDrive to the drive letter of your installation media (D, E, F, etc.)
- What a few minutes while the feature is enabled.
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:
- Open PowerShell and type
Get-Service -ComputerName [name of workstation]| Format-Table status,servicename,displayname -autosize
- Find the service that you want to manipulate. In this example I am using the LogMeIn service.
- 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
- Now type
Set-Service -ComputerName [name of computer] [name of service] -StartMode Automatic|Manual|Disabled
- Now type
(get-service -ComputerName [name of computer] -ServiceName [name of service]).stop()
- Now type
(get-service -ComputerName [name of computer] -ServiceName [name of service]).start()
Struggling with installing Remote Desktop Management Services on Windows Server 2012 R2? I found that there were pending file renames stuck in the registry.
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:
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
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)
- Open Group Policy Editor with the shortcut key Windows Key + R
- 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
- Open Windows Administrative Tools > Group Policy Management
- Navigate to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> OneDrive (same for local and enterprise)
- In the right pane, double click on policy named Prevent the usage of OneDrive for file storage
- Select the Enabled radio button
- Press OK
A fast way to determine if your switch or router has lost power recently.
- Login to the switch or router in question. *No need to enable
- At the console type:
show ver | inc upt
- The output will be something like:
uptime is 1 week, 16 hours, 32 minutes
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.
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.
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.
- Login to the switch that is throwing the error.
- config terminal
- no service config
- copy run start
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.
- How to Determine the Serial Number of Catalyst Switch Components