Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I wish to prevent the Adobe Flash player from checking for updates on all domain computers. In principle it's as simple as creating a UTF-8 format file name mms.cfg in the %windir%\system32\macromed\flash folder. (The file only needs the line AutoUpdateDisable=1.) While this works fine via a logon script on XP and Server 2003 machines it's not working on Win 7 because of the UAC, which I'd rather not disable if practical.

I'm after a way to create/copy the file without user intervention, preferably at logon. Can this be done with a script, bearing in mind the target location, or do I need to create an MSI package and use GPO to install it, which seems like an awful lot of trouble to go through for such a simple thing?

share|improve this question
6  
Why does it have to be a logon, and not startup? Are you really using a login script and not a startup script? A login script shouldn't be able to write there even on XP unless the users have administrator access. Startup scripts should be able to write there on Win7 even with the UAC on. –  Zoredache Sep 20 '10 at 5:05
    
@Zoredache - My only excuse is brain fade caused by just having gone through a company name change and all that entails. Everyone did indeed have full admin rights on their XP machines (not my idea) but I'm not replicating that onto Win 7. If you care to post this as an answer I can accept it and get on with other things. Thanks. –  John Gardeniers Sep 20 '10 at 5:47

1 Answer 1

up vote 4 down vote accepted

If you need to write to %windir%\system32\macromed\flash from a script, it would be much better to use a computer startup script.

A normal user will typically not have write access to that folder.

You can also Group Policy preferences to copy files onto the machines if you only care about Windows 7?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.