• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

How to force Windows not create public files?

Status
Not open for further replies.
Joined
Feb 22, 2009
Messages
757 (0.14/day)
System Name Lenovo 17IMH05H
Processor Core i7 10750H
Video Card(s) GTX 1660 Ti
Audio Device(s) SSL2
Software Windows 10 Pro 22H2
Benchmark Scores i've got a shitload of them in 15 years of TPU membership
Is there registry fix so that Windows would not create any Public folders in ''C:/Users/Public''? Just seeing them annoys me.
 

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
18,914 (2.86/day)
Location
Piteå
System Name Black MC in Tokyo
Processor Ryzen 5 5600
Motherboard Asrock B450M-HDV
Cooling Be Quiet! Pure Rock 2
Memory 2 x 16GB Kingston Fury 3400mhz
Video Card(s) XFX 6950XT Speedster MERC 319
Storage Kingston A400 240GB | WD Black SN750 2TB |WD Blue 1TB x 2 | Toshiba P300 2TB | Seagate Expansion 8TB
Display(s) Samsung U32J590U 4K + BenQ GL2450HT 1080p
Case Fractal Design Define R4
Audio Device(s) Line6 UX1 + some headphones, Nektar SE61 keyboard
Power Supply Corsair RM850x v3
Mouse Logitech G602
Keyboard Cherry MX Board 1.0 TKL Brown
VR HMD Acer Mixed Reality Headset
Software Windows 10 Pro
Benchmark Scores Rimworld 4K ready!
Is there registry fix so that Windows would not create any Public folders in ''C:/Users/Public''? Just seeing them annoys me.

I have never seen such a folder in my life.
 
Joined
Jul 5, 2013
Messages
25,559 (6.52/day)
Is there registry fix so that Windows would not create any Public folders in ''C:/Users/Public''? Just seeing them annoys me.
This should do it;

This might also be worth your time;
 
Joined
Jul 25, 2006
Messages
12,011 (1.86/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
Interesting. I have the Public folder, and it has several Public folders under it, but they are all timestamped with the date W10 was installed on this computer or last year on June 1 when the last major W10 update was installed. But there are no files in any of those folders.

I don't see a problem with just leaving it.
 

newtekie1

Semi-Retired Folder
Joined
Nov 22, 2005
Messages
28,472 (4.25/day)
Location
Indiana, USA
Processor Intel Core i7 10850K@5.2GHz
Motherboard AsRock Z470 Taichi
Cooling Corsair H115i Pro w/ Noctua NF-A14 Fans
Memory 32GB DDR4-3600
Video Card(s) RTX 2070 Super
Storage 500GB SX8200 Pro + 8TB with 1TB SSD Cache
Display(s) Acer Nitro VG280K 4K 28"
Case Fractal Design Define S
Audio Device(s) Onboard is good enough for me
Power Supply eVGA SuperNOVA 1000w G3
Software Windows 10 Pro x64
No you can't get rid of them, just like you can't get rid of the Default user folders. The best you can do is set the Public folder to hidden so it doesn't normally show up unless you have Windows set to show hidden files/folders.
 
Joined
Jul 5, 2013
Messages
25,559 (6.52/day)
No you can't get rid of them, just like you can't get rid of the Default user folders. The best you can do is set the Public folder to hidden so it doesn't normally show up unless you have Windows set to show hidden files/folders.
It is possible, it's just a pain in the neck. The reward is not worth the hassle..
 

newtekie1

Semi-Retired Folder
Joined
Nov 22, 2005
Messages
28,472 (4.25/day)
Location
Indiana, USA
Processor Intel Core i7 10850K@5.2GHz
Motherboard AsRock Z470 Taichi
Cooling Corsair H115i Pro w/ Noctua NF-A14 Fans
Memory 32GB DDR4-3600
Video Card(s) RTX 2070 Super
Storage 500GB SX8200 Pro + 8TB with 1TB SSD Cache
Display(s) Acer Nitro VG280K 4K 28"
Case Fractal Design Define S
Audio Device(s) Onboard is good enough for me
Power Supply eVGA SuperNOVA 1000w G3
Software Windows 10 Pro x64
Joined
Sep 2, 2020
Messages
1,478 (1.13/day)
System Name Chip
Processor Amd 5600X
Motherboard MSI B450M Mortar Max
Cooling Hyper 212
Memory 2x 16g ddr4 3200mz
Video Card(s) RX 6700
Storage 5.5 tb hd 220 g ssd
Display(s) Normal moniter
Case something cheap
VR HMD Vive
Joined
Jul 5, 2013
Messages
25,559 (6.52/day)
How do you do it?
A combination of registry edits, permission changes and some take-ownership + delete action. It's a bit messy and some aspects of the file manager will not work afterwards. A third party file manager will be needed. It's a change not for the faint of heart. It's easier just to disable the functionality.
 
Last edited:
Joined
Sep 2, 2020
Messages
1,478 (1.13/day)
System Name Chip
Processor Amd 5600X
Motherboard MSI B450M Mortar Max
Cooling Hyper 212
Memory 2x 16g ddr4 3200mz
Video Card(s) RX 6700
Storage 5.5 tb hd 220 g ssd
Display(s) Normal moniter
Case something cheap
VR HMD Vive
A combination of registry edits, permission changes and some take-ownership + delete action. It's a bit messy and some aspects of the file manager will not work. A third party file manager will be needed. It's a change not for the faint of heart. It's easier just to disable the functionality.
I had to restore 3 times while trying to do it
windows does not like it when you delete the wrong reg keys after misreading
 
Joined
Jul 25, 2006
Messages
12,011 (1.86/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
If you ever want to share files with another computer on your own local network, you might just want to leave that folder alone.
 

newtekie1

Semi-Retired Folder
Joined
Nov 22, 2005
Messages
28,472 (4.25/day)
Location
Indiana, USA
Processor Intel Core i7 10850K@5.2GHz
Motherboard AsRock Z470 Taichi
Cooling Corsair H115i Pro w/ Noctua NF-A14 Fans
Memory 32GB DDR4-3600
Video Card(s) RTX 2070 Super
Storage 500GB SX8200 Pro + 8TB with 1TB SSD Cache
Display(s) Acer Nitro VG280K 4K 28"
Case Fractal Design Define S
Audio Device(s) Onboard is good enough for me
Power Supply eVGA SuperNOVA 1000w G3
Software Windows 10 Pro x64
Not everyone cares about that functionality. Portable storage is cheap and easy. Networking equipment isn't.
Networking equipment is definitely cheap and easy.
 
Joined
Jul 5, 2013
Messages
25,559 (6.52/day)
Networking equipment is definitely cheap and easy.
Opinion not supported by merit.

A good router will run someone north of $150, cabling another $65(if running wired) or wireless adapters for $45 each(minimum). But then one also needs the knowledge to setup a home network properly, which most common users don't have. Setup a network the wrong way and you open that network to the internet in an unprotected way.

Portable USB based storage is cheap, easy and requires no additional knowledge to make data transfers a simple, quick task.
 
Joined
Jul 25, 2006
Messages
12,011 (1.86/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
Not everyone cares about that functionality.
:( Ummm, really? :rolleyes:

Portable storage is cheap and easy. Networking equipment isn't.
Huh? Just about everyone already has a router with an integrated 4-port switch. No additional networking equipment needed.

And did you notice the "If"? And that I said "another computer"? If there are two adults in the household, chances are there are two computers. And even many single person homes have more than one computer they might want to share files with.
Networking equipment is definitely cheap and easy.
Opinion not supported by merit.
:( Of course it is. And it is supported with fact too - which just a few seconds of homework and Bing Google would show anyone. Newegg for example, has dozens of wireless routers with 4-port Ethernet switches for under $50. And it is pretty much plug and play - can't get much easier. And with no additional network equipment needed.
 
Joined
Jul 5, 2013
Messages
25,559 (6.52/day)
:( Ummm, really? :rolleyes:
Yes, really.
Newegg for example, has dozens of wireless routers with 4-port Ethernet switches for under $50. And it is pretty much plug and play - can't get much easier. And with no additional network equipment needed.
"Plug & play" networking is often anything but. And you assume that everyone has all the equipment they need already and that 100mbps is fast enough for them.

But I digress. We're getting off-topic.
 
Joined
Jul 25, 2006
Messages
12,011 (1.86/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
Yes, really.
LOL - Again, did you not notice the "if"? That implies not everyone cares about that functionality. Perhaps you didn't know that rolling the eyes :)rolleyes:) also indicates sarcasm.
And you assume that everyone has all the equipment they need
:roll:

It is fun, in a sad sort of way, watching folks who cannot admit that others might be right too, and instead dig themselves deeper and deeper.

But yes, in this case I am assuming they already have a router with an Ethernet switch, or wifi (or both) since most people want Internet access and even the basic residential gateway devices provided by ISPs support one, or the other, or both. Very few today go directly from computer to modem then out to the Internet.

You, on the other hand, assume everyone already has some type of portable storage, and they don't mind hand carrying it back and forth between each computer.

And yes, plug and play is right. Plug the wireless router into the modem, connect the computers to the router, and boom - Bob's your uncle. You may have to reboot the computer, or enter the wifi passphrase - but one would have to do that for Internet access anyway.

And contrary to what Lex seems to be implying, setting up sharing over a network is not hard - especially between W10 computers.

Sure, "IF" the user already has an external drive or flash drive (big enough for all the files they want to share), they can lug it back and forth between computers each and every time they want to share them. Like that's really convenient - especially if the external drive has its own power supply. :rolleyes: (Ummm, I'm being sarcastic again.). I am sure if Computer #1 is on the top floor, East end of the house, and Computer #2 is in the basement on the West end, everyone would love running up and down the stairs. :rolleyes: (Do I need to say it?)

But with sharing enabled, everyone can stay in their chairs and with just a few mouse click, transfer files back and forth all they want.

and that 100mbps is fast enough for them.
LOL You're the one who keeps making assumptions. Again, with just a couple seconds of homework with Bing Google anybody can easily see several of those under $50 routers support 1Gbps Ethernet and 802.11n and some even support 802.11ac.

And for the record, I am not suggesting folks settle for an under $50 wireless router. I was just illustrating how the necessary network equipment is not expensive - though most folks already have it on hand.

You can keep arguing and suggesting that your way is the only way anyone would ever want to use, Lex. That's up to you. Everyone else knows other wise. And of course no doubt some would argue there's always cloud storage for sharing too. But that's for yet a different discussion.
 
Last edited:

newtekie1

Semi-Retired Folder
Joined
Nov 22, 2005
Messages
28,472 (4.25/day)
Location
Indiana, USA
Processor Intel Core i7 10850K@5.2GHz
Motherboard AsRock Z470 Taichi
Cooling Corsair H115i Pro w/ Noctua NF-A14 Fans
Memory 32GB DDR4-3600
Video Card(s) RTX 2070 Super
Storage 500GB SX8200 Pro + 8TB with 1TB SSD Cache
Display(s) Acer Nitro VG280K 4K 28"
Case Fractal Design Define S
Audio Device(s) Onboard is good enough for me
Power Supply eVGA SuperNOVA 1000w G3
Software Windows 10 Pro x64
I don't see what the argument here is. If someone already has multiple computers, and those computers both have internet using the same internet connection, then they are already networked. There is absolutely no extra cost involved, they already have the hardware the need. And even if your ISP supplied router is only 100Mbps(how old is that shit?) a 5-port Gigabit switch is $15.

Then there is the setup, and yeah it is mildly more complex than using a flash drive to transfer files, but it isn't rocket science. Windows makes it pretty darn easy and there are tons of guides online that walk you right through it.
 
Joined
Jul 25, 2006
Messages
12,011 (1.86/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
I don't see what the argument here is. If someone already has multiple computers, and those computers both have internet using the same internet connection, then they are already networked. There is absolutely no extra cost involved, they already have the hardware the need.
Exactly!
Then there is the setup, and yeah it is mildly more complex than using a flash drive to transfer files, but it isn't rocket science. Windows makes it pretty darn easy and there are tons of guides online that walk you right through it.
Exactly again! And after sharing is set up, there is no need for the user to run back and forth between computers.

And for the record, I know quite a few people who don't have an external drive - including me. I have a docking station on this computer, but not on the other 4 computers in this house. So that would mean I would have to lug the docking station and its power cord, a drive, and a USB cable around to each computer. What a pain.

I do have a couple flash drives, but I know several people who don't. But again, I would have to carry them back and forth to each computer I wanted to share files with. Still a big, and unnecessary pain.

And another problem - though it may be mostly personal, but I don't like using USB in this manner. IMO, USB (and in particular, USB flash drives) just aren't that reliable. They certainly are not as trouble free as internal drives,
 
Joined
May 2, 2017
Messages
7,762 (3.08/day)
Location
Back in Norway
System Name Hotbox
Processor AMD Ryzen 7 5800X, 110/95/110, PBO +150Mhz, CO -7,-7,-20(x6),
Motherboard ASRock Phantom Gaming B550 ITX/ax
Cooling LOBO + Laing DDC 1T Plus PWM + Corsair XR5 280mm + 2x Arctic P14
Memory 32GB G.Skill FlareX 3200c14 @3800c15
Video Card(s) PowerColor Radeon 6900XT Liquid Devil Ultimate, UC@2250MHz max @~200W
Storage 2TB Adata SX8200 Pro
Display(s) Dell U2711 main, AOC 24P2C secondary
Case SSUPD Meshlicious
Audio Device(s) Optoma Nuforce μDAC 3
Power Supply Corsair SF750 Platinum
Mouse Logitech G603
Keyboard Keychron K3/Cooler Master MasterKeys Pro M w/DSA profile caps
Software Windows 10 Pro
Opinion not supported by merit.

A good router will run someone north of $150, cabling another $65(if running wired) or wireless adapters for $45 each(minimum). But then one also needs the knowledge to setup a home network properly, which most common users don't have. Setup a network the wrong way and you open that network to the internet in an unprotected way.

Portable USB based storage is cheap, easy and requires no additional knowledge to make data transfers a simple, quick task.
Uhm, did you miss the part where the vast majority of PCs are connected to this thing called the internet? Which, unless you're running ISDN or dial-up, means connecting to some sort of network? It's far more likely for people to already have networking equipment than portable storage of a useful size.

As such, the only cost for network sharing of files is the minimal effort required to enable it.
 

newtekie1

Semi-Retired Folder
Joined
Nov 22, 2005
Messages
28,472 (4.25/day)
Location
Indiana, USA
Processor Intel Core i7 10850K@5.2GHz
Motherboard AsRock Z470 Taichi
Cooling Corsair H115i Pro w/ Noctua NF-A14 Fans
Memory 32GB DDR4-3600
Video Card(s) RTX 2070 Super
Storage 500GB SX8200 Pro + 8TB with 1TB SSD Cache
Display(s) Acer Nitro VG280K 4K 28"
Case Fractal Design Define S
Audio Device(s) Onboard is good enough for me
Power Supply eVGA SuperNOVA 1000w G3
Software Windows 10 Pro x64
Back on topic, I'd like to point out the Public folders are nothing new. They have been in Windows since at least Windows 2000. I don't see why it would bother anyone that they are there. They are used by a lot of programs.
 
Joined
Jul 25, 2006
Messages
12,011 (1.86/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
I checked a couple other computers here and I found a few files under a couple subfolders under that Public folder. So for a test, I decided to copy those files to a safe place, then delete them from those folders to see if anything broke.

So far, as far as I can tell, everything still works fine.

Still, I see no reason to worry about them. This is especially true if your computer has more than one user. When you install a program that prompts to install for "Just you" or "All users", this folder is often used with the "All users" option. And as noted above, if access is needed from other computers on your local network.
 
Joined
Feb 22, 2009
Messages
757 (0.14/day)
System Name Lenovo 17IMH05H
Processor Core i7 10750H
Video Card(s) GTX 1660 Ti
Audio Device(s) SSL2
Software Windows 10 Pro 22H2
Benchmark Scores i've got a shitload of them in 15 years of TPU membership
I guess i have no choice, but to leave that Public folder.
 
Joined
Jul 25, 2006
Messages
12,011 (1.86/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
Its not hurting anything.
 
Status
Not open for further replies.
Top