Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I need to re-establish the automatically generate administrative shares on a collection of NT 4 PCs. Basically, our image for a particular model had a mistake in that the registry key AutoShareWks was set to 0.
In order to fix the problem I need to set this entry to 1 (or delete the entry entirely). However, I'm wondering if there is an easier way than connecting to each remote registry individually via regedit?
I've looked at tools such as psexec, but they all rely on either the admin$ or ipc$ shares being available. i.e. I ran psexec to run a command on one of these PCs and it told be "network path not found". When I ran it on the same PC after I had re-enabled the shares and rebooted it worked fine.
If I could run a file remotely, I could simply run regedit /s filename.reg on each PC. Even a simple batch file would suffice!
Summary of my question: Can I run a command on a remote PC that has it's administrative shares disabled?

If the users logging onto the PC's belong to the local administrator's group.. put a .reg file in the NETLOGON share on the PDC and add a command in their login script to run it that changes the value from 0 to 1.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |