Jump to content

Recommended Posts

Posted

2000 serve, xp clients, ie 7

 

new profile share needed on server for new man profiles........all ok.......however old vbs logon script only runs for domain admin... checked wscript permissions and reg........changes make no difference.........all worked ok before new profile........... gpo loads ok.............any help appreciated!

Posted

I'll hazard a guess that its to do with ur mandatory profiles - which by design do not allow changes to them when users log in.

 

What is the nature of the VBS Script?

 

(Ok now i sound like the Holo Doc from Voyager :?)

Posted

thanks but problems seems certain to do with vsb and wscript. the script sets printer, shared drive and IE homepage

 

when logged on as domain user.... message box appears........"failed to load settingd...........access denied" linked to wscript........... when logged on as d.admin........no problems

Posted
Did you make sure to copy the profile from the profiles tab in computer options? You need to set the permission to "Everyone" when you copy it to the server. You can't just copy the profile folder as the GUI copies them and then changes internal registry values as well.
Posted
Does admin and non-admin share the same gpo? Can you get non-admin to work now? Perhaps you could try creating a non-admin user, but have a roaming profile and test to see if the scripts will run.
Posted
yes same gpo - only 2 in use - default doman and "all" checked event viewer on workstation...... errors 1085 and 1000..... client side folder redirection failed ( there is no redirection policy/setting) and could not execute the script.
Posted
So you only tested in admin? or did you try creating a bat or cmd that will run the command? Might be worth creating a bat file that just runs a bat script (eg md test) and a bat file that will run a script (eg CSCRIPT.EXE C:\TEMP\TEST.VBS). If the bat file wont run in non-admins at all it more than likely means you have a policy (be it in the profile or domain level) that stops bat scripts being run and if you can run bat files but the vbscript wont run then its likely theres a policy that stops vbscripts. If both runs ok then i would guess its a problem with access to the scripts.
Posted

If it runs OK using CSCRIPT, then my bet is file associations.

 

Open an Explorer window then go to Tools, Folder Options, File Associations tab and scroll down to the VBS extension entry.

 

The corresponding FileTypes entry should be VBSFile and the Opens With should read 'Microsoft ® Windows Based Script Host'.

 

Clicking on Advanced should reveal 4 actions (Edit, Open, Print, Open with Command Prompt)

Posted
Did you copy the profile in the way I suggested? If not then the users (except the one who created the profile) will not have any write access to HKCU!
Posted

Check ur Software Restriction Policy (SRP) to ensure that CSCRIPT.exe , and i think WSCRIPT along with .VBS files are allowed

Had similar problem last summer with vbs files not running (ie printer script)

Also added the NETLOGON to the allowed list to ensure all files in there are able to run.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...