Recently, one of my friends got back to me saying that he could not extend the C drive. Upon checking, we figured out that the “Recovery” partition was sitting between the System partition and the Unallocated space.
Basically, the “Recovery” partition was blocking the feature. In order to fix this, we had to delete the “Recovery” partition. Will look at how we can fix the issue in a few simple steps.
[Note: all the commands are in Bold Italic]
Step 01: Open an elevated command prompt and enter diskpart
Step 02: Select the relevant Disk and list the partitions
select disk 0
Step 03: Upon confirming, select the recovery partition (in my case, it is Partition 3)
Step 04: After selecting the correct partition, delete the partition. delete partition override
Step 05: Extend the volume using either the command extendor disk management in GUI.
Recently, I had to reconfigure 20+ site-to-site VPN tunnels with IKEv2. Previously, they were running on IKEv1. But after a week time, we had to roll back the changes. One of my work colleague inquired about the rollback options. His plan was to use the command “copy start run“. But if we are looking at a full configuration rollback, we should be using the command “configure replace“.
The copy command MERGE the configuration but never replaces the configuration. This command does not remove commands from the current running configuration that are not present in the source file. So, to overcome this issue, Cisco has released a command for this. The configure replace command provides the capability to replace the current running configuration with any saved Cisco IOS configuration file. This can be used to revert to a previous configuration state, effectively rolling back any configuration changes that were made since the previous configuration state was saved.
In my case, the configuration backup was saved to the Flash: It does not matter where your configuration backup is located.
So, to roll back the changes you may simply run the below command (without ).
configure replace [saved-config-archive]
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
The cookie is used by cdn services like CloudFare to identify individual clients behind a shared IP address and apply security settings on a per-client basis. It does not correspond to any user ID in the web application and does not store any personally identifiable information.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
1 year 24 days
Used by Google DoubleClick and stores information about how the user uses the website and any other advertisement before visiting the website. This is used to present users with ads that are relevant to them according to the user profile.
This cookie is set by doubleclick.net. The purpose of the cookie is to determine if the user's browser supports cookies.
5 months 27 days
This cookie is set by Youtube. Used to track the information of the embedded YouTube videos on a website.