AirV's Blog

Just another blog

Local drives to remote machines

From HowToGeek :

sshot-11

Have you ever had a file on a flash drive that you needed to use on a machine that is situated in another building or even halfway across the world? You can do that by plugging it into your local machine and then forwarding the drive through your remote session to that machine. Here’s how to do it.

Press the Windows Key and R to bring up a run box, and type mstsc to launch the Remote Desktop Connection Dialog, or you can just search for Remote Desktop in the Start Menu.

Click on the arrow next to options to see some of the more advanced options.

Once the interface has extended, switch to the Local Resources tab.

Now click on the more button, to see a more extensive list of things that you can forward to the remote machine.

Once you have clicked and expanded the drives, you will see a list of all the devices in your PC, you can forward anything from your CD/DVD drive to a USB drive that you have connected. Check the box next to any of the drive that you want to forward.

Now you can connect to the remote machine as you normally would.

Now if you open explorer on the remote machine you will see you drive, it will appear as if it has been mapped.

Powershell

Tutoriel dur le powershell from Labo-Microsoft.org

 

Windows : Virutal Machine

From HowToGeek.com :

Beginner: How to Use Virtual PC to Install Windows 7 into a Virtual Machine

    Continuing in our series covering how to use Virtual PC, this week we’ll be showing you how to install Windows 7 into a virtual machine. It’s a very simple process, but here’s the step-by-step guide for beginners.

    If you haven’t already read it, you should check out our guide on how to create a new virtual machine using Virtual PC.

    Creating a Windows 7 Virtual Machine

    To see all you can configure in it, you should open your Virtual Machines folder, select your new virtual machine and right click it to select Settings.

    vpc15

    Now you will see you have two options to load your Windows 7 installation files.

    You can load your installation DVD on your PC and select in the DVD drive menu Access a physical drive as shown in the picture below:

    vpc16

    Or you can select Open an ISO image if you have a .iso copy of the installation DVD in your computer:

    vpc16a

    Once you have selected your installation option, you can double click on the virtual machine and it will start and it will load your installation files.

    vpc17

    After loading the installation files, you should configure your language options.

    vpc18

    Whenever you click on the virtual machine window, Virtual PC will let you know that the mouse will be captured by the virtual machine and will also show you how to release the mouse to use it on your host operating system again.

    vpc19

    You can now click on Install now.

    vpc20

    You can select whether you want to make a custom installation or an upgrade. Since you won´t have any previous operating systems installed, you should select Custom.

    vpc21

    Select the drive where to install the virtual machine. You can also select Drive options for more advanced configuration settings.

    vpc22

    On the Drive options menu, you will see options for formatting the drive, creating or deleting partitions, change the partition size, etc..

    vpc23

    Once you click on Next, the installation process will begin.

    vpc24

    After the installation has finished, your virtual machine will start for the very first time.

    vpc25

    When the operating system has loaded, you will be seeing a toolbar on the upper side of the window. Select Tools and click on Install Integration Components.

    vpc26

    It will ask you to install the Integration Components as shown below.

    vpc27

    It will open a virtual DVD drive from where you should choose to run the setup file.

    vpc28

    This will open the Integration Components wizard that will integrate your virtual machine with your host operating system.

    vpc29

    You will see that while it installs the integration components, the virtual pc will begin to recognize your devices and install the drivers.

    vpc31

    It will ask you to restart your system for the configuration changes to take effect.

    vpc33

    After rebooting, if the Integration Components have not been automatically activated, you can go to Tools and enable them.

    vpc34

    After enabling the Integration Components, you will see all the devices connected to your host operating system in the new USB menu from where you can attach them and use them as if they were connected to your virtual machine.

    vpc36

    You will also see a new View Full Screen option and you can now enable Aero and other features.

    vpc37

    If you want to select what other features you want to integrate between your host computer and your virtual machine, you can go to the virtual machine Settings and select them from the Integration Components menu.

     

    Windows 7 language

    Si vous n’avez pas Windows 7 Ultimate ou Windows 7 Entreprise et que vous voulez changer la langue du système d’exploitation, la fonction n’est pas disponible.
    Il faut utiliser Vistalizator de logiciel.net


    Tout d’abord, ouvrez le programme.

    Il vous faudra télécharger le langage voulu sur cette page.

    Ensuite cliquez sur <<Add languages>> et choisissez le langage.

    Vous allez devoir cliquer <<Ok>> sur plusieurs écrans de confirmations qui apparaitront.

     

    Ubuntu look like Windows Seven

    From HowToGeek :

    Installing the Win7 Theme

    sudo wget http://web.lib.sun.ac.za/ubuntu/files/help/theme/gnome/win7-setup.sh

    sudo chmod 0755 ~/win7-setup.sh

    ~/win7-setup.sh

     

    Licence Windows

    From WindowsMicrosoft.com :

    • Sous XP
    1. Ouvrez l’ Outil de mise à jour de clé de produit Windows.
    2. Lorsque vous êtes invité à exécuter ou à enregistrer le programme d’installation de l’outil de mise à jour de clé de produit Windows, cliquez sur Exécuter.
    3. Suivez les instructions dans le programme d’installation.

      NB : Testé, garde le numéro du support d’installation.

    • Autre méthode sous XP
    1. Dans l’ éditeur de registre système, ouvrez : HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersionWPAEvents
    2. Dans le panneau de droite, faites un clic droit sur la valeur binaire : WPAEvent puis sélectionnez  » Modifier données binaires ». Dans  » Données de la valeur « , supprimez une des valeurs suivantes : CA 82 B8 55 D4 04 B5 CF
    3. Fermez le registre système et cliquez sur  » Démarrer « –  » Exécuter  » puis tapez : %systemroot%system32oobemsoobe.exe /a
    4. Validez par OK et sélectionnez l’ option numéro 2 ( là où l’on parle de passer un coup de fil à Microsoft ) puis  » Suivant « .
    5. Dans la fenêtre qui s’ ouvre, optez pour le choix  » Changer de clé de produit  » et encore  » Suivant « .
    6. Entrez votre nouvelle clé et sélectionnez le dernier bouton en bas sur la droite. Vous revenez à la fenêtre de départ.
    7. Quittez puis redémarrez votre ordinateur ( en cliquant sur la petite croix placée en haut à droite ). Là encore, cliquez sur  » Démarrer « , puis  » Exécuter  » et tapez à nouveau : %systemroot%system32oobemsoobe.exe /a
    8. Vous aurez droit à un message de félicitations vous indiquant que Windows est déjà activé.

      NB : valeur de la clé non trouvée sous un poste XP

    • Sous Seven
    1. Cliquez sur le bouton DémarrerImage du bouton Démarrer, puis cliquez avec le bouton droit sur Mon ordinateur.
    2. Cliquez sur Propriétés, puis sur Modifier la clé de produit. Si un message vous demande de confirmer votre intention de poursuivre le processus, cliquez sur Continuer.
    3. Suivez les instructions pour changer votre clé de produit et activer votre copie de Windows 7.

     

    Bitlocker

    From labo-microsoft.org :

    « …Bitlocker est une technique de chiffrement de lecteur qui est utilisée pour sécuriser vos données par mot de passe. Les données sont cryptées à l’aide d’un algorithme de chiffrement fort ce qui vous confère une sécurité maximale. Bitlocker Drive Encryption encrypte vos données de sorte que même si votre système d’exploitation n’est pas démarré les données sont cryptées, c’est-à-dire que si vous vous faites voler votre DD les données contenues par celui-ci sont illisibles ou inaccessibles. Il est possible de crypter plusieurs supports tels qu’un disque dur interne, un disque dur externe ou une clé USB grâce à Bitlocker to Go. Cette nouveauté est arrivée avec Windows… »

    Check disk on windows seven

    Fron HowToGeek

    image

    Anytime somebody has hard drive errors, I always recommend that they run chkdsk—what geek wouldn’t? Here’s a full guide to using the Check Disk feature built into every version of Windows.

    The chkdsk or “Check Disk” utility is used in Windows to scan through your entire hard drive and find problems… it’s like a lot like doing inventory… it’s boring, but it has to be done sometimes. I recommend that you run through a check disk every month or two.

    Image by Nemo

    Using CheckDisk the GUI Way

    Open up Computer and then right-click on the drive you want to check, and choose Properties, or just click the drive, and then click the Properties button.

    image

    Then select the Tools tab, and click the “Check Now” button.

    image

    A little dialog will pop up to allow you to choose the options you want for the disk check. You should check both options if you want to really check the disk properly, but if you just want to do a quick check you could select only the first one.

    image

    The only problem with that is that Windows can’t check a drive that’s being used, such as the system drive, but Windows will let you schedule a disk check for the next reboot.

    image

    You should keep in mind that running through a full check disk takes quite a while, sometimes hours depending on how big the drive is and how many files you have.

    Cancelling the Scheduled Disk Check

    If you had scheduled a disk check but decided you would like to cancel it, you can run a command to

    Open up an administrator mode command prompt by right-clicking on the item in the start menu and choosing “Run as Administrator”. Type in the following command, substituting the drive letter if necessary.

    chkntfs /x c:

    image

    Seems like they could have a better command line output… something like “canceled!” would have even worked… oh well.

    How to Tell if a Manual Disk Check is Scheduled

    Open an admin mode command prompt, and then type in the following command:

    chkntfs c:

    image

    How to Tell if an Automatic Disk Check is Scheduled

    Sometimes if your computer has not shut down correctly, Windows will mark the drive as “dirty” basically as a reminder to itself that the drive probably has filesystem errors and should be checked. When the flag is set, you’ll be told the disk requires checking during the next bootup.

    You can easily see the state of this flag by using two different command line options. The first is the same command as above, but you can see the output is different if the drive is set to be automatically checked.

    chkntfs c:

    image

    You could also use this command to just query the dirty bit:

    fsutil dirty query c:

    image

    Using CheckDisk from the Command Line

    Open up an administrator mode command prompt, and then type in the following command to do an exhaustive check of your drive. Substitute C: for whatever drive you want to check.

    chkdsk /f /r C:

    If the drive is a system drive or has files in use, you’ll be asked to schedule the check for the next reboot:

    image

    The above command is the recommended way to perform a disk check, but if you want to do a less exhaustive check, you could remove the /R option from the command.

    Here’s the full list of parameters for your geeky enjoyment:

    C:>chkdsk /?
    Checks a disk and displays a status report.
    
    CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B]
    
      volume          Specifies the drive letter (followed by a colon),
                      mount point, or volume name.
      filename        FAT/FAT32 only: Specifies the files to check for fragmentation.
      /F              Fixes errors on the disk.
      /V              On FAT/FAT32: Displays the full path and name of every file
                      on the disk.
                      On NTFS: Displays cleanup messages if any.
      /R              Locates bad sectors and recovers readable information
                      (implies /F).
      /L:size         NTFS only:  Changes the log file size to the specified number
                      of kilobytes.  If size is not specified, displays current
                      size.
      /X              Forces the volume to dismount first if necessary.
                      All opened handles to the volume would then be invalid
                      (implies /F).
      /I              NTFS only: Performs a less vigorous check of index entries.
      /C              NTFS only: Skips checking of cycles within the folder
                      structure.
      /B              NTFS only: Re-evaluates bad clusters on the volume
                      (implies /R)
    
    The /I or /C switch reduces the amount of time required to run Chkdsk by
    skipping certain checks of the volume.

    Note: You’ll probably notice that this guide was originally written a few years ago. We’ve updated it for Windows 7 and are republishing it for all the readers that might have missed it the first time.

    DISM : Création de support windows seven

    From Labo-microsoft.org :

    « … DISM est l’acronyme de « Deployment Image Servicing and Management » qui peut se traduire par « Gestion et services pour le déploiement d’images ».

    Cet outil va nous permettre de créer des images personnalisées qui serviront ensuite, soit à les déployer via WAIK (Windows Automated Installation Kit) et/ou MDT (Microsoft Deployment Toolkit), soit à refaire des supports d’installation.

    Le principal intérêt de DISM est qu’il est présent directement dans toutes les éditions de Windows 7 ! Il n’est pas nécessaire de télécharger quoi que ce soit d’autre. De plus, DISM est un outil en lignes de commandes, ce qui permet la création de scripts automatisés (en Batch par exemple)… »

    Windows – boot loader

    From http://www.howtogeek.com

    Restore the Windows Boot Loader After an Ubuntu Update

    Will your computer not boot into Windows after installing an update on your dual-boot or Wubi Ubuntu install? Here’s how you can get your Windows boot loader back so you can easily get back to work in either OS.

    We’ve mentioned before how Wubi is a great way to run Ubuntu on your Windows PC or netbook, and in general it works great. However, sometimes your system may receive updates to GRUB, and if you choose the wrong option, the next time you reboot your computer you may find that it think there’s only Ubuntu and no Windows installed on your computer.

    sshot-2010-10-29-1-10-17-28

    Or, perhaps, even more ominously, you boot your computer to see that it thinks it has no operating system.

    sshot-2010-10-29-1-10-14-10

    Often, there’s no need to panic. If you recently received an Ubuntu update, or somehow managed to mess up or remove your boot loader, it’s quick and easy to get it back using familiar Windows tools. Here’s how.

    Reinstall Your Windows Boot Loader From the Windows DVD

    To get back into Windows, you’ll need to reinstall your Windows boot loader. Thankfully this isn’t as difficult or time consuming as reinstalling Windows, but it will require your Windows DVD. Boot your computer from the DVD, and if it doesn’t automatically offer to let you boot from the disk, you may need to change your boot settings in the BIOS. You can usually access by pressing the F2, F10, or Delete key on the initial boot screen, depending on your computer.

    image

    Save the changes and reboot your computer from the Windows DVD. After a few moments, you should see the install setup screen. Select your preferred language, then click Next.

    image

    Your install disk is designed to install Windows on your computer, but also contains tools to help repair your existing Windows install. On the bottom left of the Install window, click the Repair your computer link to get started repairing your current install of Windows.

    sshot-2010-10-29-1-11-03-18

    System Recovery will automatically start scanning to see if there’s an existing Windows install with something it can easily fix automatically. You may have to wait a few minutes while it scans your computer.

    sshot-2010-10-29-1-11-03-34

    If your only problem is the boot loader, often it will automatically detect the problem and offer to fix it. If so, simply click Repair and restart, and your computer should be booted back into Windows as normal within minutes.

    sshot-2010-10-29-1-11-06-13

    Reinstall Your Boot Loader Manually From the Windows DVD

    Alternately, if it doesn’t automatically detect anything to fix, you’ll have to choose your own recovery options. Click the bullet option on the top then click Next to use recovery tools to fix Windows.

    sshot-2010-10-29-1-11-16-48

    Now, select Command Prompt from the available recovery tools.

    sshot-2010-10-29-1-11-07-06

    In the command prompt window, enter the following to repair your boot loader:

    bootrec /rebuildbcd

    After a few moments, it should detect your Windows installation and ask if you want to add it to the boot loader. Enter Y to add it, then exit the command prompt and reboot your computer when you’re finished.

    sshot-2010-10-29-1-11-08-46

    Moments later, you should see your standard Windows login screen as normal, and all of your files and programs should be fine and ready to use.

    sshot-2010-10-29-1-11-10-19

    As you may notice, the option to boot into Ubuntu will no longer show up in your boot menu, and your computer will act like you only have Windows installed. To get your Wubi Ubuntu or full Ubuntu install accessable from the boot loader again, you’ll need to restore it as well. The easiest way is to Add Wubi Back to the Bootloader With EasyBCD. Once you’ve done that, you should be back in business, ready to use Windows or Ubuntu as you need.

    Page suivante »