July 24

Windows: Windows 10 Enterprise BitLocker keeps asking for recovery key on reboot

After further investigation I have discovered the following:

Running tpm.msc I see the TPM status is: The TPM is ready for use, but with reduced functionality.

Checked boot type. It is set to Legacy not UEFI

Next steps:

Decrypt bitlocker

Convert disk to GPT

Enable UEFI

Enable BitLocker.

By M. Ketley

Category: Windows | Comments Off on Windows: Windows 10 Enterprise BitLocker keeps asking for recovery key on reboot
July 24

Windows: Convert to MBR drive to GPT

Prerequisites

  1. A computer able to boot UEFI. You can check that on your computer manufacturer. Also in the BIOS setup should display UEFI boot options.
  2. Windows 7/8 x64 (I’m not sure if x86 supports it or how).
  3. A computer able to boot from USB or memory card (only for this process).
  4. A USB drive or memory card with at least 4GB or a Windows installation disc.
  5. BitLocker TURNED OFF! If you have BitLocker enabled on your hard drive, it will have to be TOTALLY turned off for this procedure. After the procedure is performed, BitLocker can be turned on again.
  6. A “standard” Windows installation. This means, the disk where Windows is installed has to contain the System Partition (something above 200MB) and then the OS Partition. This is because Windows will require some space at the beginning of the disk to create the new boot partitions, and we will use the previous System Partition. To verify this you can follow Instructions steps 8 through 11. If there isn’t enough space at the beginning (the primary small partition is under 200MB), partitions may be resized using some tool like Easeus Partition Master (You can also just use the windows disk management tool (diskmgmt.msc))  or such. Don’t continue the operation until you have done so because you may not be able to finish it!

 


Warnings

  1. As usually, I won’t take any responsibilities if data is being lost, your computer doesn’t boot up anymore, or some gremlins attack your family. You are doing this at your own responsibility. 🙂 This is not a documented feature at all.
  2. After this procedure, old versions of Windows probably won’t be able to boot from this disk drive since it has to be converted to GPT.

 


Recommendations

  1. It is HIGHLY recommended for you to perform a backup of your data! If you have a second disk drive big enough, you can simply create a system image and able to recover the full installation as it was before you started this procedure if anything goes wrong.
  2. Download this guide to another computer or print it out, since you will have to make some operations without Windows working.
  3. These procedures are likely to render your on-board Recovery partition unusable. Thus, a backup of your Recovery partition onto a USB device is highly recommended if your PC came with Windows 8 preinstalled or you don’t have your Windows installation media. Once created, this bootable Recovery USB can optionally be substituted for the System Repair disc in the steps below. For a creating the Recovery USB, see the following: http://www.techrepublic.com/blog/window-on-windows/create-a-recovery-drive-in-windows-8/7261

 


Notes

Steps were performed on Windows 8. Some steps in Windows 7 may have different menus, but the options and results are the same.

Instructions

  1. Create a system repair disc (http://windows.microsoft.com/en-US/windows7/Create-a-system-repair-disc ). You can skip this step if you have a Windows installation media. Is a good measure to reboot and verify you can start your system from this disc.
  2. Identify which disk you want to convert (usually is #0). This can be done by looking at the number in the Windows Disk Management.
  3. Download gptgen from here http://sourceforge.net/projects/gptgen . (You could use the Windows Disk Management Tool for this too. (diskmgmt.msc)) This tool will allow you to convert your MBR disc to GPT with the data included.
  4. ATTENTION: After this step, your computer CANNOT BOOT until the whole process is completed. DO NOT Shut Down Unless Instructed to! Unzip gptgen and then run CMD with elevated privileges. (replace the 0 with the identified disk number).This *will* result in a BSOD shortly after and it’s to be expected:gptgen.exe -w \\.\physicaldrive0
  5. Boot using your Windows installation or previously generated system repair disc.
  6. Choose language and preferences, and then select Repair Your Computer -> Troubleshoot -> Advanced options -> Command Prompt
  7. We will need the disk partitioning tool. With this, we will recreate the boot partitions. Type:diskpart
  8. Identify the boot disk where Windows is located, typing:list disk Something like this should appear: 

          Disk ###  Status         Size     Free     Dyn  Gpt

          --------  -------------  -------  -------  ---  ---

        * Disk 0    Online          128 GB      0 B        *

  9. Once identified, select the disk (replace with the correct number):select disk 0
  10. Verify the partitions:list partition
  11. Something similar at the info below should appear.       Partition ###  Type              Size     Offset       -------------  ----------------  -------  -------       Partition 1    Primary            350 MB  1024 KB

           Partition 2    Primary            126 GB   350 MB

  12. Delete the previous system partition:  select partition 1  delete partition
  13. Create the new boot partition, Microsoft reserved partition:  create partition EFI size=100 offset=1  format quick fs=fat32 label="System"   assign letter=S

      create partition msr size=128 offset=103424

  14. If you list the partitions again, you should have ended up with something like this:       Partition ###  Type              Size     Offset       -------------  ----------------  -------  -------       Partition 1    System             100 MB  1024 KB

           Partition 2    Reserved           128 MB   101 MB

           Partition 3    Primary            126 GB   229 MB

  15. Ensure that your Windows installation is mounted, replacing 3 with the volume number of the Windows installation (usually 1):  list volume  select volume 3  assign letter=C
  16. Exit diskpart:  exit
  17. Generate boot partition data, replacing C: with the letter of the Windows installation (usually C:):  bcdboot c:\windows /s s: /f UEFI
  18. Cross your fingers and then restart your computer!

By: Carlos

Category: Windows | Comments Off on Windows: Convert to MBR drive to GPT
May 24

Linux: Testing a samba printing connection with smbclient

I had a case where our AIX system would not print to a Windows 7 print share. I wanted to test it from a Linux workstations. Here is a brief process:
1. sudo apt-get install smbclient
2. touch testing123.txt
3. smbclient //192.168.1.23/sharename -U sambauser -W mydomain -c “print testing123.txt” –debuglevel=10

The debuglevel was an important addition to the testing process to see exactly what was happening.

Category: Linux, Windows | Comments Off on Linux: Testing a samba printing connection with smbclient
May 17

Windows: Installing Service pack 2 on Windows 2003 Server fails with Access denied.

If you tried to install SP2 on Windows 2003 you might have run into a problem with an Access Denied error. Check the file: c:\windows\updspapi.log. You will see that there is a problem deleting a registry key:

#-086 Deleting registry value “HKLM\Software\Microsoft\Windows NT\CurrentVersion\SvcHost\wugroup”
#E033 Error 5: Access is denied.

The problem is that the administrators group on has read only access to this Key.

Resolution:
In regedit go to HKLM\Software\Microsoft\Windows NT\CurrentVersion\
Right click on SvcHost and change the administrators group to Full Control

Fix By: C. Boessen – Write up: Timothy Conrad

Category: Windows | Comments Off on Windows: Installing Service pack 2 on Windows 2003 Server fails with Access denied.
May 10

Windows: When running task scheduler the Last Run Result is 0x1

I personally found this issue to be a problem in Windows 7 when trying to run a batch file. The fix was to make certain you have the path to your .bat file in the “Start in (optional):” Text Field. Apparently this is not so optional.

By: TConrad

Category: Windows | Comments Off on Windows: When running task scheduler the Last Run Result is 0x1