Windows Vista Forums
Vista Forums Home Join Vista Forums Donate 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 Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

PowerShell V2 and Software restriction policies

Reply
 
LinkBack Thread Tools Display Modes
Old 01-06-2009   #1 (permalink)
Vadims Podans
Guest


 
 

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
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
CTP and Software Restriction Policies Vadims Podans PowerShell 0 12-29-2008 02:48 AM
software restriction policy John Vista General 1 08-03-2007 03:34 PM
Using Powershell for administration of Software Restriction Polici kate_mac PowerShell 0 06-08-2007 08:30 AM
Software Restriction Policies Adam Simmonds (SimAda00) Vista General 1 04-12-2007 08:48 PM
Software Restriction Policy (SRS) problems David Calzada Vista security 4 03-29-2007 12:47 PM


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 47 48 49 50 51 52 53