Skip to content

Commit

Permalink
Convert quote to brace for GUID (arun-goud#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-goud authored Mar 4, 2023
1 parent be19d87 commit fc466c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_wintermelon.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Step 1
# auditpol /set /subcategory:"Other Logon/Logoff Events" /success:enable /failure:enable
auditpol /set /subcategory:"0CCE921C-69AE-11D9-BED3-505054503030" /success:enable /failure:enable
auditpol /set /subcategory:{0CCE921C-69AE-11D9-BED3-505054503030} /success:enable /failure:enable

# Step 2
$scriptdir = Split-Path -Parent $PSCommandPath
Expand Down

1 comment on commit fc466c0

@PupHops
Copy link

@PupHops PupHops commented on fc466c0 Mar 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did as you wrote, but still the same error. What else could be wrong?

p.s error:

auditpol : Error 0x00000057 occurred:
At C:\Users\User\source\repos\Wintermelon\install_wintermelon.ps1:17 char:1

  • auditpol /set /subcategory:{0CCE921C-69AE-11D9-BED3-505054503030} /su ...
  •   + CategoryInfo          : NotSpecified: (Error 0x00000057 occurred::String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    
    

The parameter is incorrect.

Please sign in to comment.