Pushing a key for enabling file/print sharing

  • Thread starter Thread starter BobMarley
  • Start date Start date
B

BobMarley

We have 5000 pc's in our domain. About 1/3 were installed with File
and Print sharing disabled. I want to see if this is possible:

via login script or Policy, i want to push a key or update that
enables file and print sharing.

concerns:
1) can it be done if the person logging in is not a local admin?
2) would files need to be installed or can i just push the key out?
3) how do i do it?? I can't find the key or syntax online.
4) Pushing it to pc's already enabled, won't disable there's i would
hope.

Any help is appreciated!!!
 
"1) can it be done if the person logging in is not a local admin?"
should be easy, although it depends on the group policies as to whether
users can run
regedit. if not, they would have to have admin rights, yes. However there
are programs
like the built-in "runas.exe" or similar 3rd-party "runas" apps that will
allow user
accounts to run login script commands with admin rights.


"2) would files need to be installed or can i just push the key out?"
the easiest way would be to put the required key/value in a .reg file. Then,
using the
logon script, tell regedit to import the .reg file using the /s silent
switch:

regedit /s \\server\path\regfile.reg


"3) how do i do it?? I can't find the key or syntax online."
I don't know off-hand. I'll leave that for you to find out :)


"4) Pushing it to pc's already enabled, won't disable there's i would hope."
No.
 
Back
Top