Assign Windows installation to a different letter than C?

Messerschmitt

New member
Member
Local time
4:01 PM
Messages
45
Had a crazy thought. Wouldn't assigning Windows installation to a different drive letter than C help in some measure against infections? Or I guess even after installing Windows, just change drive C to another letter.

Obviously for sophisticated infections this might not work, but wouldn't generic infections have code that assumes the system is installed on the default C drive, so the virus code is written with generic paths for infection (ex. C:/windows/system32/... etc)?

Or is this not how it works?
 

My Computer My Computer

At a glance

windows 7
OS
windows 7
Virus will read system variables which will tell it all it needs to know just open a CMD prompt type set
 

My Computer My Computer

At a glance

win 8 32 bit
Computer type
PC/Desktop
OS
win 8 32 bit
What if windows was installed on a more sophisticated partition format, where you would actually have file permissions instead of a flag added by the os, so the infection would really need root permissions to install itself inside the system and make itself executable?
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64i7 2600kCMZ16GX3M4A1600C9Gainward GeForce GTX 580 1536MB Phantom
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Ultimate x64
CPU
i7 2600k
Motherboard
GA Z68X-UD4-B3
Memory
CMZ16GX3M4A1600C9
Graphics Card(s)
Gainward GeForce GTX 580 1536MB Phantom
Hard Drives
OCZ Agility 3 120GB
Western Digital Caviar Green 2 TB WD20EARS
Western Digital Caviar Green 2 TB WD20EARS
Antivirus
Norton AV
Browser
Firefox
or what if all windows system files were encrypted, so any executable would need a key
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64i7 2600kCMZ16GX3M4A1600C9Gainward GeForce GTX 580 1536MB Phantom
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Ultimate x64
CPU
i7 2600k
Motherboard
GA Z68X-UD4-B3
Memory
CMZ16GX3M4A1600C9
Graphics Card(s)
Gainward GeForce GTX 580 1536MB Phantom
Hard Drives
OCZ Agility 3 120GB
Western Digital Caviar Green 2 TB WD20EARS
Western Digital Caviar Green 2 TB WD20EARS
Antivirus
Norton AV
Browser
Firefox
- If you change the letter of an installed Windows it wont work as register has all data referring to C:
- Virus and malware will infect the target file as it looks for %SystemDrive% not for C:
- Virus and malware are programs that, when ran, modify a target file. So an encrypted drive wont help as when the Virus or the malware is executed, the drive is already open.
 

My Computers My Computers

  • At a glance

    Windows 7 HP 64i5 6600K - 800MHz to 4200MHz4+4G GSkill DDR4 3000IG - Intel 530
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    custom build
    OS
    Windows 7 HP 64
    CPU
    i5 6600K - 800MHz to 4200MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500Mb/s
    Browser
    Firefox 64
    Other Info
    TinyWall firewall
  • At a glance

    Windows 7 Proi7-4500U 800MHz to 3.0GHz(4+4)G DDR3 1600IG intel 4400 + NVIDIA GeForce GT 745M
    Computer type
    Laptop
    System Manufacturer/Model Number
    Asus Q550LF
    OS
    Windows 7 Pro
    CPU
    i7-4500U 800MHz to 3.0GHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics Card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs +
    1T HDD for data
    Internet Speed
    500 Mb/s
    Browser
    Firefox
    Other Info
    TinyWall firewall
How to you do fresh installation of Windows OS.

By default, Windows installation will use C:\ drive to install to.
The boot, system, files etc; will occupy the very 1st partition in order to boot to the correct partition with Windows OS.

Let say, you install to a drive G:\
All programs, Windows system, application, etc are in G:\ drive

The virus still can go about infecting your G:\ drive as stated as partition contain the system.
That is to say you run any program, application, etc from the G:\ drive.

Do use Internet Security software and an antivirus-spyware to protect from virus, malware.
The Internet Security is usual active from boot to shutdown.
The other anti-virus/spyware can be scan ad-hoc, with latest update of virus signature files.
 

My Computer My Computer

At a glance

Windows 7 x64
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba L630 and L735
OS
Windows 7 x64
Hard Drives
240 GB SSD
I don't think modern version of Windows (Vista and later) can be installed to a partition other than C. Drive letters are not a property of the partition itself but are defined in the registry. When the OS is installed it will call it's own partition C and assign drive letters to other partitions as it sees fit. You can have multiple operating systems installed and each one will see it itself as on C.

In any event it wouldn't likely do much good. Operating systems provide extensive facilities for applications (and malware) to locate where things are located. Windows can use many different languages and the names of folders often depend on the language used. Any sensible software will use these facilities rather than assume English language defaults.

Changing security settings from the defaults won't do much good either. To do their work malware must in some way achieve admin rights and once it has that it owns your computer.

Many modern systems are fully encrypted. But the encryption is done at a low level and is invisible to software. Malware could do as it wishes completely unaware that the drive is encrypted.

You have to understand that modern malware is VERY sophisticated, far more so than most people can imagine. Malware authors understand the security of a modern OS very well and are experts at evading the various forms of protection. OS designers include security experts, as do the designers of anti-malware software. When it comes to suggestions for improving security they have heard it all. They know about everything suggested in this thread and a whole lot more.
 

My Computer My Computer

At a glance

Windows 7 Pro 64 bitXeon W35208 GBNvidia Geforce 210
Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
The OS drive letter doesn't need to be C. Doubt that would make any difference to malware.
 

My Computers My Computers

  • At a glance

    7 X64i5 84002x8gb 3200mhz
    Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • At a glance

    7x64g54008gb ddr4 2400
    Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Exactly, they don`t look for a certain letter, they just infect whatever they find wherever they find it.

You`re still downloading to that letter so it doesn`t matter what letter it is.
 

My Computer My Computer

At a glance

Windows 10 Pro x64Intel Core i7 6700KGSkill TridentZ RGB 16GB 3600 16-16-16-36EVGA GTX 980 Ti SC x2
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Skylake Special #666
OS
Windows 10 Pro x64
CPU
Intel Core i7 6700K
Motherboard
Asus Sabertooth Z170 Mark 1
Memory
GSkill TridentZ RGB 16GB 3600 16-16-16-36
Graphics Card(s)
EVGA GTX 980 Ti SC x2
Sound Card
Realtek High Definition
Monitor(s) Displays
AOC G2460PG
Screen Resolution
1920 x 1080 144Hz
Hard Drives
Samsung 860 Pro 256GB, Seagate Barracuda 4TB x2
PSU
EVGA 1000 P2, EVGA White Custom Braided Cables
Case
Corsair Vengeance C70 Gunmetal Black
Cooling
Corsair H100i v2, Corsair ML120 x2, Thermal Grizzly Kryonaut
Keyboard
Logitech G910 Orion Spectrum
Mouse
Logitech G700s
Internet Speed
Verizon Fios Quantum Gateway 75/75
Antivirus
Windows Defender, Malwarebytes Free 3.8.3
Browser
Chrome
Other Info
Corsair SP120 x4, LG Blu-ray Drive, Durabrand HT-395 100 Watt Dolby Digital Amp, Corsair H2100 Wireless 7.1 Headset
To add:

If you have installed 2 Windows OS on separate HDD.
HDD 1 --> Windows XP
HDD 2 --> Windows Vista

The current HDD 2 will consider as Active, as C:\ drive.
The other HDD 1 will have no Active stated.

If you select the HDD 1 as Active.
Upon reboot, this HDD 1 will be considered as C:\ Active.

Then if you want to go back to the previous HDD 2 and select as Active.
Upon reboot, this HDD 2 will be considered as C:\ Active.

I did some testing on this during Windows XP period.

As for Windows 7 i am not sure, and may do some testing with other Windows OS.
 

My Computer My Computer

At a glance

Windows 7 x64
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba L630 and L735
OS
Windows 7 x64
Hard Drives
240 GB SSD
There was a time when I was dual booting Windows 98 and Windows 2000. Windows 98 was installed on partition 1 formatted as FAT32. Windows 2000 was on partition 2 formatted as NTFS. Windows 2000 saw itself on D and the Windows 98 partition as C. Windows 98, not recognizing NTFS, saw only itself. Installation of Windows 2000 was started from within Windows 98 and directing the installation to the other partition. I don't remember having any problems due to this configuration.

Well written software doesn't make assumptions about where things are installed.
 

My Computer My Computer

At a glance

Windows 7 Pro 64 bitXeon W35208 GBNvidia Geforce 210
Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
If you start the Windows installer from within Windows (while Windows is running) to install another Windows OS, that new Win OS will not get the C drive letter.
The C drive letter is in use by the current running OS, so the installer will use some other unused letter.
I wouldn't install an OS this way, and i'm not recommending it, i like always having the Win OS partition as the C partition.

If you boot with the Windows installation media to install Windows, each OS will get the C drive letter whenever it is started.
 

My Computer My Computer

At a glance

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x6...AMD Athlon II x4 6206GB GSkill DDR2 800AMD 4670 GPU + AMD 4200 IGP
Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
:focus:
 

My Computer My Computer

At a glance

Windows 10 Pro x64Intel Core i7 6700KGSkill TridentZ RGB 16GB 3600 16-16-16-36EVGA GTX 980 Ti SC x2
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Skylake Special #666
OS
Windows 10 Pro x64
CPU
Intel Core i7 6700K
Motherboard
Asus Sabertooth Z170 Mark 1
Memory
GSkill TridentZ RGB 16GB 3600 16-16-16-36
Graphics Card(s)
EVGA GTX 980 Ti SC x2
Sound Card
Realtek High Definition
Monitor(s) Displays
AOC G2460PG
Screen Resolution
1920 x 1080 144Hz
Hard Drives
Samsung 860 Pro 256GB, Seagate Barracuda 4TB x2
PSU
EVGA 1000 P2, EVGA White Custom Braided Cables
Case
Corsair Vengeance C70 Gunmetal Black
Cooling
Corsair H100i v2, Corsair ML120 x2, Thermal Grizzly Kryonaut
Keyboard
Logitech G910 Orion Spectrum
Mouse
Logitech G700s
Internet Speed
Verizon Fios Quantum Gateway 75/75
Antivirus
Windows Defender, Malwarebytes Free 3.8.3
Browser
Chrome
Other Info
Corsair SP120 x4, LG Blu-ray Drive, Durabrand HT-395 100 Watt Dolby Digital Amp, Corsair H2100 Wireless 7.1 Headset
What's the topic ?
Installation and Setup, or Security ?
Maybe there should be a new thread in the Security subforum for security guru's ?

The OP hasn't responded to any of the replies offered so far. :(

:) ;) :p :zip:
 

My Computer My Computer

At a glance

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x6...AMD Athlon II x4 6206GB GSkill DDR2 800AMD 4670 GPU + AMD 4200 IGP
Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
I choose the OS letter, personal preference.
 

My Computers My Computers

  • At a glance

    7 X64i5 84002x8gb 3200mhz
    Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • At a glance

    7x64g54008gb ddr4 2400
    Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
His question was could windows still get infected if you changed the letter to something besides C.

Then we started talking about how to change a letter, or why a letter got changed.

That`s all :)

Carry on :)
 

My Computer My Computer

At a glance

Windows 10 Pro x64Intel Core i7 6700KGSkill TridentZ RGB 16GB 3600 16-16-16-36EVGA GTX 980 Ti SC x2
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Skylake Special #666
OS
Windows 10 Pro x64
CPU
Intel Core i7 6700K
Motherboard
Asus Sabertooth Z170 Mark 1
Memory
GSkill TridentZ RGB 16GB 3600 16-16-16-36
Graphics Card(s)
EVGA GTX 980 Ti SC x2
Sound Card
Realtek High Definition
Monitor(s) Displays
AOC G2460PG
Screen Resolution
1920 x 1080 144Hz
Hard Drives
Samsung 860 Pro 256GB, Seagate Barracuda 4TB x2
PSU
EVGA 1000 P2, EVGA White Custom Braided Cables
Case
Corsair Vengeance C70 Gunmetal Black
Cooling
Corsair H100i v2, Corsair ML120 x2, Thermal Grizzly Kryonaut
Keyboard
Logitech G910 Orion Spectrum
Mouse
Logitech G700s
Internet Speed
Verizon Fios Quantum Gateway 75/75
Antivirus
Windows Defender, Malwarebytes Free 3.8.3
Browser
Chrome
Other Info
Corsair SP120 x4, LG Blu-ray Drive, Durabrand HT-395 100 Watt Dolby Digital Amp, Corsair H2100 Wireless 7.1 Headset
From post #1

Had a crazy thought. Wouldn't assigning Windows installation to a different drive letter than C help in some measure against infections?

From my little bit of knowledge I would say no. Changing partition letters would not help with security.

I try to remember that the bad guys have great knowledge to create infections.
If it was as simple as changing the partition letter to stop the bad guys we would all being doing it; if Windows 7 allowed it to be done.
 

My Computer My Computer

At a glance

Windows 10 Pro. 64/ version 1709 Windows 7 Pr...Intel i7-6800K @ 4.3Corsair Platinum 16 gig @2400EVGA GTX 1070 OC
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
What's the topic ?
Installation and Setup, or Security ?
Maybe there should be a new thread in the Security subforum for security guru's ?

The OP hasn't responded to any of the replies offered so far. :(

:) ;) :p :zip:

Well it's already been answered really. Was curious if malware could be fooled, but it seems not. And Megahertz made a good point that you don't need a full path, you can just use variables %http://www.sevenforums.com/member.php?u=497334
 

My Computer My Computer

At a glance

windows 7
OS
windows 7
Many years ago, before HDDs, computers used 2 big cardboard (ie floppy) disks - one for the programs, one for data. These were A and B. When HDDs came along, they were given the letter C.

> interesting fact of the day
 

My Computer My Computer

At a glance

W10 Pro x64, W7 Pro x64 in VMwarei7 2600K @ 4.4GHz8GB Mushkin @ 1600MHzNvidia GTX 750 Ti
Computer type
PC/Desktop
Computer Manufacturer/Model Number
self build
OS
W10 Pro x64, W7 Pro x64 in VMware
CPU
i7 2600K @ 4.4GHz
Motherboard
MSI Z68A-GD80
Memory
8GB Mushkin @ 1600MHz
Graphics Card(s)
Nvidia GTX 750 Ti
Monitor(s) Displays
27" Benq + 27" LG
Screen Resolution
1080p
Hard Drives
500GB 850 Evo SSD + 3 * 2TB Seagate
PSU
EVGA 650 GS modular
Case
Antec 300
Cooling
Seidon 120V v2
Internet Speed
62/18 Mbps
Antivirus
Defender (W10) + MSE (W7)
Browser
Firefox

My Computer My Computer

At a glance

Windows 10 Pro x64Intel Core i7 6700KGSkill TridentZ RGB 16GB 3600 16-16-16-36EVGA GTX 980 Ti SC x2
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Skylake Special #666
OS
Windows 10 Pro x64
CPU
Intel Core i7 6700K
Motherboard
Asus Sabertooth Z170 Mark 1
Memory
GSkill TridentZ RGB 16GB 3600 16-16-16-36
Graphics Card(s)
EVGA GTX 980 Ti SC x2
Sound Card
Realtek High Definition
Monitor(s) Displays
AOC G2460PG
Screen Resolution
1920 x 1080 144Hz
Hard Drives
Samsung 860 Pro 256GB, Seagate Barracuda 4TB x2
PSU
EVGA 1000 P2, EVGA White Custom Braided Cables
Case
Corsair Vengeance C70 Gunmetal Black
Cooling
Corsair H100i v2, Corsair ML120 x2, Thermal Grizzly Kryonaut
Keyboard
Logitech G910 Orion Spectrum
Mouse
Logitech G700s
Internet Speed
Verizon Fios Quantum Gateway 75/75
Antivirus
Windows Defender, Malwarebytes Free 3.8.3
Browser
Chrome
Other Info
Corsair SP120 x4, LG Blu-ray Drive, Durabrand HT-395 100 Watt Dolby Digital Amp, Corsair H2100 Wireless 7.1 Headset
Back
Top