TechShizz | All posts tagged 'Windows 7'

Shortcuts on Desktop keep disappearing on Windows 7

Found this resolution for the problem.

Windows has a built in component that cleans up 'broken' shortcuts'. It's possible that it is removing the shortcuts if connectivity to shared location is lost. 

To disable the System Maintenance troubleshooter, follow these steps:
  1. Click Startstart button, and then click Control Panel.
  2. Under System and Security, click Find and fix problems.
    Note: If System and Security is not displayed you will need to change how you are viewing Control Panel. To change your view, click the down arrow in View by and select CategoryView by is located in the top right corner of the Control Panel.

Error: "The User Profile Service failed the logon” (Temporary Windows Profile)

Useful information while Windows Profile States

001 = PROFILE_MANDATORY
Profile is mandatory.

002 = PROFILE_USE_CACHE
Update locally Cached profile.

004 = PROFILE_NEW_LOCAL
Using a new local profile.

008 = PROFILE_NEW_CENTRAL
Using a new central profile.

010 = PROFILE_UPDATE_CENTRAL
Need to update central profile.

020 = PROFILE_DELETE_CACHE
Need to delete cached profile.

040 = PROFILE_UPGRADE
Need to upgrade profile.

080 = PROFILE_GUEST_USER
Using guest user profile.

100 = PROFILE_ADMIN_USER
Using administrator profile.

200 = DEFAULT_NET_READY
Default net profile is available & ready.

400 = PROFILE_SLOW_LINK
Identified slow network link.

800 = PROFILE_TEMP_ASSIGNED
Temporary profile loaded.


you can do this through secpol.msc
1. Start->Run->secpol.msc
2. Navigate to Local policies -> Security settings
3. Find the entry "Interactive Logon: Hide last user..." and set it to activated.
4. Reboot the machine

https://support.microsoft.com/en-gb/kb/947215

Error: “Setup was unable to create a new system partition or locate an existing system partition”

While installing windows from a USB drive if you receive this error, try this:

Basically you just need to copy all installation files from USB flash drive to your HDD (or SDD) drive and make it bootable, and then continue installation from HDD to HDD.

Step by step instruction:

  1. Boot windows installation from USB drive
  2. Press Shift+F10 to enter the CMD prompt.
  3. In console type diskpart.exe and press enter. In this program execute following:
    1. select disk=0. Disk 0 is your destination drive, so be careful, all information on this drive will be removed.
    2. clean
    3. create partition primary size=xxx, where xxx – is the size of new partition
    4. select partition=1
    5. active
    6. format fs=ntfs quick
    7. assign letter="C"
    8. exit, now you have bootable drive C
  4. Navigate to USB flash drive, in my case: cd d:
  5. Copy all files from USB drive to C: drive: xcopy d: c: /e /h /k
  6. Go to boot folder: cd boot
  7. Make you C: drive bootable with following command: bootsect /nt60 c:
  8. Put off USB drive from computer and restart them.
  9. Install Windows
  10. Remove unnecessary menu item from bootscreen:
    1. Run cmd.exe as Administrator
    2. See boot menu list bcdedit
    3. Find Windows Setup and copy identifier
    4. Run bcdedit /delete {identifier}

Rebuild a Windows 7 User Profile

1. Restart PC and Login as a Local Admin.

2. Rename: c:\users\%username%

3. Export (just as a backup in case you need it) and then delete registry key:

“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList”

(Look through each Profile key under this reg key and view the “ProfileImagePath” to find which key is related to which user)

4. Logout and login as the original user and it will create a new profile for them.

If you do not delete the registry key it will continually give a “temporary” profile to that user infinitely or until you rename their c:\users\%username% folder back.

WMI Failed Error

This occurs when you have bginfo.exe on your desktop and the information does not load.

Log on as Local Admin

Windows XP and Windows Vista/7/8/10

Click Start, Run and type CMD.EXE

Note: In Windows Vista, you need to open an elevated Command Prompt window. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

Type this command and press Enter:

net stop winmgmt

Using Windows Explorer, rename the folder %windir%\System32\Wbem\Repository. (For example, %windir%\System32\Wbem\Repository_bad). %windir% represents the path to the Windows directory, which is typically C:\Windows.

Switch to Command Prompt window, and type the following and press ENTER after each line:

net start winmgmt

EXIT