Does anyone know if it's possible to set or override the permissions on the default shares C$, D$ etc. which Windows XP automatically creates for each hard drive/partition?
I have a security problem with them because some users on our network know the password for the local administrator account on their own workstation, and Windows XP is allowing these local administrator accounts to access the C$ share on any other computer on the network. I can't rely on NTFS security either as some of the machines have FAT32 partitions.
Normally if you try to set permissions on these shares, a message box pops up telling you "This has been shared for administrative purposes. The permissions cannot be set.". However, I have found out that I can remove the C$ share then re-create it and apparently set permissions on it as with any other share... but it turns out that Windows then seems to recognise it as a default share, ignores the permissions I set and reverts back to the default behaviour anyway. I have also managed to stop Windows automatically re-creating these after a reboot (by setting registry key [blue]HKLM\ SYSTEM\ CurrentControlSet\ Services\ lanmanserver\ parameters\ AutoShareWks[/blue] to 0), but this isn't quite what I want either because I still get the same problem if I try to re-create the C$ share.
Is my only option to use a hidden share with a different name? I know it would get around the problem... but somehow this way just doesn't seem as nice!
I have a security problem with them because some users on our network know the password for the local administrator account on their own workstation, and Windows XP is allowing these local administrator accounts to access the C$ share on any other computer on the network. I can't rely on NTFS security either as some of the machines have FAT32 partitions.
Normally if you try to set permissions on these shares, a message box pops up telling you "This has been shared for administrative purposes. The permissions cannot be set.". However, I have found out that I can remove the C$ share then re-create it and apparently set permissions on it as with any other share... but it turns out that Windows then seems to recognise it as a default share, ignores the permissions I set and reverts back to the default behaviour anyway. I have also managed to stop Windows automatically re-creating these after a reboot (by setting registry key [blue]HKLM\ SYSTEM\ CurrentControlSet\ Services\ lanmanserver\ parameters\ AutoShareWks[/blue] to 0), but this isn't quite what I want either because I still get the same problem if I try to re-create the C$ share.
Is my only option to use a hidden share with a different name? I know it would get around the problem... but somehow this way just doesn't seem as nice!