Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - PowerShell V2 and Software restriction policies

Reply
 
Old 01-06-2009   #1 (permalink)
Vadims Podans


 
 

PowerShell V2 and Software restriction policies

Original problem described here:
news:ekQWEJZaJHA.4480@xxxxxx

Microsoft confirm this bug as "by design". Currently I'm not aware about
changes in Software Restriction Policies. Therefore there might be a
situation when SRP silently blocks undefined extensions. As workaround you
must at least one additional rule in SRP:
%HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders\Personal%WindowsPowerShell/Microsoft.PowerShell_profile.ps1.ps1

if you use /\/\o\/\/'s PowerTab then you must add this rule:
%HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders\Personal%WindowsPowerShell/PowerTab/*.ps1

Please note, if you use registry key values in SRP console and you append a
suffix (for example registry key contain My documents absolute path and you
specify MyDocs subfolders than you must use foreward slash ( / ) instead
backslash ( \ )

also you will have to add additional Path or other rules for all places
where you hold PowerShell scripts.

--
WBR, Vadims Podans
PowerShell blog - www.sysadmins.lv


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
CTP and Software Restriction Policies PowerShell
software restriction policy Vista General
Using Powershell for administration of Software Restriction Polici PowerShell
Software Restriction Policies Vista General
Software Restriction Policy (SRS) problems Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46