This is effectively a repost of my question at StackOverflow, before I settle on a programmatic solution:
Essentially, a customers users are using a website that plays up with some other technology we roll out. We've exhausted all other routes in getting things to work properly, so I'm now in workaround / bodge territory.
I've found an option on the website which does make things work. However, it's undesirable (And needless convoluted unfortunately) for us to direct the users to configure this themselves.
Therefore, what I'd like / need to do is to set a cookie on computer logon. All the cookie contains is "0:-" which just disables the feature we need to disable.
Again, I realise this is highly undesirable but assuming I can find a way out of this, then I'll be out of the woods. Ideally in VBScript, but really anything that is invisible to the users is good.
Just for context, this is a Server 2008 R2 domain with Vista and Windows 7 Clients running IE8 and IE9. That is the scope for work and all I need to get working!
I'm happy to hear alternative suggestions, but the end result is that we want to automatically disable this websites feature for our users.
Any help gratefully received.
If it were possible to manipulate cookies on a remote machine without the user accessing the site, then there wouldn't be much security would there?
Even if you've got full admin rights on the client machine, it would be very difficult to find the right directory to create the file in.
The only practical solution I can think of is to route requests through a proxy which adds the cookie to outgoing requests and/or sets it in responses. It's possible to do this with Varnish or squid - no idea if MSISA can do this.
I wanted to provide an answer to this. Sadly, there wasn't one that I could ever find so we used the programmatic solution that I came up with here:
https://stackoverflow.com/questions/7530734/creating-a-cookie-outside-of-a-web-browser-e-g-with-vbscript
It worked fine, though in the end we were able to get the root cause sorted.