Skip to content

Archive

Category: Windows Server 2003

When you do physical to virtual migration or some other way that interface will hold the IP internally in the hidden NIC. So when you try to assign the same IP to a new interface you will get warning – DO YOU WANT TO REMOVE THE STATIC IP CONFIGURATION FOR THE ABSENT ADAPTER, you can continue the job by just clicking – YES but interface is still hidden.

If you want to permanently remove the hidden interface do the steps as below

Step 1: Open the command prompt – Run as Administrator

Step 2: Type the command,

set devmgr_show_nonpresent_devices=1

It will set to visible.

Step 3: Open the device manager, you can use this command in the same command prompt

devmgmt.msc

Step 4: In the device manager windows, On the MENU, VIEW –> Show Hidden Devices

Step 5: Find the hidden interface under the network adapters, select the adapter, right click and do the uninstall.

Job done.

If you allow the Windows 7/2008/R2  setup CD to create your primary partition, it will actually create two partitions, a hidden 100mb system reserved partition used for bootmgr and bitlocker, and the remaining space in a second partition.

I wanted my windows server with single clean partition to make easy backup.

STEP1) Open a command prompt with administrator privileges (right click => run as administrator)

Type:    bcdboot c:\windows /s c:

 You will get a message similar to: Boot files successfully created.

STEP2) Open the Disk Management GUI (you could use diskpart), locate the  C:\ partition right-click and select “Mark Partition as Active”, select yes to the “do you want to continue message”.

STEP3) Reboot to confirm that everything is ok.

STEP4) In Disk Management you can now delete the 100Mb System Reserved partition by right clicking on it and selecting “Delete volume”

When you copy or move files and folders by using Windows Explorer, the permissions that are set on the files or folders may change. For example, when you copy a file in an NTFS file system volume or between two NTFS volumes, Windows servers treats it as a new file. As a new file, it takes on the permissions of the destination folder, and you become the CREATOR OWNER.

NOTE: You must have Write permission for the destination folder to copy files and folders.

You can use the Xcopy command with the /O/X/E/H/K switches to copy the files and retain the existing permissions that have been specifically applied to the file or files.

These switches have the following effects:

/E – Copies folders and subfolders, including empty ones.
/H – Copies hidden and system files also.
/K – Copies attributes. Typically, Xcopy resets read-only attributes.
/O – Copies file ownership and ACL information.
/X – Copies file audit settings (implies /O).

NOTE: This procedure does not override inherited permissions. When you use the Xcopy command with the /O /X /E /H /K switches to copy the files, the following inherited permissions apply:

  • The security settings that are directly assigned to the files and folders are retained.
  • The security settings that are inherited from the source parent folder are lost.
  • The security settings of the destination folders are inherited.
  • When you move files or folders to FAT volumes, the folders and files lose their NTFS permissions because FAT volumes do not support NTFS permissions.

Example

Open Command Prompt, Run –> cmd, Type xcopy /O /X /E /H /K c:\Source d:\Destination, and then press ENTER.