In your first post, after step 2, do NOT reboot.
You need 2 programs:
Now create your batch file. This is mine, and DO NOT forget the "PING 1.1.1.1 -n 1 -w 60000 >NUL"
command because you have to pause the process,
otherwise windows will overwrite the permissions.
(60000 means 60 seconds. I first tried 60 seconds but that wasn't working. Maybe 45 will).
This is my (whs.bat) batch file:
@ECHO OFF
PING 1.1.1.1 -n 1 -w 60000 >NUL
net share "Recorded TV" /Delete
net share "Recorded TV"="D:\Shares\TV" /GRANT:Everyone,FULL /GRANT:"Anonymous logon",FULL
ECHO Y| cacls "D:\shares\Recorded TV" /G "Anonymous logon":F "Everyone":F "Administrators":F "CREATOR OWNER":F
end
Unzip "batcom10uk.zip" and use "BatchCompiler.exe" to convert your just created whs.bat to whs.exe
(You can also put the content of your batch file in the compiler)
Functions->compile
And save the whs.exe
Unzip "AnyServiceInstaller 1.0.zip" and run "AnyServiceInstaller.exe".
If you don't have the "Windows Server 2003 Resource Kit" installed do that by the link given in the program. Or here! And install it.
- Select the location of your installed resource kit. (by defaullt: C:\Program Files\Windows Resource Kits\Tools).
- Select the application that should be used as a service; previously created "whs.exe".
-
And now you can give the service a name. (recorded tv or whatsoever).
Click on create and you are done.
Now you have a system service that will start when windows starts without logging on.
You can check this before or after the reboot "configuration->administrative tools->services", there should be a service called "Recorded TV"

Reboot and depending on how fast your machine is the permissions wil be set without loggin in.
Skip step 3 & 4 of your first post and setup your media centers.
You now have a system service which sets the permissions right.
Works great on my WHS. Good luck