Install stuck at “setup is preparing your computer for first use”…

 

 

 

 

 

 

1) I clicked SHIFT+F10 to get a command prompt, then typed in devmgmt.msc to get the device manager. It will have the unknown or devices without drivers expanded. I disabled some but I also found that you can install drivers too. If you have all your manufacturer drivers on a USB stick then just right-mouse and select update driver and then browse to the root of your USB stick e.g. E:\ and have it search subdirectories and it should find the right driver for that device.

—-and at the same time I..

2)   typed in taskmgr.exe to get the Task Manager and in  the processes list I killed any running msiexec.exe processes and cmd.exe command prompts if they looked like they were hung i.e. no CPU and the disk light on the Laptop wasn’t really running. This step 2) is the most important step as it seemed to allow the first use setup to step on.

The install then quickly finished the “setup is preparing your computer for first use” stage and I got the username, hostname and so-on questions.

The SHIFT+F10 trick and using the devmgmr.msc and taskmgr.exe works at any stage from the “setup is preparing your computer for first use” display onwards because Windows is actually running only services haven’t started and the hostname and account details haven’t been created.

Virus set my files in all drive to hidden

Steps 1

1. Go to Start > Run > type cmd
2. Dos will open type cd\
3. Now type the drive letter in which you want to Unhide the files lets suppose in my case its E: this will open the E: drive
4. If you want to see all hidden files and folders   type E:\>dir/ah
5. Now type attrib *. -h -s /s /d
6. Now close cmd using exit command

Steps 2 (folder by folder)

1. Go to Start > Run > type cmd
2. Dos will open type cd\
3. Now type the drive letter in which you want to Unhide the files lets suppose in my case its E: this will open the E: drive
4. If you want to see all hidden files and folders   type E:\>dir/ah (*you will now see the files/folders with hidden attributes )
5. Type “attrib [name of file/folder] -r -a -s -h” if you’re going to unhide files, you should type the whole name plus the extension (example: attrib banner.psd -r -a -s -h)
6. Now check you  drive.. it should be there

How to open the firewall port for SQL Server on Windows Server 2008/R2

 

 

 

 

 

 

 

  • Click Start, click Run, type cmd, and then click OK.
  • At the command prompt, use the cd command to move to the folder in which you saved the OpenSqlServerPort.bat file.
  • To run the SQLopenports.bat script, type SQLopenports.bat at the command prompt, and then press Enter.
  • [DOWNLOAD]

    Applies to
    • Microsoft SQL Server 2005 Developer Edition
    • Microsoft SQL Server 2005 Enterprise Edition
    • Microsoft SQL Server 2005 Standard Edition
    • Microsoft SQL Server 2008 Developer
    • Microsoft SQL Server 2008 Enterprise
    • Microsoft SQL Server 2008 Standard
    • Microsoft SQL Server 2008 Web
    • Windows Server 2008 Datacenter without Hyper-V
    • Windows Server 2008 Enterprise without Hyper-V
    • Windows Server 2008 for Itanium-Based Systems
    • Windows Server 2008 Standard without Hyper-V
    • Windows Server 2008 Datacenter
    • Windows Server 2008 Enterprise
    • Windows Server 2008 Standard
    • Microsoft SQL Server 2008 R2 Developer
    • Microsoft SQL Server 2008 R2 Enterprise
    • Microsoft SQL Server 2008 R2 Standard
    • Microsoft SQL Server 2008 R2 Web
    • SQL Server 2012

    source – http://support.microsoft.com/kb/968872

     

    Physical Memory Limits: Windows 8 and Windows 2012

     

     

     

    Physical Memory Limits: Windows 8

    The following table specifies the limits on physical memory for Windows 8.

    Version Limit on X86 Limit on X64
    Windows 8 Enterprise 4 GB 512 GB
    Windows 8 Professional 4 GB 512 GB
    Windows 8 4 GB 128 GB

     

    Physical Memory Limits: Windows Server 2012

    The following table specifies the limits on physical memory for Windows Server 2012.      Windows Server 2012 is available only in X64 editions.

    Version Limit on X64
    Windows Server 2012 Datacenter 4 TB
    Windows Server 2012 Standard 4 TB
    Windows Server 2012 Essentials 64 GB
    Windows Server 2012 Foundation 32 GB
    Windows Storage Server 2012 Workgroup 32 GB
    Windows Storage Server 2012 Standard 4 TB
    Hyper-V Server 2012 4 TB

     

    How to activate Windows 8 Enterprise

    To enter your MAK on Windows 8 Enterprise and successfully activate, you can complete one of the following steps:
    • Command Line option:Hit the Windows+R hotkeys to open the Run box and run the following command:slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    • GUI option:Hit the Windows+R hotkeys to open the Run box and run the following command:slui.exe 3

      This command will open the following Dialog Box in which you can manually enter your MAK:

    Enter your MAK in the “Product Key” field shown above, click the “Activate” button and you should be good to go!

    How to troubleshoot Volume Activation error codes in Windows 7, in Windows Server 2008, and in Windows Vista

    Read more »

    Windows 8 : Error 0x800F0906 while enabling Microsoft .NET Framework 3.5.1

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    [UPDATED ON 2019 JAN 25]

    Make sure the Windows 8 disk is in the drive (if your drive is not the d:\ drive, change the source drive letter to match your drive)

    dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs

    The install will take a few minutes to run.

    Note* – If Windows update service is disabled , enable it before run the command other wise you will get more errors like Error: 0x800f081f

    NEW UPDATE –

    IF YOUR HAVING BUILD VERSION 1806 USE THE SAME BUILD DVD TO INSTALL THE FEATURE

    TRY THIS COMMAND IF ABOVE COMMAND IS NOT WORKING

    Dism.exe /online /enable-feature /featurename:NetFX3 /source:d:\sources\sxs /LimitAccess 

    
    

    Enabling Document-Level Backups for Microsoft Exchange

    CA ARCserve Backup uses Microsoft’s Messaging Application Programming Interface (MAPI) and Collaboration Data Objects (CDO) technologies to perform granular e-mail backups and restores.

    Microsoft Exchange versions 2007 and 2010 do not include these technologies by default. The Exchange Administrator will need to download the MAPI-CDO package from http://www.microsoft.com/en-us/download/details.aspx?id=1004 and install it on the Exchange servers that you will be protecting.

    If the MAPI-CDO package is installed before the CA ARCserve Backup Agent for Exchange is installed, ARCserve will detect the presence of the required binaries and automatically prepare the Exchange server for granular backups and restores during the Agent Installation.

    If the MAPI-CDO package is installed after the CA ARCserve Backup Agent for Exchange is installed, please perform the following steps to enable granular backups and restores:

    Read more »

    How to Reset Local Security Policy Settings to Default in Windows XP and Vista

    Even if you remove the computer from the domain and put it into a workgroup, the local security policies that were changed will not be removed. This can be very annoying because local security policies include settings like preventing users from installing printers, restricting who can use the CD-ROM drive, requiring a smart card, restricted logon hours, password requirements and more!

    These are all great in a corporate environment, but will cause all kinds of grief to a normal computer user. So what you can do to solve this problem is to reset the local security settings to their default settings.

    The way this can be done is by using the default security configuration templates that come with all versions of Windows XP and Vista. This may sound too technical, but all you have to do is run one command.

    First, click on Start, Run and then type in CMD. Now copy and paste the following command into the window:

    secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose

    If you are running Windows Vista and need to reset the security settings to their default values, use this command instead:

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

    How to Turn Your Windows 8 Laptop into a Wireless Access Point

     

    image

     

     

    A lot of companies are starting to sell portable 3G routers that you can take with you when you go out, but what happens when you forget, luckily How-To Geek is here to save the day with this neat command line trick.

    Creating Your Own WI-FI Hotspot

    Press the Windows + R key combination to bring up a run box, type ncpa.cpl and hit enter.

     

    When your network connections open right-click on your Wireless network adapter and select properties from the context menu.

    Now switch over to the Sharing tab and allow other devices to use your machines internet by selecting the first checkbox and then unchecking the second before clicking on the OK button.

    Now right-click in the bottom left of your screen, to launch an administrative command prompt.

    The first thing we need to do is set up the wireless network, this is done using the netsh command like so:

    netsh wlan set hostednetwork mode=allow ssid=”How-To Geek” key=”Pa$$w0rd”

    Where ssid is the name of your network and key is the password you want users to connect with, its also worth mentioning that the access point is created with WPA2-PSK (AES) encryption.

    Now we are ready to start broadcasting our network:

    netsh wlan start hostednetwork

    The last command you will need to know is the show command, it will tell you things like the channel you are on as well as the number of clients connected to your network:

    netsh wlan show hostednetwork

     

    Powered by WordPress and Bootstrap4