# Interesting things to do with Windows
Interesting things with Windows (mainly 8 or 7). Activating administrator, tethering without 3rd party tools, creating bootable USB stick, installing applications which aren't localized from store, unlocking hidden menu & skipping product key question in installation and more.
Author: Mika Suomalainen
Keywords: Windows,Windows7,Windows8,7,8,netsh,WLAN,tether,connection,sharing,Administrator,root,enable,USB,rearm,slmgr,ei,ei.cfg,cfg,store,unlocalized,applications

[Sitemap](../../sitemap/sitemap.html)

You can do interesting things with Windows 8 and 7. For example you can tether your connection to other devices without installing 3rd party software, enable Administrator account etc. ## Removing password without Administrator access. This can be done easily with [ntpasswd]. It also has other features, but I only recommend using the "blank password" / "remove password" function as it's the most working one. This feature should work with Windows XP too, but I have only tried it with 7 and 8. I don't type usage instructions here, because [ntpasswd] has enough good documentation and it's easy to use anyway. [ntpasswd]:http://pogostick.net/~pnh/ntpasswd/ ## Enabling Administrator account Administrator is root (Linux/Mac/*NIX SuperUser) of Windows. Some people prefer to be able to login as root/Administrator directly in emmergency or if they need to do something as root quickly. To enable this account open cmd.exe as Administrator. Windows 8: You can do this by going to ModernUI by pressing Windows button or activating the hot corner on bottom left. Then start typing (or type) "cmd", right click "Command Prompt" which appears and select "Run as Administrator". Windows 7: Open Start menu by pressing Windows button or by clicking the start menu. Then start searching for "cmd" and you should receive result "cmd.exe" or "Command Prompt". Right click it and select "run as Administrator". Now you are on cmd.exe which is running as Administrator. Next you must find out what is the Administrator account called. It depends on which language Windows was originally installed. With English installation the Administrator account is "Administrator" and in Finnish installation "Järjestelmänvalvoja". You can see the list of users including Administrator by running ``` net user ``` (Todo: add example output). Now you should know the name of Administrator account and you can enable it running: ``` net user Administrator /active:yes ``` Where you replace "Administrator" with the account which is Administrator in "net user" e.g. Järjestelmänvalvoja. If you want to disable it, simply change "/active:yes" to "/active no". Administrator doesn't have password set by default so now go to Control Panel and Users. Select "manage other user" and then select "Administrator" and set password for it. If you cannot think any password for it, you can use same password as with your own account in emmergency like [Linux Mint](http://linuxmint.com/) is doing. It uses the password of the user which was created in installation as root password. With [Ubuntu](http://ubuntu.com/) root account is disabled by default and it can be enabled by running "sudo passwd root" and setting password. You must set password for Administrator, because that account can do everything without User Access Control (UAC) prompts! Remember also to not use the Administrator account for general use. ## Tethering connection without 3rd party tools This can be done with netsh, but the network doesn't have connection to internet at first. First open cmd.exe as Administrator (activating administrator account). This requires normal user with administrator rights. First allow tethering to be used and set SSID and password and start the network. ``` netsh wlan set hostednetwork mode=allow ssid=mynetwork key=mypassword netsh wlan start hostednetwork ``` NOTE: If you get error about missing svchost service or something else, press Windows + R and run "services" and enable "Wireless autoconfiguration" or something like that. NOTE2: If you get other error, disable the network card in adapter settings and enable it again. Then run "netsh wlan start hostednetwork again". NOTE3: If nothing helps, run "netsh wlan show drivers" and ensure that your network card supports hosted/virtual networks. According to [superuser user Soumya](http://superuser.com/a/308692) it's not possible to have open hosted network :(.
### Getting internet access to the new network. Right click the network icon on the taskbar and select "open network and sharing center". Then select "change adapter settings" in the window which opens and right click the connection which you want to share. Click properties and then "Sharing". Share the connection using your new network which is something like "Wireless Local Area Connection 2" and uncheck "let others manage this connection", but remember to keep "let other users access the internet using this connection" checked. Then click "OK" or "apply" and your tethered network has internet access. To see devices which are currently connected to the network, run ``` netsh wlan show hostednetwork ``` The hosted network gets disabled on reboot, but you can enable it again by running "netsh wlan start hostednetwork" (as administrator). You don't need to do anything else, it remembers the shared network connection. ## Automatic login without regedit Of course, it's possible to set autologin with regedit too, but in my opinion this way is much faster. Press Windows + R and then run ``` control userpassswords2 ``` Then select user which is not Administrator from the list and check the "Users don't need passwords to login" above. ## Disabling Windows 8 Modern UI Some people like the new Modern UI (me) and some hate it (my brother). It can be disabled easily by installing [Classic Shell]. [Classic Shell] restores the start menu to Windows 8 and has three options for default theme, traditional Windows, Windows XP, Windows Vista/7. It can also be used on older Windowses than 8 and on them and 8 it restores the toolbar (file etc.) in Windows Explorer, simpler copy UI, free spae on device in Windows Explorer. In Internet Explorer, it adds caption to title bar, shows security zone and loading status in status bar. When you first click the start menu, it asks you which theme you would like to use. Then you can click the "all options" checkbox (you can return here by right clicking the start button and selecting "preferences"), you see many new tabs including "Windows 8 options". Click it and then you can disable hot corners. [Classic Shell]:http://classicshell.sf.net/ ## Creating Windows USB install
[RaivoGalleria](http://www.raivogalleria.net/?p=1388) has good instructions on how to create bootable Windows USB stick, but iẗ́'s in Finnish. It uses Windows internal utilities instead of Windows 7 USB creator tool, so you don't need .net framework. 1. Plug in the stick and open cmd.exe as Administrator (right click it in Start menu/Modern UI and select "run as Administrator). 2. Enter the following commands replacing X with your USB stick number. WARNING: This will erase everything on that stick. ``` diskpart list disk select disk X clean create partition primary select partition 1 active format fs=ntfs ``` The formatting will take some time... After it's done, enter these two commands: ``` assign exit ``` Now minimize the command prompt, you will need it soon. 4. Mount the Windows 8 image. If you are using Windows 8, simply double click it. Otherwise download use [Daemon-Tools](http://www.daemon-tools.cc/eng/home). 5. Open the command prompt again and replace the first X: with drive letter of the virtual drive containing Windows installation image and the second with USB stick letter. ``` X: cd boot bootsect.exe /nt60 X: exit ``` Now open the virtual drive and copy-paste all files to the USB stick. Then read the next section of this page unless you made Windows * Enterprise stick.
## Installing all versions from single media
Important notes:. This doesn't work with any Windows Enterprise version disk (because those disks contain only Enterprise. Normal versions of Windows don't contain Eterprise either) and this allows installing without product key. If you are using earlier Windows than 8 remove the ei.cfg from "sources" folder instead of creating it. First disable hiding of extensions of known file types in folder options if you haven't done so already. Then go to the USB stick and open folder sources. Create a new file called "ei.cfg" (NOT "ei.cfg.txt" which you will get if you hide extentions of known file types!). Then paste the following into it: ``` [EditionID] [Channel] Retail [VL] 0 ``` and save. Note that the second line must be empty. Now try booting from the stick and press "install". You will get a menu asking whether you want to install "Windows 8 Pro" or "Windows 8" (with Windows 7 you would see all versions except Starter if you use 64-bi disk). If you don't want to install, press the X on top right corner and then click it again and your computer reboots. If you don't have license for that Windows version which you installed, don't worry. You can extent the trial period using the method below.
## Extending the trial period
Thank you for the tip [nyuszika7h](https://github.com/nyuszika7h) :) Windows offers trial period of 30 days by default. When that time has went, you can open cmd.exe as Administrator and run ``` slmgr /rearm ``` to get another 30 days (Windows 7 Enterprise gives only 10). This can be repeated three times (with Windows 7 Enterprise six) so you will get 90 days. To check how many rearms you have left, simply run ``` slmgr -dlv ``` I have heard that there is registry value which allows the rearm time to be reset some times, but I haven't tried it.
## Installing applications not localized to your language I am using Windows 8 in Finnish and I noticed that some applications which I knew to be in store were missing. This was because they weren't translated into Finnish yet. The store was also telling me to install one update which didn't exist. Simply press the Windows button, type "languages" and select "options". Then click "add a language", select "English" and then "English (United States). Now the Store should also show English applications to you too. If you are interested, the update which didn't exist in Finnish was for [Skype for Windows 8](http://skype.com).

comments powered by Disqus