[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Logon script required

Posted on 2012-09-13
Medium Priority
Last Modified: 2012-10-09
Hi there

I am doing work in a school and every PC has been updated to W7. The Cisco class requires Cisco Networking Academy software to run. These clases are all html/flash based and when they try and use it nothing happens. The fix is to go into the settings manager of the Flash player and allow flash to run. This is fine but it has to be done on an individual user bases. I want to be able to do it once as the administrator and then have every user be able to just use the software without all the individual user account configuration.

I came across a solution at the link below. I am hoping that someone can tell me how to write the suggested Logon Script. Or give me an alternative solution.


Question by:doey
  • 3
LVL 17

Accepted Solution

bigeven2002 earned 1000 total points
ID: 38397249

There might be an easier way but it depends on whether or not the users have already logged into the machine.  The method below should work if a user has not logged into the machine yet:

Copy the settings.pol to the default user folder in Windows 7


From here though, I don't know where the settings.pol file is stored.  Login as yourself if you already have one, and copy it to the same path in the Default user folder indicated above.

Again this should work for users if they have not logged in before.  

Now for users that already exist, it might be easier to copy the file manually to each user profile folder.

If you want to use the login script, create a batch file called flash.bat (this can be done with Notepad) and copy it to the global startup folder:

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

In the script:
copy C:\path\to\settings.pol C:\Users\%userprofile%\path\to\settings.pol

Open in new window

%userprofile% is a wildcard that auto inserts the current user account name in the path.

Assisted Solution

nick-pecoraro earned 1000 total points
ID: 38397255
If you follow the article and get your settings the way you want them, then move the Settings.sol to a network share, this VBScript should work:

Set oShell = CreateObject("WScript.Shell")
sUserProfile = oShell.ExpandEnvironmentStrings("%userprofile%")
Set fso = CreateObject("Scripting.FileSystemObject")
fso.Copyfile "\\networkshare\Settings.sol", sUserProfile & "\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\settings.sol"

Open in new window

Update the server location in the last line to point to the settings.sol file on your network share.
LVL 59

Expert Comment

ID: 38469079
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
LVL 17

Expert Comment

ID: 38469080
Hi Lee,

I feel Nick and I have provided reasonable examples on how to apply the settings.pol file at logon and achieve the objective.  Although I didn't know the exact path, I do know this method has worked before to apply updated default settings.

If things still appear inconclusive, then proceed with deleting the question.
LVL 17

Expert Comment

ID: 38469366
3. I would like to request split accepted answer for the responses below with an A or B grade:


With a couple minor path modifications from the author, both suggestions should work.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This is a fine trick which I've found useful many times, when you just don't want to accidentally run a batch script or the commands needs administrator rights.
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question