Friday, 14 December 2012

Only Guest account when mapping to network drive

Go to the group policy editor from the mmc and changed a policy on the offending computer. 

Computer configuration 
Windows Settings 
Security Settings 
Local Policies 
Security Options 
Network access: Sharing and security model for local accounts

Set to: 
Classic - local users authenticate as themselves

CD/DVD drive shows yellow exclamation in Device Manager

If your CD/DVD drive asking for drivers then follow the below procedure.

In order to delete upper and lower filters you're going to have to edit the registry. The usual cautions apply. If the registry is not edited properly your whole system can crash.

1) Close all open programs 
2) Click on Start, Run, and type REGEDIT and press Enter
3) Click on the plus signs (+) next to the following folders

* HKEY_LOCAL_MACHINE
* SYSTEM
* CurrentControlSet
* Control
* Class
* {4D36E965-E325-11CE-
BFC1-08002BE10318}

4) This folder is the DVD/CD-ROM Drive Class Description in the registry. Look for any of the following names in the right hand column.

* UpperFilters
* LowerFilters
* UpperFilters.bak
* LowerFilters.bak

5) If any of the above keys shown in step 4 are listed, right-click on them and choose Delete
6) After deleting the keys, close the Registry Editor
7) Reboot your computer
8) Open My Computer and check to see if your CD or DVD drives have returned. You may also want to open Device Manager and verify that the yellow exclamation and error code on the CD or DVD drive is gone

Enable Remote Desktop Connection on Windows 7 Home Premium SP1



  1. Download this zip file and extract it to a location on your PC.
  2. Navigate to the folder you just extracted and right click Install.cmd, then chooseRun as administrator.
  3. You’ll get a window similar to the one below and you should now be good to go:
You can also enable multiple sessions per user, and the logging in of users with a blank password (although I wouldn’t recommend this). There are some switches that are available when running the program:
  • -? – Show this help
  • help – Same as -?
  • multi – Enable multiple sessions per user
  • blank – Enable remote log on for user accounts that are not password protected
So for example, if you wanted to enable multiple sessions per user:
  1. Go to start and find Command Prompt. Right click it and select Run as administrator.
  2. At the prompt type cd “c:\DIRECTORY\TO\EXTRACTED\FILES”
  3. The prompt should switch to c:\DIRECTORY\TO\EXTRACTED\FILES >
  4. Type: Install multi

How to remove the remote tab from the system properties panel?


You can remove the tab with : regsvr32 /u remotepg.dll

And add it back with : regsvr32 remotepg.dll

An error has occured while opening the library. VBA The hosting application is not correctly registered. VBA Make sure your hosting is correctly registered in the Windows registry base. . You can use V5RegServer as admin user to register it "


As the message suggests, we can then always run the RegServer of Catia and then goes again (until the next reboot)

For regserver run: Start (Windows) -> Run -> type cmd -> in the next window, enter the path to cnext.exe (Ex: C: \ bin apps \ DS \ BMW \ B19 \ x64 \ win_b64 \ code \) - > cnext.exe enter regserver.
Catia is apparently re-registered in the registry / registered. Then we can start the macro again.

Ex : In run windows type regserver C:\Program Files\Dassault Systemes\B20\win_b64\code\bin\CNEXT.exe

Enable hibernation on 64 bit Windows

To work around this issue on a computer that is running Windows 64 bit operating system, enable hibernation. To do this, run the following command as an administrator:
powercfg /h on
To do this, follow these steps:
  1. Log on as an administrator.
  2. Click Start, type cmd in the Start Search text box, right-click cmd.exe, click Run as administrator, and then clickContinue.
  3. At the command prompt, type powercfg –h on, and then press ENTER.

CHKDSK runs every time I boot

1. click on your start menu and open the run dialog.
2. type "cmd" and return (note: dont enter quotes)
3. Next type "fsutil dirty query e:"
4. If the return message indicates that the volume is dirty go to step 5
5. Next type "chkdsk e: /f /x"
6. After that finshes repeat step 3.
7. If it is no longer dirty then reboot and you should notice no more
    ckdisk.

Unexpected Error occurred" when accessing Network Connection Properties


Re-register the DLLs into the Registry.
  1. Open a new command prompt (CMD).
  2. Type Regsvr32 %SystemRoot%\System32\netshell.dll
  3. Press OK.
  4. Type Regsvr32 %SystemRoot%\System32\ole32.dll
  5. Press OK.
  6. Reboot your machine

The menu bar and the toolbar are missing in Internet Explorer on Windows Vista or Windows XP or in Windows Explorer on Windows XP



  • Close all open Internet Explorer and Windows Explorer windows.
  • Open Register Editor.
    • For Windows Vista and Windows 7, Click Start, type regedit in Search programs and files box, and then clickregedit.exe in Programs.
    • Form Windows XP, Click Start, and then click Run , and then In the Open box, type regedit, and then click OK.
  • Locate and then click the following registry subkey: 
    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar
  • Use one or both of the following steps, as appropriate for your situation:
    • For Windows Explorer: In the details pane, locate the Explorer subkey, and then open it. In the details pane, locate the ITBarLayout value. Right-click this value, and then click Delete.
    • For Internet Explorer: In the details pane, locate the WebBrowser subkey, and then open it. In the details pane, locate the ITBarLayout value. Right-click this value, and then click Delete.
  • On the File menu, click Exit to exit Registry Editor.
  • How to fix “not recognized as an internal or external command” in Windows

    To access the environment variables right click the My Computer icon then choose properties.  Select the Advanced tab and then click Environment Variables.
    At the system variables panel, choose Path then click the Edit button.
    It is a long string separated by semicolons. At the end insert semicolon and type C:\Windows\System32

    Why does Outlook Express keep asking password?

    Remove User Account Information
    Click Start, click Run, type regedit in the Open box, and then click OK. 
    Navigate to and select: HKEY_CURRENT_USER \ Software \ Microsoft \ Protected Storage System Provider 
    Right click Protected Storage System Provider and select Permissions 
    Click the user name for the user that is currently logged on and ensure that Read and Full Control permissions are both set to Allow. 
    Click Advanced button, select the Permissions tab. 
    Ensure that the currently logged on user is highlighted, that Full Control is listed in the Permissions column, and that This Key and Subkeys is listed in the Apply To column. 
    Ensure that Replace Permission Entries on all Child Objects with Entries Shown Here that Apply to Child Objects has a checkmark in the box. 
    Click Apply then click Yes in the Security dialogue box 
    Click OK, then click OK again to return to Registry Editor. 
    Expand the Protected Storage System Provider key by double clicking or using the plus (+) sign. 
    Right click the user sub-key folder directly below the Protected Storage System Provider key. 
    Example: User sub-key looks similar to: S-1-5-21-124525095-708259637-1543119021-16701 
    Click Delete and then click Yes in the Confirm Key Delete dialog box that appears. 
    NOTE: Each identity may have a sub-key under the Protected Storage System Provider key. Delete all of the user sub-key folders under the Protected Storage System Provider key using the same method.
    Close Registry Editor and reboot the computer 
    Re-Enter Password
    Depending on whether you are using Outlook or Outlook Express the exact method will vary. In all cases, accessing the Tools menu and selecting the choice related to Accounts will point you in the right direction. Select the user account and the option to change or modify its properties. There will be a box to be checked to save the password once it has been re-entered. It will be necessary to perform the password re-entry for each separate email account. Reboot after each account change.

    Thursday, 13 December 2012

    Unable to open any of the Microsoft website

    Go to Start - Control Panel - Administrative Tools - Services. Then disable the DNS Client Service

    Temp profile issue in Windows XP

    Look in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList 
    First delete the key for the Temp user then look for the name of the profile list with .bak extension.
    Remove .bak extension and restart the system.

    How To Use the PUSHD Command to Access a UNC Path at a Command Prompt

    To use the pushd command, type the following line at a command prompt, where uncpath is the UNC path for the network share that you want to use:
    pushd uncpath
    For example, to connect to a share named Sharename on a server named Servername, type the following line, and then press ENTER:
    pushd \\servername\sharename
    The pushd command creates a temporary drive letter that points to the network share, and then changes the command prompt to that drive letter. 

    You can use the pushd command several times in one session. This creates a list (or "stack") of folders. You can type pushdwith no path name to view the current state of the stack. 

    Windows could not start because of a computer disk hardware configuration problem

    To resolve this issue, use either of the following methods.

    Method 1

    Edit the Boot.ini file to restore or correct the Default entry and to ensure that the other entries in the [Operating Systems] section of the Boot.ini file point to the appropriate directories.

    For more information about how to edit the Boot.ini file, click the following article number to view the article in the Microsoft Knowledge Base:
    289022 How to edit the Boot.ini file in Windows XP

    Method 2

    Use the Bootcfg utility in the Recovery Console to correct the Boot.ini file:
    1. Use the Windows XP CD-ROM to start your computer.
    2. When you receive the message to press R to repair Windows by using the Recovery Console, press the R key.
    3. Select the Windows installation that you want, and then type the administrator password when prompted.
    4. Type bootcfg /rebuild, and then press ENTER.
    5. When the Windows installation is located, the following instructions are displayed:
      Add installation to boot list? (Yes/No/All)
      [Type Y in response to this message.]

      Enter Load Identifier:
      [This is the name of the operating system. Type Windows XP Professional or Windows XP Home Edition.]

      Enter OS Load options:
      [Leave this field blank, and then press ENTER].
      After you perform the preceding steps, restart the computer, and then select the first item on the boot menu. This should allow Windows XP to start normally.

      After Windows XP has successfully loaded, the Boot.ini can be modified to remove the incorrect entry.
    For more information about how to edit the Boot.ini file, click the following article number to view the article in the Microsoft Knowledge Base:
    289022 How to edit the Boot.ini file in Windows XP

    Method 3

    1. Start the computer by using your Windows XP CD-ROM. Press any key to boot from the CD.
    2. After the setup files are finished loading press R to repair using Recovery Console.
    3. When you are in the recovery console, select the installation to log on to (usually number 1), and then press ENTER.
    4. Login to the Administrator account by typing the password for this account, and then press ENTER.
    5. At the recovery console command prompt, type the following command, and then press ENTER:

      For Uni-Processor systems:
      expand <cd-drive>:\i386\ntoskrnl.ex_ <hd-drive>:\Windows\system32\ntoskrnl.exe
      For Multi-Processor systems:
      expand <cd-drive>:\i386\ntkrnlmp.ex_ <hd-drive>:\Windows\system32\ntoskrnl.exe
      Note In these two commands, the <cd-drive> placeholder represents the drive letter of your CD drive, and the <hd-drive> placeholder represents the drive letter of the hard disk on which windows is installed.
    6. If you receive a prompt to overwrite the file, press Y.
    7. Type exit, and press ENTER at the command prompt.

    Method 4

    Start the computer by using the Recovery Console, and then run theCHKDSK /rcommand.

    Note You do not have to include the /p switch in the Chkdsk command-line because the /r switch causes the Chkdsk utility to locate bad sectors and recover readable information. This command implies the /p switch.

    How to restrict user from changing system date and time?

    Go to Start - Run and enter gpedit.msc. Then change the following setting: Computer Configuration - Windows Settings - Security Settings - Local Policies - User Rights Assignment - "Change the system time" Setting - Enable it and set it so only admins and change the time.