Hi there ,
-
🚜 My Open Projects: Open BLD DNS; Open SysConf; System Checker Script; Cactusd; ip2drop; CWiCCS...
-
🧘 InfoSec and more: Sys-Admin InfoSec; Sys-Admin Up; Sys-Admin Forum; Sys-Admin Help...
🛡 Check Windows and Control Configs and Security - CWiCCS (read as QUICKS)
🚜 My Open Projects: Open BLD DNS; Open SysConf; System Checker Script; Cactusd; ip2drop; CWiCCS...
🧘 InfoSec and more: Sys-Admin InfoSec; Sys-Admin Up; Sys-Admin Forum; Sys-Admin Help...
On Windows 10
Notice: - Read help .\cwiccs.ps1 -help
Set-Content: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:687:34
Line |
687 | $data | ConvertTo-Json | Set-Content -Path $dataFile
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified path is invalid. : '\\disks.json'
Set-Content: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:687:34
Line |
687 | $data | ConvertTo-Json | Set-Content -Path $dataFile
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified path is invalid. : '\\local-audit-policies.json'
Set-Content: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:687:34
Line |
687 | $data | ConvertTo-Json | Set-Content -Path $dataFile
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified path is invalid. : '\\local-password-policies.json'
Set-Content: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:687:34
Line |
687 | $data | ConvertTo-Json | Set-Content -Path $dataFile
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified path is invalid. : '\\local-registry-policies.json'
Set-Content: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:687:34
Line |
687 | $data | ConvertTo-Json | Set-Content -Path $dataFile
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified path is invalid. : '\\local-users.json'
Set-Content: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:687:34
Line |
687 | $data | ConvertTo-Json | Set-Content -Path $dataFile
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified path is invalid. : '\\ports.json'
Set-Content: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:687:34
Line |
687 | $data | ConvertTo-Json | Set-Content -Path $dataFile
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified path is invalid. : '\\requred-services.json'
Set-Content: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:687:34
Line |
687 | $data | ConvertTo-Json | Set-Content -Path $dataFile
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified path is invalid. : '\\restricted-services.json'
Set-Content: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:687:34
Line |
687 | $data | ConvertTo-Json | Set-Content -Path $dataFile
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified path is invalid. : '\\settings.json'
Set-Content: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:687:34
Line |
687 | $data | ConvertTo-Json | Set-Content -Path $dataFile
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified path is invalid. : '\\soft.json'
Set-Content: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:687:34
Line |
687 | $data | ConvertTo-Json | Set-Content -Path $dataFile
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified path is invalid. : '\\device.json'
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19042 N/A Build 19042
This issue found only in the VSCode terminal, another terminal does not has this issue (tested on PowerShell 5 - 7)
On Windows 10
Interactive logon: Smart card removal behavior - OK
Recovery Console: Allow automatic administrative logon Get-ItemProperty: C:\Users\<userName>\Documents\GitHub\cwiccs\modules\reg-handler.ps1:14
Line |
14 | Get-ItemProperty -Path $Path | Select-Object -ExpandProperty …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole' because it does not exist.
Get-ItemProperty: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:448
Line |
448 | … rrentState = (Get-ItemProperty -Path $p -Name $key.Value_Name).$( $ke …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole' because it does not exist.
- FAIL (0 required, current state )
Recovery Console: Allow floppy copy and access to all drives and all folders Get-ItemProperty: C:\Users\<userName>\Documents\GitHub\cwiccs\modules\reg-handler.ps1:14
Line |
14 | Get-ItemProperty -Path $Path | Select-Object -ExpandProperty …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole' because it does not exist.
Get-ItemProperty: C:\Users\<userName>\Documents\GitHub\cwiccs\cwiccs.ps1:448
Line |
448 | … rrentState = (Get-ItemProperty -Path $p -Name $key.Value_Name).$( $ke …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole' because it does not exist.
- FAIL (0 required, current state )
User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode - OK
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19042 N/A Build 19042
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.