Jared Heinrichs

  • Technology Blog
  • Winnipeg Computer Repair
  • Winnipeg Photographer
  • Cooking With Jared
You are here: Home / Archives for Operating System

Aug 6, 2017 By Jared Heinrichs Leave a Comment

How to install “Damn Small Linux” in Virtual Box

The process for this is pretty straight forward. The website makes the install seem like it much harder than it should be.

I am going to assume you have Virtual Box already installed.

Files needed:

  1. Virtual Box
  2. Damn Small Linux (DSL) iso

These files are hosted on my MEGA account. You can get the files from the original sites but this post will use these items.

When you open Virtual box click “New” icon.

Name the VM. I am calling mine DSL-inside.

Change the size to: 2GB and click “create” button.

Select the new VM and click “Start“.

You will ask what you want to boot off of. Select the DSL iso file.

Hit enter to boot into the Live OS.

Click on Terminal.

You will now need to create 2 drives:

  1. hda1 – App 128MB Swap drive
  2. hda2 – DSL location 2Gb (83MB smallest)

Type these commands to open the partition manager.

sudo -s
cfdisk

This will open the partition manager. You will be asked to zero the HD table. Say “y“es.

You will need to select the free space and create a new partition. Use the left and right arrows to select “New“.

Will will need to make a primary partition

Select 128MB. This is the recommended size for the swap partition (HDA1).

You will need to create this partition at the beginning of the drive.

Select the remaining free space. using arrows select “New” to create the data partition (HDA2).

Will will need to make a primary partition

Use the default which should be the remaining space. (2018.97MB)

Make HDA2 bootable.

Finalize and write the partitions to the hard drive.

Confirm the writing to disk by typing “yes“.

Type these commands:

        sudo -s
        swapoff -a    swapoff is a critical step, make sure you do it.
        mkswap /dev/hda1
        swapon /dev/hda1  [If you get "device or resource busy" here, ignore it.]

Run the HD install by running this command:

sudo -u root dsl-hdinstall

Select HDA2 to install DSL to. Follow the rest of the prompts.

Proceed with Bootloader (y)es and tell DSL to use (G)rub.

You obviously don’t have windows install so say “n“o.

You will need to create a password for two users:

  1. root – Super User.
  2. dsl – Normal Linux user.

Filed Under: Damn Small Linux, Damn Small Linux

Oct 22, 2016 By Jared Heinrichs Leave a Comment

[FIXED] Dism Error: 0xc1420117

I was getting the error message “Error: 0xc1420117” when I tried unmounting a wim file.

To give you a little background about my machine…

It’s is a Windows 2012R2 server with WDS, MDT installed. I installed MDT I needed to install Microsoft ADT which also includes Dism.

If you open a command and run dism the program just runs.

After a little bit of fooling around, I noticed the system had TONS of dism files on it. To resolve the issue you need to run the most up-to-date version. A way to check which dism files are on your computer is to open a command prompt and type:

  • dir C:\dism.exe /s /a

The output will look similar. Notice how the file in the C:\deploymentShare\Servicing\x64 has the most recent file where as the Windows\System32 dism file was made back in 2014.

dism-001

Using the most recent version of dism I then ran the commands:

  • dism /Cleanup-Mountpoints
  • dism /unmount-wim /mountdir:C:\dismmount /discard

NOTE – My mount drive is “C:\Dismount”

Hopefully, this will help you successfully fix your Dism Error: 0xc1420117

Filed Under: Windows Deployment Services

Sep 29, 2016 By Jared Heinrichs 1 Comment

How to fix 8007071a -The remote procedure call was cancelled

Are you getting the error code “8007071a -The remote procedure call was cancelled” when you try and force group policy updates to machines?

8007071a-01

The reason why this is most likely happening is due to the firewall. It is blocking your ability to do this remotely. To allow you to remotely force a gpupdate there are a few services that you need to allow through the firewall.

I would recommend that you do this also through Group Policy! Here are the items you need to open up on the firewall:

  • Remote Scheduled Tasks Management (RPC)
  • Remote Scheduled Tasks Management (RPC-EPMAP)
  • Windows Management Instrumentation (WMI-In)

8007071a-02

 

Apply this to the OU at or above where you are trying to force the update. You now need to tell the person to reboot or open a command prompt and type “gpupdate /force”.

Doing one of those two things will allow you to right click an OU and force update going forward.

8007071a-03

You should now see that the computer will pass the update!

8007071a-04

 

Filed Under: Group Policy

Sep 11, 2016 By Jared Heinrichs Leave a Comment

Upgrading Windows 2008R2 DC to Windows 2012R2

When you try to upgrade a Windows 2008R2 Dc to Windows 2012R2 you will notice that you most likely can’t.

Depending on your setup you will most likely get one or two of these errors.

  1. System Devices: Microsoft Emulated S3 Device CapThe S3
    1. This is a non-critical error if you are running the system on a first generation Hyper-v virtual machine. Video driver isn’t supported in Windows 2012r2.
  2. Active Directory on this domain controller does not contain Windows 2012 ADPREP /FORESTPREP updates.
    • The domain needs to be prepped. The link Microsoft provides might give you some insight but does not contain the correct info.
    • The link they provide is: http://go.microsoft.com/fwlink/?linkid=113955 – This link isn’t correct. See info further down in the post.

Here’s what the report looks like. It’s located on your desktop after a failed upgrade.

report-dc-upgrade

As you can see the link only talks about upgrading from really old OS’s to 2008/2008R2 domain controllers and not 2012r2.

At step 4 it says to run adprep from the OS disk to prepare the machine.

  • D:\sources\adprep\adprep /forestprep

ADPrep is no longer found in this directory! It now can be found in:

  • D:\Support\Adprep

forestprep-01

It will run and you will be presented with some info. The main parts are:

  • All Dc’s Must be Windows 2003 or later
  • Can’t be reversed
  • Hit “C” to continue
  • Hit “ENTER” to EXIT

The command output is a few screens in length. Here is the output of the command in my test DC.

forestprep-03

forestprep-04

Now guess what! You also have to upgrade:

  • Domain:
    • adprep /domainprep
  • Group Policy
    • adprep /domainprep /gpprep
  • RoDC
    • adprep /rodcprep

These commands are similar to the first ADPREP command you entered.

Here is the output from those commands:

forestprep-05

The group policy should already be updated but I like to still run the command to make sure:

forestprep-06

Again you shouldn’t need to run this command but I do it anyways to make sure:

forestprep-07

Rerun the install and you will see you can now hit “NEXT” after the compatibility report!

windows28-dc-upgrade

Voila! Your Upgrade is underway!

windows28-dc-upgrade-01

Filed Under: Windows 2008 R2, Windows 2012R2

Jun 17, 2016 By Jared Heinrichs Leave a Comment

FIX – Application pool cannot be deleted because it contains 1 applications.

Are you getting the error message: There was an error while performing this operation. Details: Application pool “<name>” cannot be deleted because it contains 1 applications?

The only way I could figure out how to delete it was using Powershell.

How-to-delete-web-pools_000

How-to-delete-web-pools_001a

How-to-delete-web-pools_002

Here are the Powershell commands:

  1. import-module WebAdministration
  2. iis:
  3. ls *optional* This just shows you the AppPools folder exists
  4. cd AppPools
  5. dir
  6. del *name_of_Web_Pool*
  7. Will ask you if you really do want to remove the App Pool. “Hit A for “Yes to all”.
  8. ls – This will allow you to verify the AppPool is gone.

How-to-delete-web-pools_003

You can now go back into IIS and verify that the AppPool is no longer there!

Filed Under: IIS

  • 1
  • 2
  • 3
  • …
  • 45
  • Next Page »

Categories

  • Board Game Rules
  • Camera
  • Computer Hardware
    • Blackberry
    • drivers
    • iPad
    • Magic Jack
    • USB
  • Damn Small Linux
  • Exam Notes
  • Facebook
  • FREE Flashcards
  • Games
    • PC
      • League of Legends
    • Wii
    • xbox 360
  • Music
  • Networking
    • Cisco Certification
    • Mitel
    • Palo Alto Firewall
  • News
    • Google
    • Microsoft
  • Operating System
    • Active Directory (2003)
    • Android
    • Command Prompt
    • Damn Small Linux
    • Group Policy
    • Hyper-V
    • IIS
    • ISA 2006
    • Mac OS X
    • Microsoft Exchange Server
    • Powershell
    • Security
    • SME Server
    • Terminal Server 2003
    • Ubuntu Linux
      • Adito Web SSL VPN
      • OpenVpn-als
      • Webmin
    • Virtual Machine Manager
    • Windows 2003 SBS
    • Windows 2003 Server
    • Windows 2008
    • Windows 2008 R2
    • Windows 2012R2
    • Windows 7
    • Windows 8
    • Windows Command Line
    • Windows Deployment Services
    • Windows Server Backup
    • Windows Vista
    • Windows XP
  • Phones
  • Photography
  • Photos
    • Animals
    • Misc
    • Nature
    • Portraits
  • Portfolio
  • Programming
    • CSS
    • HTML
    • jQuery
    • MySQL
    • PHP
    • Script
  • Programs
    • Acrobat
    • Acrobat Reader
    • Adobe Dreamweaver
    • Adobe Illustrator
    • Adobe Photoshop
    • Anti-virus Software
    • Antivirus
    • Backup Exec
    • Bittorent
    • Blackberry BESADMIN
    • Internet Explorer 9
    • Lightroom
    • Microsoft Office
    • Netbeans
    • Onenote
    • Outlook
    • Shelby
    • Sysprep
    • Trend
    • Video Editing
    • Visual Studio
    • Windows Live Writer
    • WireShark
    • XP Mode
    • Zarafa
  • Recipe
  • Review
  • Software Links
  • Troubleshooting
  • Uncategorized
  • Videos
  • Web Applications
    • Brage
    • Google
    • Spiceworks
    • Wordpress
  • Web Browsers
    • Internet Explorer
  • Web Server
    • XAMPP
  • Winnipeg
    • ISP

Try searching this site!

Copyright © 2021 Winnipeg Web Design