mild0d

@mild0d

1,194 words

You'll only receive email when mild0d publishes a new post

Create LiteTouch Bootable USB for UEFI or BIOS

This is what I use for creating a litetouch bootable USB.  I use this for "imaging" a system with MDT with custom applications for each build instead of deploying with a captured image.

1. Run CMD as an admin.  Type "diskpart". Run "List Disk". Check to see if your USB drive is GPT.  Your device will have a * under the GPT section if it is GPT. Note which disk your drive is, in my example, my drive is disk 1.

Disk###  Status        Size    Free    Dyn Gpt

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

Disk 0   Online        465 GB 1024 KB       *

Disk 1   Online        28 GB 0 B            *

2. Type, "Select disk 1", if your drive is gpt, type "convert mbr".  If your drive is not gpt, skip the convert mbr command.

3. Type "Clean"

4. Type "create partition primary"

5. Type "select partition 1"

6. Type "format fs=fat32 quick"

6. Type "active"

7. Type "assign"

8. Type "exit"

9. Lastly, mount your litetouch iso and copy the contents to your freshly formatted USB drive.

Here is my session:

DISKPART> list disk

Disk ### Status        Size    Free    Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0   Online    465 GB  1024 KB          *
Disk 1   Online    28 GB  28 GB             *

DISKPART> select disk 1

Disk 1 is now the selected disk.

DISKPART> convert mbr

DiskPart successfully converted the selected disk to MBR format.

DISKPART> clean

DiskPart succeeded in cleaning the disk.

DISKPART> create partition primary

DiskPart succeeded in creating the specified partition.

DISKPART> select partition 1

Partition 1 is now the selected partition.

DISKPART> format fs=fat32 quick

100 percent completed

DiskPart successfully formatted the volume.

DISKPART> active

DiskPart marked the current partition as active.

DISKPART> assign

DiskPart successfully assigned the drive letter or mount point.

DISKPART> exit

Leaving DiskPart...

C:\WINDOWS\system32>

How to import Sticky Notes from Windows 7 to Windows 10

To convert old Sticky Notes StickyNotes.snt data file to the new Sticky Notes plum.sqlite format do the following:

1. On your Windows 7 machine go to: 

    %AppData%\Microsoft\Sticky Notes

2. Copy StickyNotes.snt to a network location or USB drive, somewhere you can access it on the Windows 10 machine.

3. On your Windows 10 machine, close Sticky Notes.

4. Now open Settings > Apps > Sticky Notes > Advanced Options. Press the Reset button. The app will be reset to default.

5. Do not open Sticky Notes app now. Instead, open File Explorer and navigate to the following folder: 

    %LocalAppData%\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\LocalState\Legacy

NOTE: If the Legacy folder does not exist, you will need to create this folder here in the LocalState folder and then place the StickyNotes.snt file from your older Windows system here in the Legacy folder. Hopefully, you will have copied or backed up this StickyNotes.snt file from your earlier system.

6. Copy Stickynotes.snt the legacy folder and rename it to ThresholdNotes.snt

7. Now start the Sticky Notes app. The data in the .snt file will be automatically transferred to a new .sqlite data file.

Re-Create User Profile (Windows)

1. Reboot the computer to release any locks on the profile.

2. Log on with an administrative account. 

3. Navigate to the C:\Users\ folder 

4. Rename the user profile with the word “.old” at the end of it. Example: “username” becomes “username.old” 

5. Delete these two registry keys for that user: Open regedit.exe and navigate to: 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList

In the “Profile Image Path” value. Find the key that lists the user name. Note the last four digits of the value. Then delete it.

Then navigate to: 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Current Version\ProfileGuid 

Find and delete the key with the four digits from the last step.

6. Reboot the computer again. 

7. Login with the users credentials. 

8. Transfer data from the user’s old profile (username-old), into the user new profile (username) one folder at a time. 

*Do not transfer the “AppData” Contents unless you specifically know what you are looking for. This folder is most likely housing the garbage that jacked-up the user profile in the first place. 

*If the user was fond of Sticky Notes, they can be found here:

 C:\Users\username\AppData\Roaming\Microsoft\Sticky Notes 

9. After you are sure that you have moved all the users’ data from the old profile on to the new profile. You may delete the old profile, but I never do. Just in case. 

10. Another reboot may be required. 

11. Have user login again. Remap any network drives, printers, task bar items and any other cosmetics from step 1.


This was taken from https://community.spiceworks.com/how_to/121165-re-create-user-profile-windows and cleaned up.