Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Thursday, June 25, 2020

Making ubuntu as default OS on windows 10

I was able to successfully  install ubuntu  by following the documentation
from ubuntu website but my computer was not  booting  ubuntu by default .

After struggling a lot, Step 3 worked for me . You can directly go to step 3 instead of trying Step 1 and 2

1)  I executed the below instructions which I found after searching in google
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
 
The above steps installed boot-repair and executed the 
boot-repair utility. 
 
2) The above step did not help me and my computer was still booting to 
Windows 10 by default. 
Then I did the below step after rebooting to windows 10. 
Ran the command prompt as administrator and executed the below step
 

bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
 
Basically the above step made the GRUB as default bootloader 
instead of Windows Boot Manager which is also referred as 
OS boot Manager in the BIOS.
This step was advised in the step 1 by boot-repair utility itself 
if the boot-repair does not work.

 
 
3) The above solution only worked for one time and again the computer 
started to boot windows 10 by default.
Then I tried the below solution which finally worked for me
 
Invoke terminal
Sudo su 
cd  /boot/efi/EFI
mv Boot Boot_bak
cp -Rf ubuntu Boot
cd Boot
mv  shimx64.efi bootx64.efi 
cd ../
mv Microsoft Microsoft_bak
 


Wednesday, February 15, 2017

Get rid of windows user getting locked everytime

If  you have recently changed your password and your user id is getting locked on a windows system in a LAN network.
 Then, this can be due to your connection  to a network share.
 The connection is using the old password from cache and  locking your ID  everytime .

Procedure to fix is as below :

type "net use" in command prompt
This will display all your connected sessions to network share

Now, Disconnect the network drive
Once again , type "net use" in command prompt .

Now type "klist purge" in command prompt.
This will remove the Kerberos authentication ticket from the machine . This was the one which was locking you everytime.

Thats it.

Thursday, November 12, 2015

Free up space in windows

How to free up space in Windows ?

Most common method is already known to most of the people .
Running Disk cleanup which is under programs , Accessories , System tools.


Second step is to clean
 C:\Windows\ccmcache

The ccmcache folder is used by System Center Configuration Manager (SCCM) client. This is where files downloaded by SCCM are stored. SCCM is an enterprise software management system used in many Windows environment, and provides operating system and software deployment services, remote management, reporting services, etc. You will typically only find this folder on systems in a managed enterprise environment.
SCCM caches files used for software deployment in the ccmcache folder. This may include software packages which are automatically installed on your machine, some types of software updates, etc. Files are not automatically removed from the ccmcache folder after they are used, but they are marked as being eligible for deletion. You should not manually delete files in this folder as you may accidentally delete something which has not been used yet. You should definitely not remove the folder altogether, as this would break SCCM and you would cease to automatically receive software packages from your network administrator.
You should be able to reduce the size of this folder using the ConfigMgr Control Panel. This will require local administrator privileges. To do this:
  • Open "Configuration Manager Properties" in the control panel. You may need to change the control panel to "icon view" instead of "category view".
  • Go to the "cache" tab
  • Click "Configure Settings" and acknowledge the UAC Prompt if prompted
  • The "Delete Files" button should become available. Click this button to clear files. It will automatically keep any files which should not be deleted.


Third Step is to
Compress C:\Windows\Installer
Right click the folder "Installer"  properties  advanced  check "Compress contents to save disk space." "OK"  "OK" again.



Fourth Step is to disable the hibernation
With administrator user run the following command .
powercfg /h off

This will disable the hibernation and the hiberfil.sys file will be removed from your C: Drive .

The file hiberfil.sys is a hidden file and will not be visible until you have enabled Show hidden folders and files under Tools,  folder options , view.

You can turn on hibernation anytime by using the

powercfg /h on


Fifth Step is to delete unnecessary files downloaded from internet
C:\Users\\Downloads

User Id is the logged in user account


Sixth Step is to remove the programs (softwares) which you do not use using Control Panel , Add-Remove programs
This step may also  help to speed up your windows system if these programs start running  at the time of windows startup.


Seventh step
"Go into your Control Panel and open the "Java Plug-in" program and under the "Cache" tab click the "Clear Jar Cache" button." 


Sunday, October 25, 2015

telnet not working windows

Go to control panel , Turn windows  features on or off  ,
Enable the telnet client .

For detailed steps , refer to the link below .
 enable telnet client  

Monday, June 13, 2011

Speed up windows system

Speed up your windows system

Speed of your system depends on
1 Speed of CPU
2 RAM size  - Bigger the RAM size , bigger can be the system's speed and lesser is the paging required.
3 Swap size - Extensive paging activity can slow your system's speed.A good swap size is considered to be 3 GB or 4 GB.
4 I/O speed - How much speed is your hard disk read and written.

1 Using the Run on your start menu
Run
Prefetch- Delete all files
Temp - Delete all files
%temp% - Delete all files

2 Programs  ,  Accessories,  System Tools , Disk Cleanup 
This will delete files from several folders .Be sure to uncheck Recycle bin if you do not want to empty recycle bin.

3 Run antivirus full scan


4 Remove icons from Program , startup which are not required.
There may be some software required to be at system tray as per your organization policy if you are using a company's laptop or desktop.


5 Remove all the unwanted software's that are not required by uninstalling them.
E.g. I don't use gtalk, yahoo messenger  .So I have uninstalled them.

6 Run msconfig , startup. Uncheck what are not required during the system startup.You may also do the same by using software like CCleaner by going to tools -> startup and disabling.


7 Run services.msc. Identify the services which are not required.Normally, the services that are not required are the software services  that are used by you while developing a software etc.
So change the startup type for such services  to be manual.Do not change the setting of services if you are not aware of what they do.
E.g I have changed the startup type to manual for IBM HTTPserver and MQ Series which I am very well aware what they do.


8 Right click on task bar , properties , start menu , Customize , Advanced , disable most of the links which you don't need often by selecting the radio button -Don't display this item.
I only use Control panel, run command here , So I have disabled rest of them.
Number of programs on start menu = 0
Unchecked Internet and Email  on "Show on start menu"


9 Right click on system tray .Properties , Taskbar , customize , Always hide which are not required.


10 You may use a software to remove windows log files , temporary system and temporary application files  like CCleaner. Run analyze first before cleaning the files.

11 Right Click on My computer , properties ,  Advanced ,  Performance , settings , Advanced ,  Check your virtual memory initial size and max size .It should be 2 GB and 4 GB.

12 Defragment your disk.Do not perform defragmentation unless its really required because it will take a lot of time(more than 8 hrs, depends on size of disk ) to complete .Be sure you have continuous power while performing defragmentation.