To configure what operating system to run at start-up using bcdedit.exe you’ll have to do the following:
Monthly Archives: December 2012
Windows 7 temporary profile
This post addresses the issue regarding when logging in Windows. Sometimes it happens that when you login to Windows you are logged in a temporary profile. This problem is very annoying because sometimes even if you log off and try to login again the problem persists. The thing is that windows creates a .bak profile. To fix this problem you have to modify the registry from your computer. First of all open run ( press the windows key + r or type run in search bar ) and type “regedit”.
Navigate to the following path HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList and delete the .bak files.
How to configure network connection on Windows 7
Many Administrators prefer “netsh” command when configuring a network connection because the tool is more powerful then using the normal interface and has many options.
First of all open a command prompt using administrative credentials.
netsh interface ipv4 set address “local area connection” static 192.168.1.15 255.255.255.0 192.168.1.1
If you want to use DHCP to get a dynamic IP address and DNS server enter the following in cmd:
netsh interface ipv4 set dnsservers name=”local area connection” source=dhcp
IP address (internet protocol) : is a protocol used to communicate between different machines over the internet.
DNS (domain name system) : is a service that translates names intro IP addresses
Gateway : is a device that connects the local network with the internet (usually a router ).
How to bind server with KMS Server
This document is a tutorial on how to bind a computer on the respective KMS Server when the automatic binding is not working. First of all you’ll have to know the KMS server ip address. After finding the ip address open a command prompt to test the connection with the KMS server. When cmd windows appears type the following:
Telnet “server ip address” 1688 – This command tests if the KMS server has opened the 1688 port in order to communicate with the server that you are trying to activate. 1688 port is the stanard port for the KMS service. You’ll have to be in the local administrators group on that server.
Now open a command prompt or Powershell and type the following:
slmgr –dli – this will show you the actual configuration of the server.
Now type the command slmgr -ipk sku-key – The command will insert the serial key.
After adding the serial stype slmgr – ato – This will activate Windows with the new key you have specified. Since it is a SKU, if a KMS is present and broadcasting on network and DNS data is ok on the machine, it should retrieve the KMS server automatically.
After that type slmgr –dlv – This will display the current license status on the machine
If you have to do this on several servers you can add all the commands in notepad and then save the file as a .bat or .ps1. Then just run the file on any server that has the same configuration and uses the same kms server.
To find out more options using slmgr type in powershell slmgr and the following screen will appear:



How to execute commands remotely using Windows Powershell






