Reputation
371
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 7
Newest
 Caucus
Impact
~56k people reached

  • 0 posts edited
  • 0 helpful flags
  • 9 votes cast
Dec
4
comment Unsolicited Remote Assistance on domain
Can you double check the relevant part from the article: "Navigate to Computer Configuration> Policies> Windows Settings> Security Settings> Local Policies> Security Options, then enable the User Account Control: Allow UIAccess applications to prompt for elevation without using the secure desktop policy."
Dec
1
awarded  Caucus
Dec
1
awarded  Constituent
Sep
27
awarded  Yearling
Jun
4
revised PowerShell - finding users who are Inactive AND not disabled
added 9 characters in body
Jun
4
answered PowerShell - finding users who are Inactive AND not disabled
May
21
comment Get-ItemProperty : Cannot find path 'HKLM:\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.SqlServer.Management.PowerShell.sqlps'
Reg query that path from cmd? Are you sure it exists?
May
21
awarded  Critic
May
21
comment Get-ItemProperty : Cannot find path 'HKLM:\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.SqlServer.Management.PowerShell.sqlps'
Ok, so nothing to do with x32 binary accessing x64reg. Can you edit the psm1 file and change the path to actual value then?
May
21
comment Get-ItemProperty : Cannot find path 'HKLM:\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.SqlServer.Management.PowerShell.sqlps'
Hmm, you could edit it but there may be an easier way to test what I suspect. Are you on a 64bit computer? Are you using x32 version of PowerShell?
May
21
answered Get-ItemProperty : Cannot find path 'HKLM:\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.SqlServer.Management.PowerShell.sqlps'
Feb
21
answered Cannot unblock IE9 installation after GPO blocker kit
Feb
21
answered GPO - Software restriction policy
Feb
19
revised Cannot get Exchange PowerShell script to run under Scheduled Tasks
added 19 characters in body
Feb
19
comment Cannot get Exchange PowerShell script to run under Scheduled Tasks
Well, my answer was correct all along Logan :) anyway I will mention Z was probably not accessible
Feb
19
comment Cannot get Exchange PowerShell script to run under Scheduled Tasks
so, we know that script works; the syntax works; but if you put it into Z: drive it does not. Is that b/c you are using a different user acc for scheduler? If you are, for example, using NT System account; it wont have access to 'z:' drive, as that's a network drive your user account is mapping. In terms of what you need to put to scheduler; we already answered that. Everything starting with -PSconsole goes to arguments... To test, I suggest you use your own account and pwd while testing
Feb
19
comment Cannot get Exchange PowerShell script to run under Scheduled Tasks
You did create the powershell file C:\temp\test.ps1, right?
Feb
19
comment Cannot get Exchange PowerShell script to run under Scheduled Tasks
huh!, but now that you are in the shell, it works if you just type &'c:\temp\test.ps1' ?
Feb
19
comment Cannot get Exchange PowerShell script to run under Scheduled Tasks
Ok, now can you create a simple script (let it just print something on the screen), save it in a local folder (say c:\temp\test.ps1) then add it to that like you tried before: powershell -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\bin\exshell.psc1" -noexit -exec bypass -command ". 'C:\Program Files\Microsoft\Exchange Server\bin\Exchange.ps1' ; &'c:\temp\test.ps1'" does that work?
Feb
19
revised OK to modify HKLM\Software\Policies and HKCU\SOFTWARE\Policies on a domain?
fixed type