Hi,
I'm using net share to create file share cluster resources on 2008 R2 as "cluser doesn't work". I've hit an issue when it comes to setting the caching options.
If I try the first command below it works fine. If I try the same thing with the "/cache:no" at the end of the command the share is created, but the cache setting doesn't apply - I also get "This shared resource doesn't exist". <o:p></o:p>
net share "8"="l:\test2" /remark:"This is my test share" /unlimited /grant:"Authenticated Users",full<o:p></o:p>
Oddly enough, I tried the /cache switch on my Windows 7 laptop and it works fine.
net share parameters http://technet.microsoft.com/en-us/library/bb490712.aspx<o:p></o:p>
<o:p>I could use a PowerShell to modify the registry and set the caching option, but that does seem a bit crazy - I'm wondering if there's a better way?</o:p>
<o:p></o:p>
IT Support/Everything