Startup script not working
Hi,
I have written a script and added it to a group policy - under Startup Scripts. I have pasted the ifmember.exe and script to the relevant folder on the domain controller. The goal of the script is to adjust the security level of Local Intranet to Full Trust
in the .Net Wizard Console.
-------------------------------------------------------------------------
@echo on
ifmember MYGROUP
if not errorlevel 1 goto quit
cd /d %systemroot%\microsoft.net\framework\v1.1.4322\
caspol -polchgprompt off
caspol -m -cg 1.2 FullTrust
:quit
-----------------------------------------------------------
When i test the commands on a local machine, pasting the commands one by one into command prompt, they work fine. However the script isn't executing via group policy. I have checked that the policy applies to the machine and that the user has apply group
policy permissions on the policy...
Can anyone tell me why the startup script isn't working?
June 18th, 2010 12:25pm
Are you checking the user membership?
Have you tried it as a user GPO instead of a startup script?
Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX http://blogs.sivarajan.com/ http://publications.sivarajan.com/ This posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
June 19th, 2010 1:42am
Hi davley2,
What's your operation system on the computer?
Please try the following KB to resolve the issue.
After you turn on User Account Control in Windows Vista, programs may be unable to access some network locations
http://support.microsoft.com/kb/937624/en-us
Group-Aware Logon Scripts
http://technet.microsoft.com/en-us/library/cc767361.aspx
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
June 21st, 2010 9:18am