Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0142ace72 | ||
|
|
97f2ad6e98 | ||
|
|
97e0711034 | ||
|
|
b832da622f | ||
|
|
f7361fdb72 | ||
|
|
f3cf1587e0 | ||
|
|
91ffd3af30 | ||
|
|
1ef581026f | ||
|
|
89fd09fc0e | ||
|
|
056a819470 | ||
|
|
e96f990c60 | ||
|
|
e591161dac | ||
|
|
d98f8a9916 | ||
|
|
144d516751 | ||
|
|
6f0629207a | ||
|
|
5f37ef4a80 | ||
|
|
d790118546 | ||
|
|
5ebb24b107 | ||
|
|
fae58d73c4 | ||
|
|
9e2989964e | ||
|
|
50be7390e5 | ||
|
|
8ab02ae756 | ||
|
|
7d1a03dcc9 | ||
|
|
5a4c9c883d | ||
|
|
5c104d02e2 | ||
|
|
06f33e88ba | ||
|
|
b9dee86694 | ||
|
|
3d1904ebbe | ||
|
|
70f1c50bdd | ||
|
|
2e5df82979 | ||
|
|
29595f90e2 | ||
|
|
9ed06e793a | ||
|
|
51cb3811dd | ||
|
|
975616b58f | ||
|
|
11783c75a8 | ||
|
|
13a18eeeb2 | ||
|
|
822003d87f | ||
|
|
c8c3c7869f | ||
|
|
157a66b14d | ||
|
|
9791386f53 | ||
|
|
c8e756dc11 | ||
|
|
9e21c8f4a7 | ||
|
|
8cd8679512 | ||
|
|
ac11c73b64 | ||
|
|
9d67514bf9 | ||
|
|
fea9f4e869 | ||
|
|
1aa0dd90ef | ||
|
|
90a19685f5 | ||
|
|
007995c112 | ||
|
|
0dcd361c51 | ||
|
|
aeaef46e30 | ||
|
|
e0dfeb4f4d | ||
|
|
1c7ee06bbe | ||
|
|
ed6de94c46 | ||
|
|
640b02868a | ||
|
|
29b269201d | ||
|
|
9fed8d1c4c | ||
|
|
4ae3549b8a | ||
|
|
e72ac75d13 | ||
|
|
9846dd7b49 | ||
|
|
466d32e690 | ||
|
|
dce1536be0 | ||
|
|
894d62ca68 | ||
|
|
27e590577b | ||
|
|
8147903ff2 | ||
|
|
7a72c73906 | ||
|
|
32891ada55 | ||
|
|
e2d6f8534e | ||
|
|
299b68e82d | ||
|
|
de6652adc0 | ||
|
|
727ba52a4d | ||
|
|
d45c62e470 | ||
|
|
492d5b57d7 | ||
|
|
58d37bb461 | ||
|
|
b72bfb03ba | ||
|
|
cc2be2d5e8 | ||
|
|
93dc23dd66 | ||
|
|
916dc761ba | ||
|
|
2cb20893fc | ||
|
|
c3b4f85fce | ||
|
|
104c763132 | ||
|
|
8062815655 | ||
|
|
58be808823 | ||
|
|
77dc64cbea | ||
|
|
72d47ba020 | ||
|
|
b6b479685a | ||
|
|
c7dfbeb7fe | ||
|
|
7c71a39f7a | ||
|
|
0c42b9e458 | ||
|
|
26f89adf95 | ||
|
|
5003f14e0a | ||
|
|
8b6098b36a | ||
|
|
1f0756336f | ||
|
|
0f39648de6 | ||
|
|
7f0d2183e3 | ||
|
|
6ae24d071d | ||
|
|
af900dab3a | ||
|
|
31425a5520 | ||
|
|
47f06e34e3 | ||
|
|
ae4c787545 | ||
|
|
b2a258a45f | ||
|
|
d7cc5981e0 | ||
|
|
9bfba35788 | ||
|
|
51d7350e35 | ||
|
|
652ea6368c | ||
|
|
57be85b566 | ||
|
|
376156f072 | ||
|
|
cc40fdf42a | ||
|
|
1b8a834d5d | ||
|
|
7ffb396786 | ||
|
|
1d4fa15f7e | ||
|
|
aefbf1a847 | ||
|
|
edca5207ec | ||
|
|
3307e88f2c | ||
|
|
36dc2e73ff | ||
|
|
c5ed3a9773 | ||
|
|
d268bb721b | ||
|
|
b9e324b01a | ||
|
|
910c9f698c | ||
|
|
dbab51061d | ||
|
|
8eadd527ad | ||
|
|
7745364e66 | ||
|
|
ac0982f9f5 | ||
|
|
298542e4f7 | ||
|
|
9d75eadf16 | ||
|
|
36f39091ec | ||
|
|
58a81b106c | ||
|
|
a280ddb1fa | ||
|
|
01c0e999c1 | ||
|
|
5efef2c0f3 | ||
|
|
ea1cff0724 | ||
|
|
09569162a1 | ||
|
|
bced250ae1 | ||
|
|
80aa6af30a | ||
|
|
5a233b3422 | ||
|
|
01ef78915a | ||
|
|
7dfebba70f | ||
|
|
0a018e0405 | ||
|
|
e50621a9dc | ||
|
|
3ef100a083 | ||
|
|
eebb56ac5a | ||
|
|
daf045390d | ||
|
|
6214012fd1 | ||
|
|
297b3079e5 | ||
|
|
9fdf944ef9 | ||
|
|
6b5a9bcb9b | ||
|
|
e4d305284b | ||
|
|
78593cc58d | ||
|
|
e83033a122 | ||
|
|
5832f0df81 | ||
|
|
26f3284919 | ||
|
|
1f8455e90d | ||
|
|
62c43e6e82 | ||
|
|
a1949ed917 | ||
|
|
74a3ddad1c | ||
|
|
d7b0389a93 | ||
|
|
23f197b644 | ||
|
|
b2eeda9eb2 | ||
|
|
ceec8aeb53 | ||
|
|
6b125346cd | ||
|
|
5f8e493536 | ||
|
|
4db0248911 | ||
|
|
2bee0d6f2c | ||
|
|
58df36841f | ||
|
|
5ba840f87f | ||
|
|
fe2dd829b8 | ||
|
|
5cdb6c6e22 | ||
|
|
4bda00ec2d | ||
|
|
462cc40a6a | ||
|
|
0e061692ba | ||
|
|
ffec7a8a8f | ||
|
|
6e4b1d26c6 | ||
|
|
32cec06ed6 | ||
|
|
a24193ce18 | ||
|
|
8f919be14b | ||
|
|
ad5d103df9 | ||
|
|
b5160d9e24 | ||
|
|
614eb949db | ||
|
|
d1edd5b2ba | ||
|
|
333937d2fa | ||
|
|
3ca87648b4 | ||
|
|
4894a545f0 | ||
|
|
9f55bced01 | ||
|
|
56e0541113 | ||
|
|
7607b92e21 | ||
|
|
153900a77b | ||
|
|
691224f465 | ||
|
|
893dca4055 | ||
|
|
2ebc9bd6c4 | ||
|
|
076ef02b2c | ||
|
|
c99114e9e1 | ||
|
|
9b72c1e2de | ||
|
|
b379574574 | ||
|
|
565597a906 | ||
|
|
62ccf80856 | ||
|
|
70cdacb9f9 | ||
|
|
459d0fd1b2 | ||
|
|
48e94f71bc | ||
|
|
2582f094ff | ||
|
|
5aa099f6e2 | ||
|
|
9d85eea4e5 | ||
|
|
c765ffb317 | ||
|
|
82f51b4bf1 | ||
|
|
d44c013464 | ||
|
|
753d47b9bc | ||
|
|
8034e85521 | ||
|
|
a09736f9a8 | ||
|
|
24aaf9a3cf | ||
|
|
f57b5f4ffa | ||
|
|
32d24c8024 | ||
|
|
743f9e3783 | ||
|
|
522c4471c0 | ||
|
|
ea698f3791 | ||
|
|
8ffd15c9f3 | ||
|
|
6c1cb0caab | ||
|
|
bcafbe6234 | ||
|
|
fb54380b8b | ||
|
|
39f26133f4 | ||
|
|
09695f10aa | ||
|
|
d1becc5310 | ||
|
|
543b8958ef | ||
|
|
c39c54c7c1 | ||
|
|
d8193fd8ac | ||
|
|
25adabd622 | ||
|
|
2d605f1875 | ||
|
|
d46d324df8 | ||
|
|
3e16817640 | ||
|
|
d0b91d190a | ||
|
|
bdbfdb6681 | ||
|
|
0154b749a4 | ||
|
|
e6e44e3e04 | ||
|
|
e6d8fdff75 | ||
|
|
6ba184bdeb | ||
|
|
6d6defc206 | ||
|
|
fa073f8475 | ||
|
|
63aecc0bee | ||
|
|
a0887783f8 | ||
|
|
f3880b66bb | ||
|
|
aa636926fa | ||
|
|
ec3166bdc6 | ||
|
|
a3f57532b6 | ||
|
|
3a7851b0f4 | ||
|
|
6fa73db245 | ||
|
|
184fe22a35 | ||
|
|
9d4613d838 | ||
|
|
10d83c5b20 | ||
|
|
4065759ca0 | ||
|
|
97d5f7b850 | ||
|
|
bf542af426 | ||
|
|
ea9c7de722 | ||
|
|
d2e5886b02 | ||
|
|
d43c26e314 | ||
|
|
4297d69f2c | ||
|
|
36e4b27872 | ||
|
|
ec5c7a4639 | ||
|
|
f2ca10e8c9 | ||
|
|
51cf62cdba | ||
|
|
415d1864d7 | ||
|
|
b463d9d460 | ||
|
|
8fa354dec2 | ||
|
|
683f9ee811 | ||
|
|
31d3c29447 | ||
|
|
68aa6e31bd | ||
|
|
cdf8727911 | ||
|
|
21273bd3a8 | ||
|
|
67910df019 | ||
|
|
dee694b166 | ||
|
|
87a5779f0b | ||
|
|
9d777842f7 | ||
|
|
99b7d94b08 | ||
|
|
f31e5eb2ac | ||
|
|
a8efcc9c96 | ||
|
|
747b6f8ca1 | ||
|
|
26959b0e63 | ||
|
|
c5fc9490a8 | ||
|
|
5902b0bd64 | ||
|
|
5dc8547dad | ||
|
|
d736bc4305 | ||
|
|
a4d0f36ed5 | ||
|
|
e1e077c69b | ||
|
|
8e2dc21823 | ||
|
|
8378fd5377 | ||
|
|
eb08eae357 | ||
|
|
4783e71750 | ||
|
|
805a004a3a | ||
|
|
780ea84e9e | ||
|
|
f47dcb01d2 | ||
|
|
4ab1681eb8 | ||
|
|
ed6ee897d5 | ||
|
|
5516be2464 | ||
|
|
9f972fdac1 | ||
|
|
c453f260cf | ||
|
|
98eba09986 | ||
|
|
61bce6afda | ||
|
|
419b150220 | ||
|
|
372fa0159a | ||
|
|
406d6fdfc4 | ||
|
|
e30c0a4c27 | ||
|
|
3d300f6634 | ||
|
|
a72c0770dd | ||
|
|
811cc126e6 | ||
|
|
3ceea1b9c1 | ||
|
|
0cd971d992 | ||
|
|
e077fc7e21 | ||
|
|
0abac833ce | ||
|
|
a0fdf2cb80 | ||
|
|
b8f1671ff7 | ||
|
|
0536047200 | ||
|
|
2a4bff017d | ||
|
|
68d6ca7edc | ||
|
|
00fbd0e86d | ||
|
|
c24ea5e53b | ||
|
|
786c7c677d | ||
|
|
c9e9214fd6 | ||
|
|
b7f6a8cebe | ||
|
|
355bd17b88 | ||
|
|
6198bb2cdd | ||
|
|
6a495411e8 | ||
|
|
8f830a59df | ||
|
|
e4dd305084 | ||
|
|
01c808ab42 | ||
|
|
d2c9bc8751 | ||
|
|
7f105a58bb | ||
|
|
838b0c1a1b | ||
|
|
e0118aabe5 | ||
|
|
9535302e6d | ||
|
|
1eba305fab | ||
|
|
74f990028f | ||
|
|
e94742a77d | ||
|
|
fb6ef49a83 | ||
|
|
ab00ff2710 | ||
|
|
50d8a8656b | ||
|
|
1cd918cbe1 | ||
|
|
bc2f6ce8f7 | ||
|
|
c1fe9c6b88 | ||
|
|
d0899b4f29 | ||
|
|
3c8459f31f | ||
|
|
0c38d420ee | ||
|
|
e63d75e398 | ||
|
|
01d24bdf31 | ||
|
|
12abc7f281 | ||
|
|
10906e037e | ||
|
|
b43a712e9b | ||
|
|
ed74dc51b5 | ||
|
|
6b83f1da51 | ||
|
|
24c6706ab2 | ||
|
|
f4703284ef | ||
|
|
0028e439b5 | ||
|
|
37529a5659 | ||
|
|
2dbf3d71c0 | ||
|
|
ef226ac272 | ||
|
|
1f7f653568 | ||
|
|
9bd5a2541d | ||
|
|
c2dbcda2d5 | ||
|
|
0bd333dd47 | ||
|
|
6188447348 | ||
|
|
edfed488e8 | ||
|
|
8d1f7d509a | ||
|
|
0a642be3b4 | ||
|
|
d3f9584892 | ||
|
|
a05034381d | ||
|
|
b1d4eb022c | ||
|
|
3dbd993cb4 | ||
|
|
ec17c085df | ||
|
|
7da4e78d4b | ||
|
|
1943b30ec9 | ||
|
|
6df8ae900c | ||
|
|
a16f4b7d07 | ||
|
|
adaab0ab36 | ||
|
|
c270d25460 | ||
|
|
2bb007b6ff | ||
|
|
34f29dd04c | ||
|
|
ccb43bfe91 | ||
|
|
1d401b2e02 | ||
|
|
d8f6a8c50b | ||
|
|
3da0221fb4 | ||
|
|
a30664002b | ||
|
|
5e78391518 | ||
|
|
2d2497408f | ||
|
|
d2dbf03572 | ||
|
|
88c68fd411 | ||
|
|
e82aaf03f0 | ||
|
|
9a77fed09b | ||
|
|
336ac6fb8f | ||
|
|
72ad35bbd8 | ||
|
|
df17ca4695 | ||
|
|
7f46e8d60d | ||
|
|
9769cafa7d | ||
|
|
42dfc8c82b | ||
|
|
d13295bdd8 | ||
|
|
5fc566b46f | ||
|
|
b493737982 | ||
|
|
7ceb303f00 | ||
|
|
30c9812d37 | ||
|
|
ddc10b0935 | ||
|
|
a2e2395ce9 | ||
|
|
ce5e407a76 | ||
|
|
3fb5c04693 | ||
|
|
58dacd5b0b | ||
|
|
14ad9f7fea | ||
|
|
52afab2252 | ||
|
|
2ba3a5d324 | ||
|
|
f854d14117 | ||
|
|
19204534a2 | ||
|
|
a9d9b148db | ||
|
|
d5d0bf25f0 | ||
|
|
da3fd87f9a | ||
|
|
9e8cefc973 | ||
|
|
a532e9ec9d | ||
|
|
844979fee7 | ||
|
|
78302934ef | ||
|
|
349889b194 | ||
|
|
c619f3a830 | ||
|
|
d005a225a2 | ||
|
|
e79e946e76 | ||
|
|
3b957e1a77 | ||
|
|
d078d67b1d | ||
|
|
191fe95572 | ||
|
|
d10c9413ac | ||
|
|
e93753e5c9 | ||
|
|
5eec99df1c | ||
|
|
7e2ba41b8b | ||
|
|
d3dc3e7976 | ||
|
|
5a4d822710 | ||
|
|
2625478ef3 | ||
|
|
956a544c2e | ||
|
|
50dbf5bd05 | ||
|
|
338c3e7e57 | ||
|
|
1a0e084d7e | ||
|
|
89147414a0 | ||
|
|
ae4b3f3ac7 | ||
|
|
043ec9abe0 | ||
|
|
5c92fcbde5 | ||
|
|
b1094c9177 | ||
|
|
9ab1c6bbd3 | ||
|
|
97d3ada895 | ||
|
|
8212b3ed5e | ||
|
|
d410667c6d | ||
|
|
e51e345438 | ||
|
|
3404f185f1 | ||
|
|
f15c212df5 | ||
|
|
152c157b51 | ||
|
|
80e54a0ea5 | ||
|
|
7fb1643378 | ||
|
|
f6c0c9682c | ||
|
|
b7ef73cb10 | ||
|
|
0b76ab3aa4 | ||
|
|
436e3c353e | ||
|
|
50ca97575b | ||
|
|
618561e5cf | ||
|
|
725244c28e | ||
|
|
d4c768315b | ||
|
|
e909d1a847 | ||
|
|
dcfa68476a | ||
|
|
60d31a1fe0 | ||
|
|
5476cd928f | ||
|
|
84f2046912 | ||
|
|
586fd56603 | ||
|
|
70a94abe02 | ||
|
|
0e41122d89 | ||
|
|
4e7416a2dc | ||
|
|
61a6265cf9 | ||
|
|
5582c3cb44 | ||
|
|
08b24c7187 | ||
|
|
5fcc288037 | ||
|
|
8e8b0bb296 | ||
|
|
be8d20d478 | ||
|
|
9b03b94435 | ||
|
|
9d841687e3 | ||
|
|
20046d4b73 | ||
|
|
b2ccb3669b | ||
|
|
aaed116798 | ||
|
|
354b09ec0d | ||
|
|
cfde1b5a92 | ||
|
|
4ebe1a3535 | ||
|
|
6708756574 | ||
|
|
301059fd3f | ||
|
|
df8d92cf11 | ||
|
|
6cda509604 | ||
|
|
8a8fed517c | ||
|
|
681f0ec3b9 | ||
|
|
4a31af4faf | ||
|
|
4ddb2795ff | ||
|
|
d5b5784492 | ||
|
|
15d0b42165 | ||
|
|
8fc7d30112 | ||
|
|
a12ea71adb | ||
|
|
b00c7b1ea2 | ||
|
|
ef29ab9ffc | ||
|
|
7219329d2c | ||
|
|
27b0a59abb | ||
|
|
457f1820c4 | ||
|
|
414cd139e2 | ||
|
|
e68e190ff3 | ||
|
|
86097572b0 | ||
|
|
94d45a30fa | ||
|
|
fcc5481477 | ||
|
|
ac116d7083 | ||
|
|
68ab69a19c | ||
|
|
29efb989bd | ||
|
|
99eb70d81b | ||
|
|
9013753d88 | ||
|
|
8ad96a9b6e | ||
|
|
8ed3a31424 | ||
|
|
424d4030c1 | ||
|
|
f88c9be70d | ||
|
|
bc4cd84127 | ||
|
|
54b4bcdda1 | ||
|
|
c5c23d8d18 | ||
|
|
28e84af33d | ||
|
|
832af914e9 | ||
|
|
6d9ed9026d | ||
|
|
9e877afe0e | ||
|
|
0c0ced381a | ||
|
|
8ebd127857 | ||
|
|
25a392877f | ||
|
|
ef2c91b616 | ||
|
|
b52ead87f4 | ||
|
|
2dcfc2b109 | ||
|
|
59a9c59064 | ||
|
|
fcc57fde50 | ||
|
|
06e5477d0e | ||
|
|
a5271597e9 | ||
|
|
d841792f8d | ||
|
|
132260ab96 | ||
|
|
919b2e0b8f | ||
|
|
22e083182d | ||
|
|
2ec37f952a | ||
|
|
aa719b49bf | ||
|
|
e9a6cd32d8 | ||
|
|
b02c7f3eab | ||
|
|
eb29dfced8 | ||
|
|
f9b01fdc81 | ||
|
|
61a80e270d | ||
|
|
a31c9cb235 | ||
|
|
2587a98848 | ||
|
|
a5cf3a2ba7 | ||
|
|
f59598cf07 | ||
|
|
66eaaaf9bf | ||
|
|
1b19311c2e | ||
|
|
e193eca64d | ||
|
|
df0b511a24 | ||
|
|
a017854a55 | ||
|
|
85f652ad6f | ||
|
|
38cec9bf3f | ||
|
|
a20719b65b | ||
|
|
148360305c | ||
|
|
644fa3975a | ||
|
|
2e4124b903 | ||
|
|
fac0d359f1 | ||
|
|
fe28e4064f | ||
|
|
1734241568 | ||
|
|
e008f63674 | ||
|
|
3af367ca28 | ||
|
|
ea8e178964 | ||
|
|
79ee9db8fe | ||
|
|
3c87c3bc53 | ||
|
|
eec16bdce5 | ||
|
|
1b99f13e5c | ||
|
|
a9968e2247 | ||
|
|
2f11d9b1c2 | ||
|
|
140280ddaa | ||
|
|
fde215f42d | ||
|
|
690c54888e | ||
|
|
c3216c6800 | ||
|
|
da989051db | ||
|
|
52a97dae09 | ||
|
|
cd3fc2b698 | ||
|
|
927fe24415 | ||
|
|
188f37a447 | ||
|
|
1082a93813 | ||
|
|
9a91da12d4 | ||
|
|
075572d415 | ||
|
|
da07c2040b | ||
|
|
172d107e56 | ||
|
|
fae64c0406 | ||
|
|
cfe20ccb0a | ||
|
|
158fabd31e | ||
|
|
69d8649986 | ||
|
|
63eeab0b19 | ||
|
|
1b78cd1316 | ||
|
|
a1907f5dee | ||
|
|
be415051ca | ||
|
|
80c15557d4 | ||
|
|
a587bc60c4 | ||
|
|
c71fad54dc | ||
|
|
4eb76a9099 | ||
|
|
95d8660b3a | ||
|
|
4bd25e62e1 | ||
|
|
da6b105573 | ||
|
|
64022cc08d | ||
|
|
401f7f384a | ||
|
|
e2efb3a483 | ||
|
|
4dc0fd6a6e | ||
|
|
f671ad4518 | ||
|
|
c2cb00fc68 | ||
|
|
7503444e2b | ||
|
|
80ab6ba005 | ||
|
|
2e0073af75 | ||
|
|
3cb0a4b664 | ||
|
|
e9b40ae710 | ||
|
|
408327daec | ||
|
|
7f7424406f | ||
|
|
ccc44414a2 | ||
|
|
06ea48dd01 | ||
|
|
5a6b1ef086 | ||
|
|
aba3d786bc | ||
|
|
7765c1032b | ||
|
|
015f1b0709 | ||
|
|
19b6f8abfa | ||
|
|
80e872aa60 | ||
|
|
cfaf139a6a | ||
|
|
becfba603d | ||
|
|
2b68976e7b | ||
|
|
5369d9d99b | ||
|
|
8b3e1280df | ||
|
|
ce77be324b | ||
|
|
6168e93d4c | ||
|
|
d98118e322 | ||
|
|
f69f107d9d | ||
|
|
f3c3613d26 | ||
|
|
b265675560 | ||
|
|
e0237642c8 | ||
|
|
aedaa2f789 | ||
|
|
8c2f9075a0 | ||
|
|
c9e6861ad4 | ||
|
|
43ec73684e | ||
|
|
bfbb643543 | ||
|
|
067ec31086 | ||
|
|
63221a7cb9 | ||
|
|
7e40d379d8 | ||
|
|
c766c974cf | ||
|
|
7d2804c706 | ||
|
|
2ee9047dd6 | ||
|
|
21c49d6a75 | ||
|
|
351a77043e | ||
|
|
c8bb38f3a9 | ||
|
|
5fb5e43cc7 | ||
|
|
eeb410e985 | ||
|
|
8eaf6ddd9c | ||
|
|
3c54e0ea3f | ||
|
|
d17e8bcd98 | ||
|
|
ef1fc2ae59 | ||
|
|
7d1fb52277 | ||
|
|
95988fca80 | ||
|
|
451040b5b1 | ||
|
|
47cb6b9273 | ||
|
|
69233b1d8a | ||
|
|
b621d9104e | ||
|
|
1f81eec8f1 | ||
|
|
72cbdca556 | ||
|
|
d5127b14a3 | ||
|
|
e2c84d9834 | ||
|
|
c454c93563 | ||
|
|
70b1274425 | ||
|
|
3b26620627 | ||
|
|
eeee941eb3 | ||
|
|
242fa6f210 | ||
|
|
634ef3266c | ||
|
|
a87c301636 | ||
|
|
674d1368bb | ||
|
|
c7495059fd | ||
|
|
dff974144f | ||
|
|
7db0b8a857 | ||
|
|
af7030d536 | ||
|
|
40b2894ed1 | ||
|
|
92728e65fd | ||
|
|
a6daeccb8c | ||
|
|
4eee519e76 | ||
|
|
54e367a13b | ||
|
|
e2e9089d6f | ||
|
|
aa1b1d2c18 | ||
|
|
0cf4a1fae8 | ||
|
|
c8dfc529d6 | ||
|
|
88ec1eddf8 | ||
|
|
a6e9e096ef | ||
|
|
0ee064c191 | ||
|
|
ff0ca400ed | ||
|
|
94d7bb719e | ||
|
|
8622892827 | ||
|
|
af09bcbf0b | ||
|
|
e2732da2db | ||
|
|
3bd6003171 | ||
|
|
a921d0c6fa | ||
|
|
01c8739a8b | ||
|
|
9ce598fbeb | ||
|
|
965d9e0394 | ||
|
|
2b9e277b10 | ||
|
|
5144551b52 | ||
|
|
91ab12dd7f | ||
|
|
fdee2ea898 | ||
|
|
5ebd27da7e | ||
|
|
f6030eec0b | ||
|
|
9403b95067 | ||
|
|
cdd43f5e36 | ||
|
|
cae497b2fe | ||
|
|
c740186232 | ||
|
|
e6263afb59 | ||
|
|
122a07d71b | ||
|
|
a669c455eb | ||
|
|
c983ec2253 | ||
|
|
aec16d84ab | ||
|
|
ba951244d9 | ||
|
|
9d3c7736b8 | ||
|
|
cea4e088cf | ||
|
|
32a4311901 | ||
|
|
ff95b35f24 | ||
|
|
aea9c2cb47 | ||
|
|
7fa0594267 | ||
|
|
5e65505007 | ||
|
|
686e65adcb | ||
|
|
1935375f88 | ||
|
|
069a1bda2f | ||
|
|
661dfa6318 | ||
|
|
d6b78d1d06 | ||
|
|
51f15a03c2 | ||
|
|
ce91307daf | ||
|
|
8fe09d0054 | ||
|
|
e74258acf4 | ||
|
|
28958938fc | ||
|
|
91de389c8f | ||
|
|
6b22c63d28 | ||
|
|
faa4701c43 | ||
|
|
cda2babc66 | ||
|
|
0e83879c64 | ||
|
|
00c295e8d5 | ||
|
|
4be99d5f8a | ||
|
|
febae28095 | ||
|
|
0a77838689 | ||
|
|
cccd4298ad | ||
|
|
bc7afe8b2a | ||
|
|
18de3d59ee | ||
|
|
59d968e7c4 | ||
|
|
afe85ad7f0 | ||
|
|
efb9e5bde6 | ||
|
|
56eba47a6c | ||
|
|
e57cde423c | ||
|
|
de9b643129 | ||
|
|
e430e0aad0 | ||
|
|
61fd4d2f91 | ||
|
|
b72cd83189 | ||
|
|
290292ec94 | ||
|
|
d22865d79b | ||
|
|
5c5b999a09 | ||
|
|
0c0e6bd243 | ||
|
|
dd06489d63 | ||
|
|
41df9d3d88 | ||
|
|
63d56bcac9 | ||
|
|
962b18e8fa | ||
|
|
14e761f438 | ||
|
|
3e416f5c14 | ||
|
|
95d28ee25d | ||
|
|
50071067b7 | ||
|
|
3b7d707262 | ||
|
|
ea95dac426 | ||
|
|
b4d3368680 | ||
|
|
0b5c44cbcf | ||
|
|
b8b16be24b | ||
|
|
14943e3c55 | ||
|
|
91365d50b5 | ||
|
|
82b6c268b0 | ||
|
|
d8c007d2db | ||
|
|
48f1c71584 | ||
|
|
f770642a6a | ||
|
|
963c0a17aa | ||
|
|
20769f66a1 | ||
|
|
86459b7e24 | ||
|
|
89919494e5 | ||
|
|
5f6bdb2e48 | ||
|
|
f614eea435 | ||
|
|
82447a1e7b | ||
|
|
51424abfad | ||
|
|
3caa3be9a3 | ||
|
|
7769a328bb | ||
|
|
425f11d787 | ||
|
|
6df94df594 | ||
|
|
29e2c4d197 | ||
|
|
b63a17b7dd | ||
|
|
abe059917c | ||
|
|
698f1644c3 | ||
|
|
fd03f33c50 | ||
|
|
8f9e7d1b7c | ||
|
|
b3dd1a1a50 | ||
|
|
4acad32a38 | ||
|
|
0f4fca31b9 | ||
|
|
36c984b66c | ||
|
|
d215d0fc2c |
@@ -1,59 +1,6 @@
|
|||||||
# This is a comment.
|
# Chris rules EVERYTHING (including paths listed below)
|
||||||
# Each line is a file pattern followed by one or more owners.
|
|
||||||
|
|
||||||
# These owners will be the default owners for everything in
|
|
||||||
# the repo. Unless a later match takes precedence,
|
|
||||||
# @global-owner1 and @global-owner2 will be requested for
|
|
||||||
# review when someone opens a pull request.
|
|
||||||
* @ChrisTitusTech
|
* @ChrisTitusTech
|
||||||
|
|
||||||
# Order is important; the last matching pattern takes the most
|
# Seanh1917 (ANGRYxScotsmans) is the docs guy
|
||||||
# precedence. When someone opens a pull request that only
|
docs/ @ChrisTitusTech @seanh1995
|
||||||
# modifies JS files, only @js-owner and not the global
|
tools/devdocs-generator.* @ChrisTitusTech @seanh1995
|
||||||
# owner(s) will be requested for a review.
|
|
||||||
# *.js @js-owner #This is an inline comment.
|
|
||||||
|
|
||||||
# You can also use email addresses if you prefer. They'll be
|
|
||||||
# used to look up users just like we do for commit author
|
|
||||||
# emails.
|
|
||||||
# *.go docs@example.com
|
|
||||||
|
|
||||||
# Teams can be specified as code owners as well. Teams should
|
|
||||||
# be identified in the format @org/team-name. Teams must have
|
|
||||||
# explicit write access to the repository. In this example,
|
|
||||||
# the octocats team in the octo-org organization owns all .txt files.
|
|
||||||
# *.txt @octo-org/octocats
|
|
||||||
|
|
||||||
# In this example, @doctocat owns any files in the build/logs
|
|
||||||
# directory at the root of the repository and any of its
|
|
||||||
# subdirectories.
|
|
||||||
# /build/logs/ @doctocat
|
|
||||||
|
|
||||||
# The `docs/*` pattern will match files like
|
|
||||||
# `docs/getting-started.md` but not further nested files like
|
|
||||||
# `docs/build-app/troubleshooting.md`.
|
|
||||||
# docs/* docs@example.com
|
|
||||||
|
|
||||||
# In this example, @octocat owns any file in an apps directory
|
|
||||||
# anywhere in your repository.
|
|
||||||
# apps/ @octocat
|
|
||||||
|
|
||||||
# In this example, @doctocat owns any file in the `/docs`
|
|
||||||
# directory in the root of your repository and any of its
|
|
||||||
# subdirectories.
|
|
||||||
# /docs/ @doctocat
|
|
||||||
|
|
||||||
# In this example, any change inside the `/scripts` directory
|
|
||||||
# will require approval from @doctocat or @octocat.
|
|
||||||
# /scripts/ @doctocat @octocat
|
|
||||||
|
|
||||||
# In this example, @octocat owns any file in a `/logs` directory such as
|
|
||||||
# `/build/logs`, `/scripts/logs`, and `/deeply/nested/logs`. Any changes
|
|
||||||
# in a `/logs` directory will require approval from @octocat.
|
|
||||||
# **/logs @octocat
|
|
||||||
|
|
||||||
# In this example, @octocat owns any file in the `/apps`
|
|
||||||
# directory in the root of your repository except for the `/apps/github`
|
|
||||||
# subdirectory, as its owners are left empty.
|
|
||||||
# /apps/ @octocat
|
|
||||||
# /apps/github
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Our Pledge
|
## Our Pledge
|
||||||
|
|
||||||
We as members, contributors, and leaders pledge to make participation in our
|
We, as members, contributors, and leaders, pledge to make participation in our
|
||||||
community a harassment-free experience for everyone, regardless of age, body
|
community a harassment-free experience for everyone, regardless of age, body
|
||||||
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||||
identity and expression, level of experience, education, socio-economic status,
|
identity and expression, level of experience, education, socio-economic status,
|
||||||
|
|||||||
@@ -5,13 +5,13 @@
|
|||||||
* Test the latest changes to WinUtil by running the pre-release and reporting issues you are encountering to help us continually improve WinUtil!
|
* Test the latest changes to WinUtil by running the pre-release and reporting issues you are encountering to help us continually improve WinUtil!
|
||||||
|
|
||||||
#### **Run the latest pre-release**
|
#### **Run the latest pre-release**
|
||||||
```ps1
|
|
||||||
irm https://christitus.com/windev | iex
|
|
||||||
```
|
|
||||||
|
|
||||||
!!! bug "Keep in mind"
|
```ps1
|
||||||
|
irm https://christitus.com/windev | iex
|
||||||
|
```
|
||||||
|
|
||||||
This is a pre-release and should be treated as such. It exists for developers to test the utility and report or fix bugs before they get added to the stable release. Don't use it in production!
|
> [!CAUTION]
|
||||||
|
> **Keep in mind:** This is a pre-release and should be treated as such. It exists for developers to test the utility and report or fix bugs before they get added to the stable release. Don't use it in production!
|
||||||
|
|
||||||
## Issues
|
## Issues
|
||||||
|
|
||||||
@@ -21,19 +21,19 @@
|
|||||||
|
|
||||||
* Pull requests are now handled directly on the **MAIN branch**. This was done since we can now select specific releases to launch via releases in GitHub.
|
* Pull requests are now handled directly on the **MAIN branch**. This was done since we can now select specific releases to launch via releases in GitHub.
|
||||||
|
|
||||||
* If you're doing code changes, then you can submit a PR to `main` branch, but I am very selective about these.
|
* If you're doing code changes, then you can submit a PR to the `main` branch.
|
||||||
|
|
||||||
!!! warning "Important"
|
> [!IMPORTANT]
|
||||||
|
> Do not use a code formatter, make massive amounts of line changes, or make multiple feature changes. EACH FEATURE CHANGE SHOULD BE ITS OWN PULL REQUEST!
|
||||||
Do not use a code formatter, make massive amounts of line changes, or make multiple feature changes. EACH FEATURE CHANGE SHOULD BE IT'S OWN PULL REQUEST!
|
>
|
||||||
|
> Do not open a pull request that adds support for other languages to WinUtil for now, until we decide how we want to move forward with language support.
|
||||||
|
|
||||||
* When creating pull requests, it is essential to thoroughly document all changes made. This includes, but is not limited to, documenting any additions made to the `tweaks` section and corresponding `undo tweak`, so users are able to remove the newly added tweaks if necessary, and comprehensive documentation is required for all code changes. Document your changes and briefly explain why you made your changes in your Pull Request Description. Failure to adhere to this format may result in the denial of the pull request. Additionally, any code lacking sufficient documentation may also be denied.
|
* When creating pull requests, it is essential to thoroughly document all changes made. This includes, but is not limited to, documenting any additions made to the `tweaks` section and corresponding `undo tweak`, so users are able to remove the newly added tweaks if necessary, and comprehensive documentation is required for all code changes. Document your changes and briefly explain why you made your changes in your Pull Request Description. Failure to adhere to this format may result in the denial of the pull request. Additionally, any code lacking sufficient documentation may also be denied.
|
||||||
|
|
||||||
* By following these guidelines, we can maintain a high standard of quality and ensure that the codebase remains organized and well-documented.
|
* By following these guidelines, we can maintain a high standard of quality and ensure that the codebase remains organized and well-documented.
|
||||||
|
|
||||||
!!! note
|
> [!NOTE]
|
||||||
|
> When creating a function, please include "WPF" or "WinUtil" in the file name so it can be loaded into the runspace.
|
||||||
When creating a function, please include "WPF" or "WinUtil" in the file name so it can be loaded into the runspace.
|
|
||||||
|
|
||||||
## Walk through
|
## Walk through
|
||||||
|
|
||||||
@@ -45,37 +45,34 @@
|
|||||||
|
|
||||||
### Overview
|
### Overview
|
||||||
|
|
||||||
``` mermaid
|
```mermaid
|
||||||
%%{init: {"flowchart": {"curve": "cardinal"}} }%%
|
%%{init: {"flowchart": {"curve": "cardinal"}} }%%
|
||||||
graph TD
|
graph TD
|
||||||
A[Fork Project] --> B[Clone Repository];
|
A[Fork Project] --> B[Clone Repository];
|
||||||
B --> C[Create New Branch];
|
B --> C[Create New Branch];
|
||||||
C --> D[Make Changes];
|
C --> D[Make Changes];
|
||||||
D --> G[Test Changes];
|
D --> G[Test Changes];
|
||||||
G --> H{Tests Passed?};
|
G --> H{Tests Passed?};
|
||||||
H -->|Yes| E[Commit Changes];
|
H -->|Yes| E[Commit Changes];
|
||||||
H -->|No| J[Fix Issues];
|
H -->|No| J[Fix Issues];
|
||||||
J --> G;
|
J --> G;
|
||||||
E --> F[Push Branch];
|
E --> F[Push Branch];
|
||||||
F --> K[Create Pull Request];
|
F --> K[Create Pull Request];
|
||||||
K --> L[Fill out PR template];
|
K --> L[Fill out PR template];
|
||||||
classDef default stroke:#333,stroke-width:4px,font-size:12pt;
|
classDef default stroke:#333,stroke-width:4px,font-size:12pt;
|
||||||
```
|
```
|
||||||
!!! info
|
|
||||||
|
|
||||||
This is a diagram to guide you through the process. It may vary depending on the type of change you're making.
|
> [!NOTE]
|
||||||
|
> This is a diagram to guide you through the process. It may vary depending on the type of change you're making.
|
||||||
|
|
||||||
### Fork the Repo
|
### Fork the Repo
|
||||||
* Fork the WinUtil Repository [here](https://github.com/ChrisTitusTech/winutil) to create a copy that will be available in your repository list.
|
* Fork the WinUtil Repository [here](https://github.com/ChrisTitusTech/winutil) to create a copy that will be available in your repository list.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### Clone the Fork
|
### Clone the Fork
|
||||||
!!! tip
|
> [!TIP]
|
||||||
|
> While you can make your changes directly through the Web, we recommend cloning the repo to your device using the application GitHub Desktop (available in WinUtil) to test your fork easily.
|
||||||
While you can make your changes directly through the Web, we recommend cloning the repo to your device using the application GitHub Desktop (available in WinUtil) to test your fork easily.
|
|
||||||
|
|
||||||
* Install GitHub Desktop if it is not already installed.
|
* Install GitHub Desktop if it is not already installed.
|
||||||
* Log in using the same GitHub account you used to fork WinUtil.
|
* Log in using the same GitHub account you used to fork WinUtil.
|
||||||
@@ -87,31 +84,35 @@ graph TD
|
|||||||
|
|
||||||
### Testing your changes
|
### Testing your changes
|
||||||
|
|
||||||
* To test to see if your changes work as intended run following commands in a powershell teminal as admin:
|
* To test to see if your changes work as intended, run the following commands in a PowerShell terminal as admin:
|
||||||
|
|
||||||
* Change the directory where you are running the commands to the forked project.
|
* Change the directory where you are running the commands to the forked project.
|
||||||
* `cd {path to the folder with the compile.ps1}`
|
* `cd {path to the folder with the compile.ps1}`
|
||||||
* Run the following command to compile and run WinUtil:
|
* Run the following command to compile and run WinUtil:
|
||||||
* `.\Compile.ps1 -run`
|
* `.\Compile.ps1 -run`
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
Open PowerShell as Administrator.
|
||||||
|
|
||||||
* After seeing that your changes work properly, feel free to commit the changes to the repository and make a PR. For help on that, follow the documentation below.
|
* After seeing that your changes work properly, feel free to commit the changes to the repository and make a PR. For help on that, follow the documentation below.
|
||||||
|
|
||||||
|
|
||||||
### Committing the changes
|
### Committing the changes
|
||||||
* Before committing your changes, please discard changes made to the `winutil.ps1` file, like the following:
|
* Before committing your changes, please discard changes made to the `winutil.ps1` file, like the following:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Now, commit your changes once you are happy with the result.
|
* Now, commit your changes once you are happy with the result.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Push the changes to upload them to your fork on github.com.
|
* Push the changes to upload them to your fork on GitHub.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Making a PR
|
### Making a PR
|
||||||
* To make a PR on your repo under a new branch linking to the main branch, a button will show and say Preview and Create pull request. Click that button and fill in all the information that is provided on the template. Once all the information is filled in correctly, check your PR to make sure there is not a WinUtil.ps1 file attached to the PR. Once everything is good, make the PR and wait for Chris (the maintainer) to accept or deny your PR. Once it is accepted by Chris, you will be able to see your changes in the "/windev" build.
|
* To make a PR on your repo under a new branch linking to the main branch, a button will show and say Preview and Create pull request. Click that button and fill in all the information that is provided on the template. Once all the information is filled in correctly, check your PR to make sure there is no WinUtil.ps1 file attached to the PR. Once everything is good, make the PR and wait for Chris (the maintainer) to accept or deny your PR. Once it is accepted by Chris, you will be able to see your changes in the "/windev" build.
|
||||||
* If you do not see your feature in the main "/win" build, that is fine. All new changes go into the /windev build to make sure everything is working OK before going fully public.
|
* If you do not see your feature in the main "/win" build, that is fine. All new changes go into the /windev build to make sure everything is working OK before going fully public.
|
||||||
* Congratulations! You just submitted your first PR. Thank you so much for contributing to WinUtil.
|
* Congratulations! You just submitted your first PR. Thank you so much for contributing to WinUtil.
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
title: "[App Suggestion] "
|
||||||
|
body:
|
||||||
|
- type: input
|
||||||
|
attributes:
|
||||||
|
label: "Application Link"
|
||||||
|
description: "Provide a link where this application can downloaded officially"
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: "Rules Checklist"
|
||||||
|
description: "You should agree with next rules"
|
||||||
|
options:
|
||||||
|
- label: "This application is popular enough, so is not considered as niche"
|
||||||
|
required: true
|
||||||
|
- label: "This application is not considered bloatware"
|
||||||
|
required: true
|
||||||
|
- label: "This application is free to access"
|
||||||
|
required: true
|
||||||
|
- label: "This application should be included on majority of fresh installed systems"
|
||||||
|
required: true
|
||||||
|
- label: "This application is present on WinGet (check winstall.app or do 'winget search your-app' in terminal)"
|
||||||
|
required: true
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: "Check for denied applications"
|
||||||
|
options:
|
||||||
|
- label: "Yes, I checked PRs, issues and discussions for existing suggestions and their result"
|
||||||
|
required: true
|
||||||
|
|
||||||
@@ -6,57 +6,55 @@ body:
|
|||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
# 🐞 **Issue Report**
|
- Remember, we only support Windows 11. If you encounter problems on Windows 10, please consider upgrading to Windows 11.
|
||||||
Thank you for taking the time to report an issue! Please provide as much detail as possible to help us address the problem efficiently.
|
- For general questions, join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
||||||
|
|
||||||
## ⚠️ **IMPORTANT**
|
|
||||||
- 🛠️ **Supported environments only:** We only support Windows 11. Custom ISOs that are not made using Microwin are not supported.
|
|
||||||
- 💡 For general questions, use the [Discussions section](https://github.com/Christitustech/winutil/discussions) or join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
|
||||||
|
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
|
id: read_issues
|
||||||
attributes:
|
attributes:
|
||||||
label: ⚙️ Issue Checklist
|
label: "I have read the known issues"
|
||||||
|
description: "You [better do](https://winutil.christitus.com/knownissues/), cause your issue can be already there"
|
||||||
options:
|
options:
|
||||||
- label: I have read the guidelines.
|
- label: Yes, I did
|
||||||
- label: I checked for duplicate issues.
|
|
||||||
- label: I searched for existing discussions.
|
|
||||||
- label: I checked for an existing pull request that addresses this issue.
|
|
||||||
validations:
|
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: input
|
- type: input
|
||||||
id: affected_part
|
id: winutil_version
|
||||||
attributes:
|
attributes:
|
||||||
label: 📜 What part of Winutil are you having issues with?
|
label: "Version of WinUtil"
|
||||||
placeholder: "e.g., Microwin, Tweaks, etc."
|
description: "Provide a version that you are using when issue submitted (it can be found in right corner of app)"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
- type: dropdown
|
||||||
|
id: affected_part
|
||||||
|
attributes:
|
||||||
|
label: What part of WinUtil are you having issues with?
|
||||||
|
options:
|
||||||
|
- Program Install Tab
|
||||||
|
- Tweaks Tab
|
||||||
|
- Config Tab
|
||||||
|
- Updates Tab
|
||||||
|
- Win11 Creator Tab
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: issue_description
|
id: issue_description
|
||||||
attributes:
|
attributes:
|
||||||
label: 📝 Provide a clear and concise description of the issue.
|
label: Provide a clear and concise description of the issue.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: steps_to_reproduce
|
id: tweaks_applied
|
||||||
attributes:
|
attributes:
|
||||||
label: 🔄 Steps to reproduce the issue.
|
label: List the tweaks you applied before the issue occurred.
|
||||||
placeholder: "e.g., Step 1: ..., Step 2: ..."
|
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: false
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: error_output
|
id: error_output
|
||||||
attributes:
|
attributes:
|
||||||
label: ❌ Paste the full error output (if available).
|
label: Paste the full error output (if available) or Screenshot or Video.
|
||||||
placeholder: "Include any relevant logs or error messages."
|
placeholder: "Include any relevant logs or error messages."
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: additional_context
|
|
||||||
attributes:
|
|
||||||
label: 🖼️ Additional context.
|
|
||||||
placeholder: "Include screenshots, code blocks (use triple backticks ```), or any other relevant information."
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|||||||
@@ -2,4 +2,7 @@ blank_issues_enabled: false
|
|||||||
contact_links:
|
contact_links:
|
||||||
- name: 💻 Community Discord
|
- name: 💻 Community Discord
|
||||||
url: https://discord.gg/RUbZUZyByQ
|
url: https://discord.gg/RUbZUZyByQ
|
||||||
about: Join our Community Discord server to chat with other users in the Winutil community.
|
about: Join our Community Discord server to chat with other users in the WinUtil community.
|
||||||
|
- name: Suggest an application
|
||||||
|
url: https://github.com/ChrisTitusTech/winutil/discussions/new?category=app-suggestion
|
||||||
|
about: If you want to suggest an application to be added, create a discussion with given template
|
||||||
|
|||||||
@@ -11,47 +11,12 @@ body:
|
|||||||
|
|
||||||
## ⚠️ **IMPORTANT**
|
## ⚠️ **IMPORTANT**
|
||||||
- 🛠️ **Supported environments only:** We only support Windows 11.
|
- 🛠️ **Supported environments only:** We only support Windows 11.
|
||||||
- 💡 For general questions, use the [Discussions section](https://github.com/Christitustech/winutil/discussions) or join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
- 💡 For general questions, use the [Discussions section](https://github.com/ChrisTitusTech/winutil/discussions) or join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
||||||
|
|
||||||
- type: checkboxes
|
|
||||||
attributes:
|
|
||||||
label: ⚙️ Issue Checklist
|
|
||||||
options:
|
|
||||||
- label: I have read the guidelines.
|
|
||||||
- label: I checked for duplicate issues.
|
|
||||||
- label: I searched for existing discussions.
|
|
||||||
- label: I checked for an existing pull request that addresses this request.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: problem_statement
|
|
||||||
attributes:
|
|
||||||
label: ❓ Is your feature request related to a problem?
|
|
||||||
placeholder: "Provide a clear and concise description of the issue you're facing. Example: 'I'm always frustrated when [...]'"
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: proposed_solution
|
id: proposed_solution
|
||||||
attributes:
|
attributes:
|
||||||
label: 💡 Describe the solution you'd like
|
label: 💡 Describe the solution you'd like
|
||||||
placeholder: "Provide a clear and concise description of what you want to happen."
|
placeholder: "Provide a clear and concise description."
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: alternatives
|
|
||||||
attributes:
|
|
||||||
label: 🔄 Describe alternatives you've considered
|
|
||||||
placeholder: "Provide details on any alternative solutions or features you've thought about."
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: additional_context
|
|
||||||
attributes:
|
|
||||||
label: 🖼️ Additional context
|
|
||||||
placeholder: "Include screenshots, code blocks (use triple backticks ```), or any other relevant information."
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|||||||
@@ -1,33 +1,18 @@
|
|||||||
<!--Before you make this PR have you followed the docs here? - https://christitustech.github.io/winutil/contribute/ -->
|
<!--Before you make this PR have you followed the docs here? - https://winutil.christitus.com/contributing/ -->
|
||||||
|
<!--Documentation is auto-generated from configs - no manual documentation updates needed -->
|
||||||
|
|
||||||
## Type of Change
|
## Type of Change
|
||||||
- [ ] New feature
|
- [ ] New feature
|
||||||
- [ ] Bug fix
|
- [ ] Bug fix
|
||||||
- [ ] Documentation update
|
- [ ] Documentation update
|
||||||
- [ ] Refactoring
|
- [ ] Refactor
|
||||||
- [ ] Hotfix
|
|
||||||
- [ ] Security patch
|
|
||||||
- [ ] UI/UX improvement
|
- [ ] UI/UX improvement
|
||||||
|
|
||||||
|
<!-- This automatically adds labels to your PR based on the selections above. -->
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
<!--[Provide a detailed explanation of the changes you have made. Include the reasons behind these changes and any relevant context. Link any related issues.]-->
|
<!--[What does this PR do? Provide Screenshots when possible.]-->
|
||||||
|
|
||||||
## Testing
|
|
||||||
<!--[Detail the testing you have performed to ensure that these changes function as intended. Include information about any added tests.]-->
|
|
||||||
|
|
||||||
## Impact
|
|
||||||
<!--[Discuss the impact of your changes on the project. This might include effects on performance, new dependencies, or changes in behaviour.]-->
|
|
||||||
|
|
||||||
## Issue related to PR
|
## Issue related to PR
|
||||||
<!--[What issue/discussion is related to this PR (if any)]-->
|
<!--[List any ISSUES this is related to as it AUTO-CLOSES Them!]-->
|
||||||
- Resolves #
|
- Resolves #
|
||||||
|
|
||||||
## Additional Information
|
|
||||||
<!--[Any additional information that reviewers should be aware of.]-->
|
|
||||||
|
|
||||||
## Checklist
|
|
||||||
- [ ] My code adheres to the coding and style guidelines of the project.
|
|
||||||
- [ ] I have performed a self-review of my own code.
|
|
||||||
- [ ] I have commented my code, particularly in hard-to-understand areas.
|
|
||||||
- [ ] I have made corresponding changes to the documentation.
|
|
||||||
- [ ] My changes generate no errors/warnings/merge conflicts.
|
|
||||||
|
|||||||
@@ -0,0 +1,105 @@
|
|||||||
|
# Chris Titus Tech's Windows Utility
|
||||||
|
|
||||||
|
[](https://github.com/ChrisTitusTech/winutil/releases/latest)
|
||||||
|

|
||||||
|
[](https://discord.gg/RUbZUZyByQ)
|
||||||
|
[](https://winutil.christitus.com/)
|
||||||
|
|
||||||
|
Questa utility è una raccolta di attività Windows che eseguo personalmente su ogni sistema che utilizzo. È progettata per snellire le *installazioni*, rimuovere i componenti superflui tramite *ottimizzazioni*, risolvere problemi tramite la *configurazione*, e riparare *aggiornamenti* di Windows. Sono estremamente selettivo riguardo ai contributi per mantenere questo progetto pulito ed efficiente.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 💡 Come usarlo
|
||||||
|
|
||||||
|
Winutil deve essere eseguito con privilegi di amministratore, poiché apporta modifiche all'intero sistema. Per farlo, avvia PowerShell come amministratore. Ecco alcuni modi per procedere:
|
||||||
|
|
||||||
|
1. **Metodo del menu di Start:**
|
||||||
|
- Fai clic con il tasto destro sul menu Start.
|
||||||
|
- Scegli "Windows PowerShell (esegui come Amministratore)" (per Windows 10) o "Terminale (esegui come Amministratore)" (per Windows 11).
|
||||||
|
|
||||||
|
2. **Metodo tramite ricerca:**
|
||||||
|
- Premi il tasto Windows.
|
||||||
|
- Digita "PowerShell" o "Terminal" (per Windows 11).
|
||||||
|
- Premi `Ctrl + Shift + Invio` oppure fai clic con il tasto destro e seleziona "Esegui come amministratore" per avviarlo con privilegi elevati.
|
||||||
|
|
||||||
|
### Comando di avvio
|
||||||
|
|
||||||
|
#### Branch stabile (Consigliato)
|
||||||
|
|
||||||
|
```ps1
|
||||||
|
irm "https://christitus.com/win" | iex
|
||||||
|
```
|
||||||
|
#### Branch Sviluppatore
|
||||||
|
|
||||||
|
```ps1
|
||||||
|
irm "https://christitus.com/windev" | iex
|
||||||
|
```
|
||||||
|
|
||||||
|
### Automazione
|
||||||
|
|
||||||
|
Winutil supporta anche preset predefiniti che applicano automaticamente configurazioni comuni:
|
||||||
|
|
||||||
|
- `Standard`
|
||||||
|
- `Minimal`
|
||||||
|
- `Advanced`
|
||||||
|
|
||||||
|
Esempio:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
& ([ScriptBlock]::Create((irm "https://christitus.com/win"))) -Preset Standard
|
||||||
|
```
|
||||||
|
|
||||||
|
Per vedere esattamente cosa fa ogni preset, consulta:
|
||||||
|
https://github.com/ChrisTitusTech/winutil/blob/main/config/preset.json
|
||||||
|
|
||||||
|
In caso di problemi, consulta i [Problemi noti](https://winutil.christitus.com/knownissues/) o [Apri una segnalazione](https://github.com/ChrisTitusTech/winutil/issues)
|
||||||
|
|
||||||
|
## 🎓 Documentazione
|
||||||
|
|
||||||
|
### [Documentazione ufficiale di WinUtil](https://winutil.christitus.com/)
|
||||||
|
|
||||||
|
### [Tutorial su YouTube](https://www.youtube.com/watch?v=6UQZ5oQg8XA)
|
||||||
|
|
||||||
|
### [Articolo su ChrisTitus.com](https://christitus.com/windows-tool/)
|
||||||
|
|
||||||
|
## 🛠️ Build & Sviluppo
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> Winutil è uno script piuttosto esteso, per questo è suddiviso in più file che vengono combinati in un unico file `.ps1` tramite un compilatore personalizzato. Questo rende la manutenzione del progetto molto più semplice.
|
||||||
|
|
||||||
|
Ottieni una copia del codice sorgente. Puoi farlo tramite l'interfaccia di GitHub (**Code** > **Download ZIP**), oppure clonando (scaricando) la repo tramite git.
|
||||||
|
|
||||||
|
Se git è installato, esegui i seguenti comandi in una finestra PowerShell per clonare e accedere alla directory del progetto:
|
||||||
|
```ps1
|
||||||
|
git clone --depth 1 "https://github.com/ChrisTitusTech/winutil.git"
|
||||||
|
cd winutil
|
||||||
|
```
|
||||||
|
|
||||||
|
Per compilare il progetto, esegui lo script di compilazione in una finestra PowerShell (i permessi di amministratore NON sono richiesti):
|
||||||
|
```ps1
|
||||||
|
.\Compile.ps1
|
||||||
|
```
|
||||||
|
|
||||||
|
Troverai un nuovo file chiamato `winutil.ps1`, creato dallo script `Compile.ps1`. Ora puoi eseguirlo come amministratore e apparirà una nuova finestra. Goditi la tua versione compilata di WinUtil :)
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> Per ulteriori informazioni sull'utilizzo di WinUtil e su come contribuire allo sviluppo, ti invitiamo a leggere le [Linee guida per i contributi](https://winutil.christitus.com/contributing/). Se non sai da dove iniziare o hai domande, puoi chiedere sul nostro [Server Discord della community](https://discord.gg/RUbZUZyByQ); i membri attivi del progetto risponderanno appena possibile.
|
||||||
|
|
||||||
|
## 💖 Supporto
|
||||||
|
- Per sostenere il progetto moralmente e mentalmente, non dimenticare di lasciare una ⭐️!
|
||||||
|
- Wrapper EXE a 10$ su https://www.cttstore.com/windows-toolbox
|
||||||
|
|
||||||
|
## 💖 Sponsor
|
||||||
|
|
||||||
|
Questi sono gli sponsor che aiutano a mantenere vivo il progetto con contributi mensili.
|
||||||
|
|
||||||
|
<!-- sponsors --><a href="https://github.com/dwelfusius"><img src="https://github.com/dwelfusius.png" width="60px" alt="Avatar utente: " /></a><a href="https://github.com/mews-se"><img src="https://github.com/mews-se.png" width="60px" alt="Avatar utente: Martin Stockzell" /></a><a href="https://github.com/jdiegmueller"><img src="https://github.com/jdiegmueller.png" width="60px" alt="Avatar utente: Jason A. Diegmueller" /></a><a href="https://github.com/robertsandrock"><img src="https://github.com/robertsandrock.png" width="60px" alt="Avatar utente: RMS" /></a><a href="https://github.com/paulsheets"><img src="https://github.com/paulsheets.png" width="60px" alt="Avatar utente: Paul" /></a><a href="https://github.com/djones369"><img src="https://github.com/djones369.png" width="60px" alt="Avatar utente: Dave J (WhamGeek)" /></a><a href="https://github.com/anthonymendez"><img src="https://github.com/anthonymendez.png" width="60px" alt="Avatar utente: Anthony Mendez" /></a><a href="https://github.com/FatBastard0"><img src="https://github.com/FatBastard0.png" width="60px" alt="Avatar utente: " /></a><a href="https://github.com/DursleyGuy"><img src="https://github.com/DursleyGuy.png" width="60px" alt="Avatar utente: DursleyGuy" /></a><a href="https://github.com/DwayneTheRockLobster1"><img src="https://github.com/DwayneTheRockLobster1.png" width="60px" alt="Avatar utente: " /></a><a href="https://github.com/KieraKujisawa"><img src="https://github.com/KieraKujisawa.png" width="60px" alt="Avatar utente: Kiera Meredith" /></a><a href="https://github.com/andrewpayne68"><img src="https://github.com/andrewpayne68.png" width="60px" alt="Avatar utente: Andrew P" /></a><!-- sponsors -->
|
||||||
|
|
||||||
|
## 🏅 Grazie a tutti i collaboratori
|
||||||
|
Un ringraziamento speciale per aver dedicato il vostro tempo ad aiutare Winutil a crescere. Grazie mille! Continuate così 🍻.
|
||||||
|
|
||||||
|
[](https://github.com/ChrisTitusTech/winutil/graphs/contributors)
|
||||||
|
|
||||||
|
## 📊 Statistiche GitHub
|
||||||
|
|
||||||
|

|
||||||
@@ -1,5 +1,7 @@
|
|||||||
# Security Policy
|
# Security Policy
|
||||||
|
|
||||||
If you find a security issue please make post it in the issues tab. If you think it should be private you can email me at contact@christitus.com.
|
If you find a security issue, please post it in the Issues tab. If you think it should be private, you can email me at contact@christitus.com.
|
||||||
|
|
||||||
For immediate response check out our discord server @ [](https://discord.gg/RUbZUZyByQ)
|
For immediate response check out our Discord server:
|
||||||
|
|
||||||
|
[](https://discord.gg/RUbZUZyByQ)
|
||||||
|
|||||||
@@ -1,91 +0,0 @@
|
|||||||
site_name: WinUtil Documentation
|
|
||||||
docs_dir: '../docs'
|
|
||||||
repo_url: https://github.com/ChrisTitusTech/winutil
|
|
||||||
|
|
||||||
nav:
|
|
||||||
- Introduction: 'index.md'
|
|
||||||
- User Guide: 'userguide.md'
|
|
||||||
- Contributing Guide: 'CONTRIBUTING.md'
|
|
||||||
- Documentation:
|
|
||||||
- Dev Docs: 'devdocs.md'
|
|
||||||
- Known Issues: 'KnownIssues.md'
|
|
||||||
- FAQ: 'faq.md'
|
|
||||||
|
|
||||||
not_in_nav: |
|
|
||||||
dev/
|
|
||||||
|
|
||||||
theme:
|
|
||||||
name: material
|
|
||||||
custom_dir: '../overrides'
|
|
||||||
features:
|
|
||||||
- navigation.tabs
|
|
||||||
- navigation.sections
|
|
||||||
- toc.integrate
|
|
||||||
- navigation.top
|
|
||||||
- search.suggest
|
|
||||||
- search.highlight
|
|
||||||
- content.tabs.link
|
|
||||||
- content.code.annotation
|
|
||||||
- content.code.copy
|
|
||||||
language: en
|
|
||||||
logo: assets/favicon.png
|
|
||||||
favicon: assets/favicon.png
|
|
||||||
palette:
|
|
||||||
# Palette toggle for automatic mode
|
|
||||||
- media: "(prefers-color-scheme)"
|
|
||||||
toggle:
|
|
||||||
icon: material/brightness-auto
|
|
||||||
name: Switch to light mode
|
|
||||||
|
|
||||||
# Palette toggle for light mode
|
|
||||||
- media: "(prefers-color-scheme: light)"
|
|
||||||
scheme: default
|
|
||||||
accent: blue
|
|
||||||
toggle:
|
|
||||||
icon: material/brightness-7
|
|
||||||
name: Switch to dark mode
|
|
||||||
|
|
||||||
# Palette toggle for dark mode
|
|
||||||
- media: "(prefers-color-scheme: dark)"
|
|
||||||
scheme: slate
|
|
||||||
primary: black
|
|
||||||
accent: blue
|
|
||||||
toggle:
|
|
||||||
icon: material/weather-night
|
|
||||||
name: Switch to light mode
|
|
||||||
markdown_extensions:
|
|
||||||
- admonition
|
|
||||||
- pymdownx.details
|
|
||||||
- pymdownx.superfences
|
|
||||||
- pymdownx.superfences:
|
|
||||||
custom_fences:
|
|
||||||
- name: mermaid
|
|
||||||
class: mermaid
|
|
||||||
format: !!python/name:pymdownx.superfences.fence_code_format
|
|
||||||
- abbr
|
|
||||||
- attr_list
|
|
||||||
- pymdownx.snippets
|
|
||||||
- md_in_html
|
|
||||||
- pymdownx.superfences
|
|
||||||
- pymdownx.tabbed:
|
|
||||||
alternate_style: true
|
|
||||||
- pymdownx.highlight:
|
|
||||||
anchor_linenums: true
|
|
||||||
line_spans: __span
|
|
||||||
pygments_lang_class: true
|
|
||||||
- pymdownx.inlinehilite
|
|
||||||
- def_list
|
|
||||||
- pymdownx.tasklist:
|
|
||||||
custom_checkbox: true
|
|
||||||
- toc:
|
|
||||||
permalink: true
|
|
||||||
|
|
||||||
plugins:
|
|
||||||
- search
|
|
||||||
- awesome-pages
|
|
||||||
- git-revision-date-localized
|
|
||||||
- minify:
|
|
||||||
minify_html: true
|
|
||||||
htmlmin_opts:
|
|
||||||
remove_comments: true
|
|
||||||
cache_safe: true
|
|
||||||
@@ -1,18 +1,19 @@
|
|||||||
tag-prefix: ''
|
tag-prefix: ''
|
||||||
categories:
|
categories:
|
||||||
- title: '🚀 Features'
|
- title: 'Features'
|
||||||
labels:
|
labels:
|
||||||
- 'feature'
|
- 'feature'
|
||||||
- 'enhancement'
|
- 'enhancement'
|
||||||
- title: '🐛 Bug Fixes'
|
- 'new feature'
|
||||||
|
- title: 'Bug Fixes'
|
||||||
labels:
|
labels:
|
||||||
- 'fix'
|
- 'hotfix'
|
||||||
- 'bugfix'
|
- 'bugfix'
|
||||||
- 'bug'
|
- 'bug'
|
||||||
- title: '📚 Documentation'
|
- title: 'Documentation'
|
||||||
label: 'documentation'
|
label: 'documentation'
|
||||||
- title: '🔒 Security'
|
- title: 'UI/UX Improvements'
|
||||||
label: 'security'
|
label: 'ui update'
|
||||||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
||||||
template: |
|
template: |
|
||||||
## Changes
|
## Changes
|
||||||
@@ -31,7 +32,7 @@ autolabeler:
|
|||||||
- '/fix\/.+/'
|
- '/fix\/.+/'
|
||||||
title:
|
title:
|
||||||
- '/fix/i'
|
- '/fix/i'
|
||||||
- label: 'enhancement'
|
- label: 'new feature'
|
||||||
branch:
|
branch:
|
||||||
- '/feature\/.+/'
|
- '/feature\/.+/'
|
||||||
body:
|
body:
|
||||||
@@ -40,9 +41,6 @@ autolabeler:
|
|||||||
files:
|
files:
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
- 'docs/**/*'
|
- 'docs/**/*'
|
||||||
- label: 'security'
|
|
||||||
branch:
|
|
||||||
- '/security\/.+/'
|
|
||||||
replacers:
|
replacers:
|
||||||
- search: /"/g
|
- search: /"/g
|
||||||
replace: ''
|
replace: ''
|
||||||
|
|||||||
@@ -1,51 +0,0 @@
|
|||||||
Babel==2.15.0
|
|
||||||
bracex==2.5
|
|
||||||
cairocffi==1.7.1
|
|
||||||
CairoSVG==2.7.1
|
|
||||||
certifi==2024.7.4
|
|
||||||
cffi==1.17.0
|
|
||||||
charset-normalizer==3.3.2
|
|
||||||
click==8.1.7
|
|
||||||
colorama==0.4.6
|
|
||||||
csscompressor==0.9.5
|
|
||||||
cssselect2==0.7.0
|
|
||||||
defusedxml==0.7.1
|
|
||||||
ghp-import==2.1.0
|
|
||||||
gitdb==4.0.11
|
|
||||||
GitPython==3.1.43
|
|
||||||
htmlmin2==0.1.13
|
|
||||||
idna==3.7
|
|
||||||
Jinja2==3.1.5
|
|
||||||
jsmin==3.0.1
|
|
||||||
Markdown==3.6
|
|
||||||
MarkupSafe==2.1.5
|
|
||||||
mergedeep==1.3.4
|
|
||||||
mkdocs==1.6.0
|
|
||||||
mkdocs-awesome-pages-plugin==2.9.3
|
|
||||||
mkdocs-get-deps==0.2.0
|
|
||||||
mkdocs-git-revision-date-localized-plugin==1.2.6
|
|
||||||
mkdocs-material==9.5.31
|
|
||||||
mkdocs-material-extensions==1.3.1
|
|
||||||
mkdocs-minify-plugin==0.8.0
|
|
||||||
natsort==8.4.0
|
|
||||||
packaging==24.1
|
|
||||||
paginate==0.5.6
|
|
||||||
pathspec==0.12.1
|
|
||||||
pillow==10.4.0
|
|
||||||
platformdirs==4.2.2
|
|
||||||
pycparser==2.22
|
|
||||||
Pygments==2.18.0
|
|
||||||
pymdown-extensions==10.9
|
|
||||||
python-dateutil==2.9.0.post0
|
|
||||||
pytz==2024.1
|
|
||||||
PyYAML==6.0.2
|
|
||||||
pyyaml_env_tag==0.1
|
|
||||||
regex==2024.7.24
|
|
||||||
requests==2.32.3
|
|
||||||
six==1.16.0
|
|
||||||
smmap==5.0.1
|
|
||||||
tinycss2==1.3.0
|
|
||||||
urllib3==2.2.2
|
|
||||||
watchdog==4.0.1
|
|
||||||
wcmatch==9.0
|
|
||||||
webencodings==0.5.1
|
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
name: Auto-merge Automated Update PRs
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
auto-merge:
|
||||||
|
if: (github.event.pull_request.head.ref == 'docs-update' || github.event.pull_request.head.ref == 'sponsors-update') && (github.event.pull_request.user.login == 'ChrisTitusTech' || github.event.pull_request.user.login == 'github-actions[bot]')
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
|
- name: Auto-approve PR
|
||||||
|
if: github.event.pull_request.user.login == 'github-actions[bot]'
|
||||||
|
run: gh pr review "$PR_NUMBER" --approve
|
||||||
|
env:
|
||||||
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
|
GH_TOKEN: ${{ secrets.AUTO_MERGE }}
|
||||||
|
|
||||||
|
- name: Enable auto-merge
|
||||||
|
run: gh pr merge "$PR_NUMBER" --squash --delete-branch --admin
|
||||||
|
env:
|
||||||
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
|
GH_TOKEN: ${{ secrets.AUTO_MERGE }}
|
||||||
@@ -9,7 +9,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Check if PR was merged
|
- name: Check if PR was merged
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
@@ -18,10 +18,11 @@ jobs:
|
|||||||
- name: Extract Discussion Number & Close If any Were Found
|
- name: Extract Discussion Number & Close If any Were Found
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
PR_BODY: ${{ github.event.pull_request.body }}
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
id: extract-discussion
|
id: extract-discussion
|
||||||
run: |
|
run: |
|
||||||
pr_body="${{ github.event.pull_request.body }}"
|
pr_body="$PR_BODY"
|
||||||
discussion_ids=$(echo "$pr_body" | grep -oP '(?i)(resolve|fix|close)[s|d]? #\K[0-9]+')
|
discussion_ids=$(echo "$pr_body" | grep -oP '(?i)(resolve|fix|close)[s|d]? #\K[0-9]+')
|
||||||
|
|
||||||
if [ -z "$discussion_ids" ]; then
|
if [ -z "$discussion_ids" ]; then
|
||||||
|
|||||||
@@ -14,14 +14,14 @@ jobs:
|
|||||||
contents: none
|
contents: none
|
||||||
steps:
|
steps:
|
||||||
- name: Close inactive issues
|
- name: Close inactive issues
|
||||||
uses: actions/stale@v8
|
uses: actions/stale@v10
|
||||||
with:
|
with:
|
||||||
# A list of labels to reference when looking through issues,
|
# A list of labels to reference when looking through issues,
|
||||||
# and only when one (or even more) of these labels are found..
|
# and only when one (or even more) of these labels is found.
|
||||||
# then skip this issue, and never try to stale and/or close it.
|
# then skip this issue, and never try to stale and/or close it.
|
||||||
exempt-issue-labels: "Keep Issue Open"
|
exempt-issue-labels: "Keep Issue Open"
|
||||||
# Split it into two weeks, after one week the issue will be marked as stale,
|
# Split it into two weeks, after one week, the issue will be marked as stale,
|
||||||
# after another week have pasted without any update.. the issue will then be closed.
|
# after another week have passed without any update, the issue will then be closed.
|
||||||
days-before-issue-stale: 90
|
days-before-issue-stale: 90
|
||||||
days-before-issue-close: 365
|
days-before-issue-close: 365
|
||||||
# NEVER mark PRs as Stale or Close + this workflow should never have write permissions on PRs, EVER!
|
# NEVER mark PRs as Stale or Close + this workflow should never have write permissions on PRs, EVER!
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Sources
|
- name: Checkout Sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Compile and Syntaxcheck winutil.ps1
|
- name: Compile and Syntax check winutil.ps1
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1
|
Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
name: Deploy Astro site to Pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "docs/**"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pages: write
|
||||||
|
id-token: write
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: "pages"
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
if: github.repository == 'ChrisTitusTech/winutil'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
TZ: America/Chicago
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v7
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Install, build, and upload your site
|
||||||
|
uses: withastro/action@v6
|
||||||
|
with:
|
||||||
|
path: docs
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
if: github.repository == 'ChrisTitusTech/winutil'
|
||||||
|
environment:
|
||||||
|
name: github-pages
|
||||||
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
steps:
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
id: deployment
|
||||||
|
uses: actions/deploy-pages@v5
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
name: GitHub Pages Deploy
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- '.github/mkdocs.yml'
|
|
||||||
- '.github/requirements.txt'
|
|
||||||
- 'docs/**'
|
|
||||||
- 'overrides/**'
|
|
||||||
- '.github/CONTRIBUTING.md'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-and-deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: '0' # Fetch all commit history for all branches as well as tags.
|
|
||||||
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: 3.x # Install latest Stable release of Python 3
|
|
||||||
cache: 'pip' # Caching pip dependencies
|
|
||||||
|
|
||||||
- name: Install Necessary Dependencies
|
|
||||||
run: pip install -r .github/requirements.txt
|
|
||||||
|
|
||||||
- name: Build & Deploy using mkdocs
|
|
||||||
run: mkdocs gh-deploy --force -f .github/mkdocs.yml
|
|
||||||
@@ -1,115 +0,0 @@
|
|||||||
name: Issue slash commands
|
|
||||||
|
|
||||||
on:
|
|
||||||
issue_comment:
|
|
||||||
types: [created, edited]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
issueCommands:
|
|
||||||
# Skip this job if the comment was created/edited on a PR
|
|
||||||
if: ${{ !github.event.issue.pull_request }}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
issues: write
|
|
||||||
pull-requests: none
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- run: echo "command=false" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Check for /label command
|
|
||||||
id: check_label_command
|
|
||||||
run: |
|
|
||||||
if [[ "${{ contains(github.event.comment.body, '/label') }}" == "true" ]]; then
|
|
||||||
echo "command=true" >> $GITHUB_ENV
|
|
||||||
LABEL_NAME=$(echo "${{ github.event.comment.body }}" | awk -F"/label" '/\/label/ { match($2, /'\''([^'\'']*)'\''/, arr); if (arr[1] != "") print arr[1] }')
|
|
||||||
echo "label_command=true" >> $GITHUB_ENV
|
|
||||||
echo "label_name=${LABEL_NAME}" >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
echo "label_command=false" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Check for /unlabel command
|
|
||||||
id: check_unlabel_command
|
|
||||||
run: |
|
|
||||||
if [[ "${{ contains(github.event.comment.body, '/unlabel') }}" == "true" ]]; then
|
|
||||||
echo "command=true" >> $GITHUB_ENV
|
|
||||||
UNLABEL_NAME=$(echo "${{ github.event.comment.body }}" | awk -F"/unlabel" '/\/unlabel/ { match($2, /'\''([^'\'']*)'\''/, arr); if (arr[1] != "") print arr[1] }')
|
|
||||||
echo "unlabel_command=true" >> $GITHUB_ENV
|
|
||||||
echo "unlabel_name=${UNLABEL_NAME}" >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
echo "unlabel_command=false" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Check for /close command
|
|
||||||
id: check_close_command
|
|
||||||
run: |
|
|
||||||
if [[ "${{ contains(github.event.comment.body, '/close') }}" == "true" ]]; then
|
|
||||||
echo "command=true" >> $GITHUB_ENV
|
|
||||||
echo "close_command=true" >> $GITHUB_ENV
|
|
||||||
echo "reopen_command=false" >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
echo "close_command=false" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Check for /open or /reopen command
|
|
||||||
id: check_reopen_command
|
|
||||||
run: |
|
|
||||||
if [[ "${{ contains(github.event.comment.body, '/open') }}" == "true" ]] || [[ "${{ contains(github.event.comment.body, '/reopen') }}" == "true" ]]; then
|
|
||||||
echo "command=true" >> $GITHUB_ENV
|
|
||||||
echo "reopen_command=true" >> $GITHUB_ENV
|
|
||||||
echo "close_command=false" >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
echo "reopen_command=false" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Check if the user is allowed
|
|
||||||
id: check_user
|
|
||||||
if: env.command == 'true'
|
|
||||||
run: |
|
|
||||||
ALLOWED_USERS=("ChrisTitusTech" "og-mrk" "Marterich" "MyDrift-user" "Real-MullaC" "CodingWonders")
|
|
||||||
if [[ " ${ALLOWED_USERS[@]} " =~ " ${{ github.event.comment.user.login }} " ]]; then
|
|
||||||
echo "user=true" >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Close issue
|
|
||||||
if: env.close_command == 'true'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
||||||
run: |
|
|
||||||
echo Closing the issue...
|
|
||||||
if [[ "${{ contains(github.event.comment.body, 'not planned') }}" == "true" ]]; then
|
|
||||||
gh issue close $ISSUE_NUMBER --repo ${{ github.repository }} --reason 'not planned'
|
|
||||||
else
|
|
||||||
gh issue close $ISSUE_NUMBER --repo ${{ github.repository }}
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Reopen issue
|
|
||||||
if: env.reopen_command == 'true'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
||||||
run: |
|
|
||||||
echo Reopening the issue...
|
|
||||||
gh issue reopen $ISSUE_NUMBER --repo ${{ github.repository }}
|
|
||||||
|
|
||||||
- name: Label issue
|
|
||||||
if: env.label_command == 'true'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
||||||
run: |
|
|
||||||
echo Labeling the issue...
|
|
||||||
gh issue edit $ISSUE_NUMBER --repo ${{ github.repository }} --add-label "${{ env.label_name }}"
|
|
||||||
|
|
||||||
- name: Remove labels
|
|
||||||
if: env.unlabel_command == 'true'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
||||||
run: |
|
|
||||||
echo Unlabeling the issue...
|
|
||||||
gh issue edit $ISSUE_NUMBER --repo ${{ github.repository }} --remove-label "${{ env.unlabel_name }}"
|
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
name: Label PRs by Type of Change
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types: [opened, edited, synchronize]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
label-pr:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
issues: write
|
||||||
|
contents: read # Often needed for github-script
|
||||||
|
steps:
|
||||||
|
- name: Check PR body for Type of Change
|
||||||
|
uses: actions/github-script@v9
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
const prBody = context.payload.pull_request.body || '';
|
||||||
|
const labelsToAdd = [];
|
||||||
|
|
||||||
|
if (/\[x\]\s*New feature/i.test(prBody)) {
|
||||||
|
labelsToAdd.push('new feature');
|
||||||
|
}
|
||||||
|
if (/\[x\]\s*Bug fix/i.test(prBody)) {
|
||||||
|
labelsToAdd.push('bug');
|
||||||
|
}
|
||||||
|
if (/\[x\]\s*Documentation update/i.test(prBody)) {
|
||||||
|
labelsToAdd.push('documentation');
|
||||||
|
}
|
||||||
|
if (/\[x\]\s*Hotfix/i.test(prBody)) {
|
||||||
|
labelsToAdd.push('hotfix');
|
||||||
|
}
|
||||||
|
if (/\[x\]\s*UI\/UX improvement/i.test(prBody)) {
|
||||||
|
labelsToAdd.push('ui update');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (labelsToAdd.length > 0) {
|
||||||
|
await github.rest.issues.addLabels({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
issue_number: context.payload.pull_request.number,
|
||||||
|
labels: labelsToAdd
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -3,6 +3,7 @@ name: Pre-Release WinUtil
|
|||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
actions: read
|
actions: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: # Manual trigger added
|
workflow_dispatch: # Manual trigger added
|
||||||
@@ -10,11 +11,19 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-runspace:
|
build-runspace:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
outputs:
|
||||||
|
version: ${{ steps.extract_version.outputs.version }}
|
||||||
env:
|
env:
|
||||||
CERTIFICATE_BASE64: ${{ secrets.CERTIFICATE_BASE64 }}
|
CERTIFICATE_BASE64: ${{ secrets.CERTIFICATE_BASE64 }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
|
- name: Generate Dev Docs and Update JSON Links
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
Set-Location tools
|
||||||
|
./devdocs-generator.ps1
|
||||||
|
|
||||||
- name: Compile project
|
- name: Compile project
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
@@ -22,11 +31,37 @@ jobs:
|
|||||||
Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1
|
Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1
|
||||||
continue-on-error: false # Directly fail the job on error, removing the need for a separate check
|
continue-on-error: false # Directly fail the job on error, removing the need for a separate check
|
||||||
|
|
||||||
|
- name: Create Pull Request for Updated Docs and JSON Links
|
||||||
|
id: cpr
|
||||||
|
uses: peter-evans/create-pull-request@v8
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.AUTO_MERGE }}
|
||||||
|
commit-message: 'chore: Update generated dev docs and JSON links'
|
||||||
|
title: 'chore: Update generated dev docs and JSON links'
|
||||||
|
body: 'Automated update of generated documentation and JSON config links from pre-release build'
|
||||||
|
branch: docs-update
|
||||||
|
delete-branch: true
|
||||||
|
add-paths: |
|
||||||
|
docs/src/content/docs/code-reference/
|
||||||
|
config/tweaks.json
|
||||||
|
config/feature.json
|
||||||
|
labels: |
|
||||||
|
automated
|
||||||
|
documentation
|
||||||
|
skip-changelog
|
||||||
|
|
||||||
|
- name: Check outputs
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
|
||||||
|
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
|
||||||
|
|
||||||
- name: Set Version to Todays Date
|
- name: Set Version to Todays Date
|
||||||
id: extract_version
|
id: extract_version
|
||||||
run: |
|
run: |
|
||||||
$version = (Get-Date -Format "yy.MM.dd")
|
$version = (Get-Date -Format "yy.MM.dd")
|
||||||
echo "VERSION=$version" >> $env:GITHUB_ENV
|
echo "VERSION=$version" >> $env:GITHUB_ENV
|
||||||
|
echo "version=$version" >> $env:GITHUB_OUTPUT
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Create Tag
|
- name: Create Tag
|
||||||
@@ -49,48 +84,56 @@ jobs:
|
|||||||
}
|
}
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Create and import code signing certificate
|
- name: Upload compiled script
|
||||||
shell: pwsh
|
uses: actions/upload-artifact@v7
|
||||||
run: |
|
|
||||||
[System.IO.File]::WriteAllBytes("$env:USERPROFILE\code-signing-cert.pfx", [System.Convert]::FromBase64String("$env:CERTIFICATE_BASE64"))
|
|
||||||
Import-PfxCertificate -FilePath "$env:USERPROFILE\code-signing-cert.pfx" -CertStoreLocation Cert:\CurrentUser\My
|
|
||||||
|
|
||||||
- name: Code sign winutil.ps1
|
|
||||||
shell: pwsh
|
|
||||||
run: |
|
|
||||||
$cert = Get-ChildItem -Path Cert:\CurrentUser\My -CodeSigningCert | Select-Object -First 1
|
|
||||||
if ($null -eq $cert) { throw "Code signing certificate not found" }
|
|
||||||
Set-AuthenticodeSignature -FilePath ./winutil.ps1 -Certificate $cert -TimeStampServer "http://timestamp.digicert.com"
|
|
||||||
|
|
||||||
- name: Verify code signature
|
|
||||||
shell: pwsh
|
|
||||||
run: |
|
|
||||||
$signature = Get-AuthenticodeSignature -FilePath ./winutil.ps1
|
|
||||||
if ($signature.Status -ne 'Valid') { throw "Code signing failed" }
|
|
||||||
|
|
||||||
- name: Upload winutil.ps1 as artifact
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
with:
|
||||||
name: winutil
|
name: winutil-ps1
|
||||||
path: ./winutil.ps1
|
path: ./winutil.ps1
|
||||||
|
|
||||||
|
release:
|
||||||
|
needs: build-runspace
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Download compiled script
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
name: winutil-ps1
|
||||||
|
|
||||||
|
- name: Set version from build job
|
||||||
|
run: echo "VERSION=${{ needs.build-runspace.outputs.version }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Generate Release Notes
|
- name: Generate Release Notes
|
||||||
id: generate_notes
|
id: generate_notes
|
||||||
uses: release-drafter/release-drafter@v6
|
uses: release-drafter/release-drafter@v7
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
config-name: release-drafter.yml
|
config-name: release-drafter.yml
|
||||||
version: ${{ env.VERSION }} # Pass the version variable
|
version: ${{ env.VERSION }}
|
||||||
|
|
||||||
|
- name: Remove Automated Updates from Release Notes
|
||||||
|
id: filter_notes
|
||||||
|
shell: pwsh
|
||||||
|
env:
|
||||||
|
RELEASE_NOTES: ${{ steps.generate_notes.outputs.body }}
|
||||||
|
run: |
|
||||||
|
$filteredNotes = ($env:RELEASE_NOTES -split '\r?\n' | Where-Object {
|
||||||
|
$_ -notmatch '(?i)Update (Generated Dev Docs|Sponsors)'
|
||||||
|
}) -join "`n"
|
||||||
|
|
||||||
|
$delimiter = [guid]::NewGuid().ToString()
|
||||||
|
"body<<$delimiter" >> $env:GITHUB_OUTPUT
|
||||||
|
$filteredNotes >> $env:GITHUB_OUTPUT
|
||||||
|
$delimiter >> $env:GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Create and Upload Release
|
- name: Create and Upload Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v3
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.VERSION }}
|
tag_name: ${{ env.VERSION }}
|
||||||
name: Pre-Release ${{ env.VERSION }}
|
name: Pre-Release ${{ env.VERSION }}
|
||||||
body: |
|
body: |
|
||||||
${{ steps.generate_notes.outputs.body }}
|
${{ steps.filter_notes.outputs.body }}
|
||||||
|
|
||||||

|

|
||||||
append_body: false
|
append_body: false
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Check if winutil.ps1 exists
|
- name: Check if winutil.ps1 exists
|
||||||
id: check_existence
|
id: check_existence
|
||||||
|
|||||||
@@ -5,13 +5,16 @@ on:
|
|||||||
- cron: 30 15 * * 0-6
|
- cron: 30 15 * * 0-6
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: (github.event_name == 'schedule' && github.repository == 'ChrisTitusTech/winutil') || (github.event_name != 'schedule')
|
if: (github.event_name == 'schedule' && github.repository == 'ChrisTitusTech/winutil') || (github.event_name != 'schedule')
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Generate Sponsors 💖
|
- name: Generate Sponsors 💖
|
||||||
uses: JamesIves/github-sponsors-readme-action@v1
|
uses: JamesIves/github-sponsors-readme-action@v1
|
||||||
@@ -19,8 +22,21 @@ jobs:
|
|||||||
token: ${{ secrets.PAT }}
|
token: ${{ secrets.PAT }}
|
||||||
file: 'README.md'
|
file: 'README.md'
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages 🚀
|
- name: Create Pull Request 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
id: cpr
|
||||||
|
uses: peter-evans/create-pull-request@v8
|
||||||
with:
|
with:
|
||||||
branch: main
|
token: ${{ secrets.AUTO_MERGE }}
|
||||||
folder: '.'
|
commit-message: 'Update sponsors in README'
|
||||||
|
title: 'chore: Update Sponsors README'
|
||||||
|
body: 'Automated update of sponsors section'
|
||||||
|
branch: sponsors-update
|
||||||
|
delete-branch: true
|
||||||
|
labels: |
|
||||||
|
automated
|
||||||
|
skip-changelog
|
||||||
|
|
||||||
|
- name: Check outputs
|
||||||
|
run: |
|
||||||
|
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
|
||||||
|
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
|
||||||
|
|||||||
@@ -8,32 +8,43 @@ jobs:
|
|||||||
name: PS Script Analyzer
|
name: PS Script Analyzer
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
- name: lint
|
- name: Install PSScriptAnalyzer
|
||||||
uses: devblackops/github-action-psscriptanalyzer@master
|
run: |
|
||||||
with:
|
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
|
||||||
sendComment: false
|
Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.20.0 -Scope CurrentUser -Force
|
||||||
settingsPath: lint/PSScriptAnalyser.ps1
|
Import-Module PSScriptAnalyzer -RequiredVersion 1.20.0 -Force
|
||||||
failOnErrors: false
|
Get-Module PSScriptAnalyzer | Select-Object Name, Version, Path
|
||||||
failOnWarnings: false
|
shell: pwsh
|
||||||
failOnInfos: false
|
- name: Run PSScriptAnalyzer
|
||||||
|
run: |
|
||||||
|
$results = Invoke-ScriptAnalyzer -Path . -Settings ./lint/PSScriptAnalyser.ps1 -Recurse
|
||||||
|
if ($results) {
|
||||||
|
$results | Format-Table -AutoSize | Out-String -Width 4096 | Write-Host
|
||||||
|
} else {
|
||||||
|
Write-Host "PSScriptAnalyzer found no diagnostics."
|
||||||
|
}
|
||||||
|
shell: pwsh
|
||||||
test:
|
test:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Install Pester
|
- name: Install Pester
|
||||||
run: |
|
run: |
|
||||||
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
|
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
|
||||||
Install-Module -Name Pester -Force -SkipPublisherCheck -AllowClobber
|
Install-Module -Name Pester -RequiredVersion 5.8.0 -Force -SkipPublisherCheck -AllowClobber
|
||||||
|
Import-Module Pester -RequiredVersion 5.8.0 -Force
|
||||||
|
Get-Module Pester | Select-Object Name, Version, Path
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Run Pester tests
|
- name: Run Pester tests
|
||||||
run: |
|
run: |
|
||||||
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
|
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
|
||||||
Invoke-Pester -Path 'pester/*.Tests.ps1' -Output Detailed
|
Import-Module Pester -RequiredVersion 5.8.0 -Force
|
||||||
|
Invoke-Pester -Path 'pester/*.Tests.ps1' -Output Detailed -CI
|
||||||
|
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,50 +1,20 @@
|
|||||||
### VSCode ###
|
# winutil
|
||||||
|
|
||||||
# Configuration folder
|
|
||||||
.vscode/
|
|
||||||
.idea/
|
|
||||||
|
|
||||||
### Visual Studio ###
|
|
||||||
|
|
||||||
# Visual Studio user-specific files
|
|
||||||
.vs/
|
|
||||||
|
|
||||||
winutil.pdb
|
|
||||||
|
|
||||||
### Windows ###
|
|
||||||
|
|
||||||
# Folder config file
|
|
||||||
[Dd]esktop.ini
|
|
||||||
|
|
||||||
# Ignore Generated XAML Files
|
|
||||||
xaml/inputApp.xaml
|
|
||||||
xaml/inputFeatures.xaml
|
|
||||||
xaml/inputTweaks.xaml
|
|
||||||
|
|
||||||
# Executables and Configs
|
|
||||||
winget.msixbundle
|
|
||||||
pester.ps1
|
|
||||||
*.psd*
|
|
||||||
ooshutup10.cfg
|
|
||||||
winutil.exe.config
|
|
||||||
Microsoft.UI.Xaml*
|
|
||||||
license1.xml
|
|
||||||
winutil.ps1
|
|
||||||
|
|
||||||
# Libraries
|
|
||||||
System.Management.Automation.dll
|
System.Management.Automation.dll
|
||||||
Microsoft.PowerShell.ConsoleHost.dll
|
Microsoft.PowerShell.ConsoleHost.dll
|
||||||
|
|
||||||
# Compressed files
|
winutil.exe.config
|
||||||
*.zip
|
|
||||||
|
|
||||||
### MacOS ###
|
|
||||||
|
|
||||||
# General
|
|
||||||
.DS_Store
|
|
||||||
microwin.log
|
|
||||||
True
|
|
||||||
test.ps1
|
|
||||||
winutil.ps1
|
winutil.ps1
|
||||||
|
|
||||||
binary/
|
binary/
|
||||||
|
testResults.xml
|
||||||
|
|
||||||
|
# general software/os specific
|
||||||
|
desktop.ini
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
# hugo files (archived docs)
|
||||||
|
docs-old/public/
|
||||||
|
docs-old/.hugo_build.lock
|
||||||
|
docs-old/resources/
|
||||||
|
|||||||
@@ -0,0 +1,194 @@
|
|||||||
|
# AGENTS.md
|
||||||
|
|
||||||
|
Drop-in operating instructions for coding agents. Read this file before every task.
|
||||||
|
|
||||||
|
**Working code only. Finish the job. Plausibility is not correctness.**
|
||||||
|
|
||||||
|
This repository follows the AGENTS.md convention: these instructions are for Codex, Claude Code, Cursor, Windsurf, Copilot, Aider, Devin, Amp, and other coding agents that read `AGENTS.md`.
|
||||||
|
|
||||||
|
## 0. Non-Negotiables
|
||||||
|
|
||||||
|
These rules override everything else in this file when in conflict:
|
||||||
|
|
||||||
|
1. **Do not edit `winutil.ps1` directly.** It is generated build output. Change source files and compile.
|
||||||
|
2. **Do not commit `winutil.ps1`.** It is ignored locally and generated by GitHub Actions for releases.
|
||||||
|
3. **Never fabricate.** Do not invent file paths, function names, command output, test results, commit hashes, or API behavior. Read the file or run the command.
|
||||||
|
4. **Disagree when the premise is wrong.** Say what is wrong before acting on it.
|
||||||
|
5. **Stop when genuinely ambiguous.** If two interpretations would produce materially different diffs, ask before editing.
|
||||||
|
6. **Touch only what the task requires.** No drive-by refactors, formatting sweeps, or unrelated cleanup.
|
||||||
|
7. **Verify before saying done.** A plausible-looking diff is not proof.
|
||||||
|
|
||||||
|
## 1. Project Context
|
||||||
|
|
||||||
|
WinUtil is a Windows PowerShell utility with a WPF interface. The repository is maintained as modular source, but the distributed artifact is one compiled PowerShell script.
|
||||||
|
|
||||||
|
### Stack
|
||||||
|
|
||||||
|
- Language: Windows PowerShell / PowerShell.
|
||||||
|
- UI: WPF via `xaml/inputXML.xaml`.
|
||||||
|
- Configuration: JSON files under `config/`.
|
||||||
|
- Tests: Pester tests under `pester/`.
|
||||||
|
- Lint: PowerShell Script Analyzer with settings in `lint/PSScriptAnalyser.ps1`.
|
||||||
|
- Docs: Hugo site under `docs/`.
|
||||||
|
- Release artifact: generated root `winutil.ps1`.
|
||||||
|
|
||||||
|
### Key Commands
|
||||||
|
|
||||||
|
- Compile:
|
||||||
|
```powershell
|
||||||
|
.\Compile.ps1
|
||||||
|
```
|
||||||
|
- Compile and run GUI:
|
||||||
|
```powershell
|
||||||
|
.\Compile.ps1 -Run
|
||||||
|
```
|
||||||
|
- Run tests:
|
||||||
|
```powershell
|
||||||
|
Import-Module Pester -RequiredVersion 5.8.0 -Force
|
||||||
|
Invoke-Pester -Path 'pester/*.Tests.ps1' -Output Detailed
|
||||||
|
```
|
||||||
|
- Run Script Analyzer with project settings when available:
|
||||||
|
```powershell
|
||||||
|
Invoke-ScriptAnalyzer -Path . -Settings .\lint\PSScriptAnalyser.ps1 -Recurse
|
||||||
|
```
|
||||||
|
|
||||||
|
Prefer the narrowest useful verification while iterating. Use the full relevant check before finishing.
|
||||||
|
|
||||||
|
## 2. Source Of Truth
|
||||||
|
|
||||||
|
Make durable changes only in files consumed by `Compile.ps1` or in documentation/test files:
|
||||||
|
|
||||||
|
- `scripts/start.ps1` for startup/bootstrap code.
|
||||||
|
- `functions/public/*.ps1` for UI-facing and user-facing workflows.
|
||||||
|
- `functions/private/*.ps1` for internal helpers.
|
||||||
|
- `config/*.json` for applications, tweaks, features, DNS, presets, navigation, themes, and related declarative data.
|
||||||
|
- `xaml/inputXML.xaml` for the WPF UI layout.
|
||||||
|
- `tools/autounattend.xml` for the embedded unattended Windows setup template.
|
||||||
|
- `scripts/main.ps1` for the final entrypoint and GUI initialization logic appended during compile.
|
||||||
|
- `pester/*.Tests.ps1` for automated checks.
|
||||||
|
- `docs/` for Hugo documentation.
|
||||||
|
|
||||||
|
If behavior changes require the compiled script to change, update these source files and run `.\Compile.ps1` only to verify generation.
|
||||||
|
|
||||||
|
## 3. Build Model
|
||||||
|
|
||||||
|
`Compile.ps1` combines the repository sources into `winutil.ps1` in this order:
|
||||||
|
|
||||||
|
1. Read `scripts/start.ps1` and replace `#{replaceme}` with the current `yy.MM.dd` build date.
|
||||||
|
2. Append every file under `functions/` recursively.
|
||||||
|
3. Convert each `config/*.json` file into embedded `$sync.configs` objects.
|
||||||
|
4. Special-case `config/applications.json` so keys receive the `WPFInstall` prefix in compiled config.
|
||||||
|
5. Embed `xaml/inputXML.xaml` into `$inputXML`.
|
||||||
|
6. Embed `tools/autounattend.xml` into `$WinUtilAutounattendXml`.
|
||||||
|
7. Append `scripts/main.ps1`.
|
||||||
|
8. Write the result to root `winutil.ps1`.
|
||||||
|
|
||||||
|
Because the final script is concatenated, do not rely on runtime module imports or source-relative dot-sourcing unless the compiled script will also contain the required code/data.
|
||||||
|
|
||||||
|
## 4. Before Editing
|
||||||
|
|
||||||
|
- State the plan in one or two sentences before editing. For non-trivial work, include the verification you intend to run.
|
||||||
|
- Read the files you will touch and the files that call them.
|
||||||
|
- Match existing patterns even when a different greenfield design would be cleaner.
|
||||||
|
- Surface assumptions when they affect behavior, compatibility, or user data.
|
||||||
|
- If two approaches have meaningful tradeoffs, name them before choosing. Trivial tasks can proceed directly.
|
||||||
|
|
||||||
|
## 5. Coding Guidelines
|
||||||
|
|
||||||
|
- Prefer the minimum code that solves the stated problem.
|
||||||
|
- Keep PowerShell functions in one function file when practical, with the file name matching the primary function name.
|
||||||
|
- Use approved PowerShell verb-noun names and follow the existing `WPF` / `WinUtil` naming conventions.
|
||||||
|
- Keep UI event handler names aligned with XAML element names. A button named `WPFExampleButton` is typically handled by `Invoke-WPFExampleButton`.
|
||||||
|
- Use `$sync` for shared state and UI references, consistent with the existing runspace model.
|
||||||
|
- Update WPF controls through the UI dispatcher when running work in a background runspace.
|
||||||
|
- Keep config-driven features in JSON when they fit the existing schema instead of hard-coding lists in PowerShell.
|
||||||
|
- Preserve undo/original-state data for tweaks so users can reverse changes.
|
||||||
|
- Do not add abstractions, configurability, hooks, or "future extensibility" unless the task needs them now.
|
||||||
|
- Clean up orphans created by your own changes, such as unused variables or functions made obsolete by the edit.
|
||||||
|
- Avoid broad formatting-only edits, especially in JSON config files, XAML, docs, and generated output.
|
||||||
|
|
||||||
|
## 6. Runtime And Safety Rules
|
||||||
|
|
||||||
|
- WinUtil performs system-level Windows changes. Treat registry, services, AppX removal, package manager, Windows Update, ISO, and unattended setup changes as high-risk.
|
||||||
|
- Prefer existing helper functions for WinGet, Chocolatey, registry, services, progress, and UI updates.
|
||||||
|
- Keep tweaks reversible where the schema supports it by including original values or original states.
|
||||||
|
- Never modify a user's original ISO in-place; follow existing copy/mount/export patterns.
|
||||||
|
- Avoid storing credentials, secrets, or machine-specific paths in repo files.
|
||||||
|
- Preserve logging and user feedback patterns for long-running or destructive operations.
|
||||||
|
|
||||||
|
## 7. Surgical Changes
|
||||||
|
|
||||||
|
- Do not improve adjacent code, comments, formatting, imports, or docs unless required.
|
||||||
|
- Do not refactor working code because you are already in the file.
|
||||||
|
- Do not delete pre-existing dead code unless asked; mention it in the summary if relevant.
|
||||||
|
- Keep diffs reviewable. Every changed line should trace to the user's request.
|
||||||
|
- If a change starts spreading across unrelated areas, pause and reassess the plan.
|
||||||
|
|
||||||
|
## 8. Verification
|
||||||
|
|
||||||
|
Define success in terms that can be checked, then check it.
|
||||||
|
|
||||||
|
- For compile/build changes, run `.\Compile.ps1`.
|
||||||
|
- For GUI behavior changes, run `.\Compile.ps1 -Run` when practical and verify the affected path manually.
|
||||||
|
- For config changes, run the compile check and relevant Pester tests.
|
||||||
|
- For function changes, run the relevant Pester tests or add/update focused tests when practical.
|
||||||
|
- For docs-only changes, proofread the changed files and skip runtime tests unless docs generation is affected.
|
||||||
|
- Read command output. Do not report tests as passing unless they actually passed.
|
||||||
|
- If verification fails, fix the cause rather than weakening the test.
|
||||||
|
|
||||||
|
If a check cannot be run, say exactly why and what residual risk remains.
|
||||||
|
|
||||||
|
## 9. Generated Files And Git Hygiene
|
||||||
|
|
||||||
|
- Treat local `winutil.ps1` changes as disposable compile output.
|
||||||
|
- Never stage or commit `winutil.ps1`, `docs/public/`, `docs/resources/`, `binary/`, editor folders, or other ignored build artifacts.
|
||||||
|
- Do not remove `.gitignore` rules that keep generated artifacts out of Git.
|
||||||
|
- Before finishing, check `git status --short` and separate your changes from pre-existing user changes.
|
||||||
|
- Do not revert user changes unless explicitly asked.
|
||||||
|
- Commit messages, when requested, should be descriptive: short subject under 72 characters, body explaining why when needed.
|
||||||
|
|
||||||
|
## 10. Documentation Expectations
|
||||||
|
|
||||||
|
- Update `docs/content/` when user-facing behavior changes.
|
||||||
|
- Update developer docs when architecture, build flow, config schema, or contribution workflow changes.
|
||||||
|
- Keep README changes brief and high-level.
|
||||||
|
- Put detailed user and developer documentation under `docs/`.
|
||||||
|
- Keep `SPEC.md` aligned with build/runtime contract changes.
|
||||||
|
|
||||||
|
## 11. Communication Style
|
||||||
|
|
||||||
|
- Be direct and concise. Start with the answer or action.
|
||||||
|
- No flattery, filler, ceremonial closings, or fake certainty.
|
||||||
|
- Use bullets only when they improve scanning.
|
||||||
|
- Report what changed, how it was verified, and anything not done.
|
||||||
|
- If the user asks for a review, lead with findings and file/line references.
|
||||||
|
|
||||||
|
## 12. When To Ask
|
||||||
|
|
||||||
|
Ask before proceeding when:
|
||||||
|
|
||||||
|
- The request has two plausible interpretations and the choice materially changes behavior or files touched.
|
||||||
|
- The change affects release generation, generated artifacts, migrations, or high-risk Windows behavior in a way the user did not specify.
|
||||||
|
- You need credentials, secrets, production resources, or access you do not have.
|
||||||
|
- The user's stated goal conflicts with the literal request.
|
||||||
|
|
||||||
|
Proceed without asking when:
|
||||||
|
|
||||||
|
- The task is trivial and reversible.
|
||||||
|
- Ambiguity can be resolved by reading the code or running a local command.
|
||||||
|
- The user already answered the question in this session.
|
||||||
|
|
||||||
|
## 13. Project Learnings
|
||||||
|
|
||||||
|
When the user corrects an agent approach, add or tighten one concrete rule here before ending the session. Keep this section short and prune rules that no longer matter.
|
||||||
|
|
||||||
|
- Keep `winutil.ps1` generated-only: change source files, compile to verify, and never stage the generated script.
|
||||||
|
- Keep WinUtil runtime logging in the existing timestamped `%LocalAppData%\winutil\logs\winutil_*.log` session file; do not create a separate root `winutil.log`.
|
||||||
|
- Import Pester 5.8.0 before running tests so `Invoke-Pester -Output Detailed -CI` does not resolve to Windows' inbox Pester 3.4.0.
|
||||||
|
- Keep package install/uninstall process launches simple unless explicitly requested; do not add a separate stdout/stderr process logging helper for winget or Chocolatey.
|
||||||
|
- When the active log file is owned by `Start-Transcript`, do not call `Add-Content` against that file; write to host output so the transcript captures the line in the same log file without recording a terminating-error diagnostic.
|
||||||
|
- Log install/uninstall package names and package-manager IDs before queuing background runspace work; do not rely on runspace host output for the package identity.
|
||||||
|
- For Win11 Creator, start each new ISO modification in a fresh `WinUtil_Win11ISO_*` temp directory; existing-work detection is only for resuming/exporting already modified media.
|
||||||
|
- For Win11 Creator driver injection, keep offline WIM servicing to one mount, one `/Add-Driver`, and one commit; do not export editions or run unrelated WIM cleanup, and reject damaged metadata before ISO export.
|
||||||
|
- For Script Analyzer cleanup, fix actionable source warnings first and do not globally suppress accepted convention warnings such as plural names, `ShouldProcess` on UI helpers, `$global:sync`, or compile-time cross-file false positives.
|
||||||
|
- For DNS DHCP reset, keep the cmdlet reset and explicitly set IPv4 and IPv6 DNS source to DHCP.
|
||||||
@@ -1,147 +1,46 @@
|
|||||||
param (
|
param (
|
||||||
[switch]$Debug,
|
[switch]$Run
|
||||||
[switch]$Run,
|
|
||||||
[switch]$SkipPreprocessing,
|
|
||||||
[string]$Arguments
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if ((Get-Item ".\winutil.ps1" -ErrorAction SilentlyContinue).IsReadOnly) {
|
|
||||||
Remove-Item ".\winutil.ps1" -Force
|
|
||||||
}
|
|
||||||
|
|
||||||
$OFS = "`r`n"
|
$OFS = "`r`n"
|
||||||
$scriptname = "winutil.ps1"
|
|
||||||
$workingdir = $PSScriptRoot
|
|
||||||
|
|
||||||
Push-Location
|
|
||||||
Set-Location $workingdir
|
|
||||||
|
|
||||||
# Variable to sync between runspaces
|
# Variable to sync between runspaces
|
||||||
$sync = [Hashtable]::Synchronized(@{})
|
$sync = [Hashtable]::Synchronized(@{})
|
||||||
$sync.PSScriptRoot = $workingdir
|
|
||||||
$sync.configs = @{}
|
$sync.configs = @{}
|
||||||
|
|
||||||
function Update-Progress {
|
$script = (Get-Content -Path scripts\start.ps1) -replace '#{replaceme}', (Get-Date -Format 'yy.MM.dd')
|
||||||
param (
|
|
||||||
[Parameter(Mandatory, position=0)]
|
|
||||||
[string]$StatusMessage,
|
|
||||||
|
|
||||||
[Parameter(Mandatory, position=1)]
|
$script += Get-ChildItem -Path functions -Recurse -File | ForEach-Object {
|
||||||
[ValidateRange(0,100)]
|
Get-Content -Path $_.FullName -Raw
|
||||||
[int]$Percent,
|
|
||||||
|
|
||||||
[Parameter(position=2)]
|
|
||||||
[string]$Activity = "Compiling"
|
|
||||||
)
|
|
||||||
|
|
||||||
Write-Progress -Activity $Activity -Status $StatusMessage -PercentComplete $Percent
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$header = @"
|
Get-ChildItem config | ForEach-Object {
|
||||||
################################################################################################################
|
$obj = Get-Content -Path $_.FullName -Raw | ConvertFrom-Json
|
||||||
### ###
|
|
||||||
### WARNING: This file is automatically generated DO NOT modify this file directly as it will be overwritten ###
|
|
||||||
### ###
|
|
||||||
################################################################################################################
|
|
||||||
"@
|
|
||||||
|
|
||||||
if (-NOT $SkipPreprocessing) {
|
if ($_.Name -eq "applications.json") {
|
||||||
Update-Progress "Pre-req: Running Preprocessor..." 0
|
$fixed = [ordered]@{}
|
||||||
|
foreach ($p in $obj.PSObject.Properties) {
|
||||||
# Dot source the 'Invoke-Preprocessing' Function from 'tools/Invoke-Preprocessing.ps1' Script
|
$fixed["WPFInstall$($p.Name)"] = $p.Value
|
||||||
$preprocessingFilePath = ".\tools\Invoke-Preprocessing.ps1"
|
|
||||||
. $preprocessingFilePath
|
|
||||||
|
|
||||||
$excludedFiles = @('.\.git\', '.\.gitignore', '.\.gitattributes', '.\.github\CODEOWNERS', '.\LICENSE', "$preprocessingFilePath", '*.png', '*.exe')
|
|
||||||
$msg = "Pre-req: Code Formatting"
|
|
||||||
Invoke-Preprocessing -WorkingDir "$workingdir" -ExcludedFiles $excludedFiles -ProgressStatusMessage $msg -ThrowExceptionOnEmptyFilesList
|
|
||||||
}
|
|
||||||
|
|
||||||
# Create the script in memory.
|
|
||||||
Update-Progress "Pre-req: Allocating Memory" 0
|
|
||||||
$script_content = [System.Collections.Generic.List[string]]::new()
|
|
||||||
|
|
||||||
Update-Progress "Adding: Header" 5
|
|
||||||
$script_content.Add($header)
|
|
||||||
|
|
||||||
Update-Progress "Adding: Version" 10
|
|
||||||
$script_content.Add($(Get-Content "scripts\start.ps1").replace('#{replaceme}',"$(Get-Date -Format yy.MM.dd)"))
|
|
||||||
|
|
||||||
Update-Progress "Adding: Functions" 20
|
|
||||||
Get-ChildItem "functions" -Recurse -File | ForEach-Object {
|
|
||||||
$script_content.Add($(Get-Content $psitem.FullName))
|
|
||||||
}
|
|
||||||
Update-Progress "Adding: Config *.json" 40
|
|
||||||
Get-ChildItem "config" | Where-Object {$psitem.extension -eq ".json"} | ForEach-Object {
|
|
||||||
$json = (Get-Content $psitem.FullName -Raw)
|
|
||||||
$jsonAsObject = $json | ConvertFrom-Json
|
|
||||||
|
|
||||||
# Add 'WPFInstall' as a prefix to every entry-name in 'applications.json' file
|
|
||||||
if ($psitem.Name -eq "applications.json") {
|
|
||||||
foreach ($appEntryName in $jsonAsObject.PSObject.Properties.Name) {
|
|
||||||
$appEntryContent = $jsonAsObject.$appEntryName
|
|
||||||
$jsonAsObject.PSObject.Properties.Remove($appEntryName)
|
|
||||||
$jsonAsObject | Add-Member -MemberType NoteProperty -Name "WPFInstall$appEntryName" -Value $appEntryContent
|
|
||||||
}
|
}
|
||||||
|
$obj = [pscustomobject]$fixed
|
||||||
}
|
}
|
||||||
|
|
||||||
# Line 90 requires no whitespace inside the here-strings, to keep formatting of the JSON in the final script.
|
$json = $obj | ConvertTo-Json -Depth 10
|
||||||
$json = @"
|
|
||||||
$($jsonAsObject | ConvertTo-Json -Depth 3)
|
|
||||||
"@
|
|
||||||
|
|
||||||
$sync.configs.$($psitem.BaseName) = $json | ConvertFrom-Json
|
$sync.configs[$_.BaseName] = $obj
|
||||||
$script_content.Add($(Write-Output "`$sync.configs.$($psitem.BaseName) = @'`r`n$json`r`n'@ `| ConvertFrom-Json" ))
|
$script += "`$sync.configs.$($_.BaseName) = @'`r`n$json`r`n'@ | ConvertFrom-Json"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Read the entire XAML file as a single string, preserving line breaks
|
$xaml = Get-Content -Path xaml\inputXML.xaml -Raw
|
||||||
$xaml = Get-Content "$workingdir\xaml\inputXML.xaml" -Raw
|
$script += "`$inputXML = @'`r`n$xaml`r`n'@"
|
||||||
|
|
||||||
Update-Progress "Adding: Xaml " 90
|
$autounattendXml = Get-Content -Path tools\autounattend.xml -Raw
|
||||||
|
$script += "`$WinUtilAutounattendXml = @'`r`n$autounattendXml`r`n'@"
|
||||||
|
|
||||||
# Add the XAML content to $script_content using a here-string
|
$script += Get-Content -Path scripts\main.ps1 -Raw
|
||||||
$script_content.Add(@"
|
|
||||||
`$inputXML = @'
|
|
||||||
$xaml
|
|
||||||
'@
|
|
||||||
"@)
|
|
||||||
|
|
||||||
$script_content.Add($(Get-Content "scripts\main.ps1"))
|
Set-Content -Path winutil.ps1 -Value $script
|
||||||
|
|
||||||
if ($Debug) {
|
if ($Run) {
|
||||||
Update-Progress "Writing debug files" 95
|
.\Winutil.ps1
|
||||||
$appXamlContent | Out-File -FilePath "xaml\inputApp.xaml" -Encoding ascii
|
|
||||||
$tweaksXamlContent | Out-File -FilePath "xaml\inputTweaks.xaml" -Encoding ascii
|
|
||||||
$featuresXamlContent | Out-File -FilePath "xaml\inputFeatures.xaml" -Encoding ascii
|
|
||||||
} else {
|
|
||||||
Update-Progress "Removing temporary files" 99
|
|
||||||
Remove-Item "xaml\inputApp.xaml" -ErrorAction SilentlyContinue
|
|
||||||
Remove-Item "xaml\inputTweaks.xaml" -ErrorAction SilentlyContinue
|
|
||||||
Remove-Item "xaml\inputFeatures.xaml" -ErrorAction SilentlyContinue
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Set-Content -Path "$scriptname" -Value ($script_content -join "`r`n") -Encoding ascii
|
|
||||||
Write-Progress -Activity "Compiling" -Completed
|
|
||||||
|
|
||||||
Update-Progress -Activity "Validating" -StatusMessage "Checking winutil.ps1 Syntax" -Percent 0
|
|
||||||
try {
|
|
||||||
Get-Command -Syntax .\winutil.ps1 | Out-Null
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Syntax Validation for 'winutil.ps1' has failed"
|
|
||||||
Write-Host "$($Error[0])" -ForegroundColor Red
|
|
||||||
Pop-Location # Restore previous location before exiting...
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
Write-Progress -Activity "Validating" -Completed
|
|
||||||
|
|
||||||
if ($run) {
|
|
||||||
$script = "& '$workingdir\$scriptname' $Arguments"
|
|
||||||
|
|
||||||
$powershellcmd = if (Get-Command pwsh -ErrorAction SilentlyContinue) { "pwsh" } else { "powershell" }
|
|
||||||
$processCmd = if (Get-Command wt.exe -ErrorAction SilentlyContinue) { "wt.exe" } else { $powershellcmd }
|
|
||||||
|
|
||||||
Start-Process $processCmd -ArgumentList "$powershellcmd -NoProfile -Command $script"
|
|
||||||
|
|
||||||
break
|
|
||||||
}
|
|
||||||
Pop-Location
|
|
||||||
|
|||||||
@@ -1,64 +1,89 @@
|
|||||||
# Chris Titus Tech's Windows Utility
|
# Chris Titus Tech's Windows Utility
|
||||||
|
|
||||||
[](https://github.com/ChrisTitusTech/winutil/releases/latest)
|
[](https://github.com/ChrisTitusTech/winutil/releases/latest)
|
||||||

|

|
||||||
[](https://discord.gg/RUbZUZyByQ)
|
[](https://discord.gg/RUbZUZyByQ)
|
||||||
|
|
||||||
This utility is a compilation of Windows tasks I perform on each Windows system I use. It is meant to streamline *installs*, debloat with *tweaks*, troubleshoot with *config*, and fix Windows *updates*. I am extremely picky about any contributions to keep this project clean and efficient.
|
A curated compilation of Windows system tasks streamline **installs**, debloat with **tweaks**, troubleshoot with **config**, and configure **Windows updates**. Run it fresh on every new Windows install.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## 💡 Usage
|
|
||||||
|
|
||||||
Winutil must be run in Admin mode because it performs system-wide tweaks. To achieve this, run PowerShell as an administrator. Here are a few ways to do it:
|
---
|
||||||
|
|
||||||
1. **Start menu Method:**
|
## Quick Start
|
||||||
- Right-click on the start menu.
|
|
||||||
- Choose "Windows PowerShell (Admin)" (for Windows 10) or "Terminal (Admin)" (for Windows 11).
|
|
||||||
|
|
||||||
2. **Search and Launch Method:**
|
> **WinUtil must be run as Administrator** Because it performs system-wide changes.
|
||||||
- Press the Windows key.
|
|
||||||
- Type "PowerShell" or "Terminal" (for Windows 11).
|
|
||||||
- Press `Ctrl + Shift + Enter` or Right-click and choose "Run as administrator" to launch it with administrator privileges.
|
|
||||||
|
|
||||||
### Launch Command
|
Open PowerShell or Terminal as admin, then run:
|
||||||
|
|
||||||
#### Stable Branch (Recommended)
|
|
||||||
|
|
||||||
|
**Stable Branch (recommended)**
|
||||||
```ps1
|
```ps1
|
||||||
irm "https://christitus.com/win" | iex
|
irm https://christitus.com/win | iex
|
||||||
```
|
|
||||||
#### Dev Branch
|
|
||||||
|
|
||||||
```ps1
|
|
||||||
irm "https://christitus.com/windev" | iex
|
|
||||||
```
|
```
|
||||||
|
|
||||||
If you have Issues, refer to [Known Issues](https://christitustech.github.io/winutil/KnownIssues/)
|
**Development Branch**
|
||||||
|
```ps1
|
||||||
|
irm https://christitus.com/windev | iex
|
||||||
|
```
|
||||||
|
|
||||||
## 🎓 Documentation
|
### How to open an admin terminal
|
||||||
|
|
||||||
### [WinUtil Official Documentation](https://christitustech.github.io/winutil/)
|
- **Start menu:** Right-click Start → *Windows PowerShell (Admin)* or *Terminal (Admin)*
|
||||||
|
- **Search:** Press the `Windows key`, and type `PowerShell` or `Terminal`, then `Ctrl + Shift + Enter`
|
||||||
|
|
||||||
### [YouTube Tutorial](https://www.youtube.com/watch?v=6UQZ5oQg8XA)
|
---
|
||||||
|
|
||||||
### [ChrisTitus.com Article](https://christitus.com/windows-tool/)
|
## Automation / Presets
|
||||||
|
|
||||||
## 💖 Support
|
Apply a predefined configuration without manual selection:
|
||||||
- To morally and mentally support the project, make sure to leave a ⭐️!
|
|
||||||
|
```powershell
|
||||||
|
& ([ScriptBlock]::Create((irm https://christitus.com/win))) -Preset Standard
|
||||||
|
```
|
||||||
|
|
||||||
|
| Preset | Description |
|
||||||
|
|--------|-------------|
|
||||||
|
| `Standard` | Balanced defaults for most users |
|
||||||
|
| `Minimal` | Minimal changes to suit every user |
|
||||||
|
| `Advanced` | Deep tweaks for power users |
|
||||||
|
|
||||||
|
To view exactly what each preset does, see:
|
||||||
|
https://github.com/ChrisTitusTech/winutil/blob/main/config/preset.json
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Build & Develop
|
||||||
|
|
||||||
|
See https://github.com/ChrisTitusTech/winutil/blob/main/.github/CONTRIBUTING.md
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Resources
|
||||||
|
|
||||||
|
- [Official Documentation](https://winutil.christitus.com/)
|
||||||
|
- [YouTube Tutorial](https://www.youtube.com/watch?v=6UQZ5oQg8XA)
|
||||||
|
- [ChrisTitus.com Article](https://christitus.com/windows-tool/)
|
||||||
|
- [Known Issues](https://winutil.christitus.com/knownissues/)
|
||||||
|
- [Report an Issue](https://github.com/ChrisTitusTech/winutil/issues)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Support
|
||||||
|
|
||||||
|
- Leave a ⭐ to show support!
|
||||||
- EXE Wrapper for $10 @ https://www.cttstore.com/windows-toolbox
|
- EXE Wrapper for $10 @ https://www.cttstore.com/windows-toolbox
|
||||||
|
|
||||||
## 💖 Sponsors
|
## Sponsors
|
||||||
|
|
||||||
These are the sponsors that help keep this project alive with monthly contributions.
|
These are the sponsors that help keep this project alive with monthly contributions.
|
||||||
|
|
||||||
<!-- sponsors --><a href="https://github.com/TriHydera"><img src="https://github.com/TriHydera.png" width="60px" alt="User avatar: TriHydera" /></a><a href="https://github.com/jozozovko"><img src="https://github.com/jozozovko.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DelDongo"><img src="https://github.com/DelDongo.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/markamos"><img src="https://github.com/markamos.png" width="60px" alt="User avatar: Mark Amos" /></a><a href="https://github.com/dwelfusius"><img src="https://github.com/dwelfusius.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/mews-se"><img src="https://github.com/mews-se.png" width="60px" alt="User avatar: Martin Stockzell" /></a><a href="https://github.com/jdiegmueller"><img src="https://github.com/jdiegmueller.png" width="60px" alt="User avatar: Jason A. Diegmueller" /></a><a href="https://github.com/altugtekiner"><img src="https://github.com/altugtekiner.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/robertsandrock"><img src="https://github.com/robertsandrock.png" width="60px" alt="User avatar: RMS" /></a><a href="https://github.com/KenichiQaz"><img src="https://github.com/KenichiQaz.png" width="60px" alt="User avatar: Stefan" /></a><a href="https://github.com/paulsheets"><img src="https://github.com/paulsheets.png" width="60px" alt="User avatar: Paul" /></a><a href="https://github.com/djones369"><img src="https://github.com/djones369.png" width="60px" alt="User avatar: Dave Jones" /></a><a href="https://github.com/anthonymendez"><img src="https://github.com/anthonymendez.png" width="60px" alt="User avatar: Anthony Mendez" /></a><a href="https://github.com/claudemods"><img src="https://github.com/claudemods.png" width="60px" alt="User avatar: Claudemods" /></a><a href="https://github.com/FatBastard0"><img src="https://github.com/FatBastard0.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/Ascent7910"><img src="https://github.com/Ascent7910.png" width="60px" alt="User avatar: Max" /></a><a href="https://github.com/DursleyGuy"><img src="https://github.com/DursleyGuy.png" width="60px" alt="User avatar: DursleyGuy" /></a><a href="https://github.com/realmuddy"><img src="https://github.com/realmuddy.png" width="60px" alt="User avatar: Phillip Waters" /></a><a href="https://github.com/quaszi"><img src="https://github.com/quaszi.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DwayneTheRockLobster1"><img src="https://github.com/DwayneTheRockLobster1.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/KieraKujisawa"><img src="https://github.com/KieraKujisawa.png" width="60px" alt="User avatar: Kiera Meredith" /></a><!-- sponsors -->
|
<!-- sponsors --><a href="https://github.com/ysaito8015"><img src="https://github.com/ysaito8015.png" width="60px" alt="User avatar: Yusuke Saito" /></a><a href="https://github.com/dwelfusius"><img src="https://github.com/dwelfusius.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/mews-se"><img src="https://github.com/mews-se.png" width="60px" alt="User avatar: Martin" /></a><a href="https://github.com/jdiegmueller"><img src="https://github.com/jdiegmueller.png" width="60px" alt="User avatar: Jason A. Diegmueller" /></a><a href="https://github.com/robertsandrock"><img src="https://github.com/robertsandrock.png" width="60px" alt="User avatar: RMS" /></a><a href="https://github.com/paulsheets"><img src="https://github.com/paulsheets.png" width="60px" alt="User avatar: Paul" /></a><a href="https://github.com/djones369"><img src="https://github.com/djones369.png" width="60px" alt="User avatar: Dave J (WhamGeek)" /></a><a href="https://github.com/anthonymendez"><img src="https://github.com/anthonymendez.png" width="60px" alt="User avatar: Anthony Mendez" /></a><a href="https://github.com/FatBastard0"><img src="https://github.com/FatBastard0.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DursleyGuy"><img src="https://github.com/DursleyGuy.png" width="60px" alt="User avatar: DursleyGuy" /></a><a href="https://github.com/DwayneTheRockLobster1"><img src="https://github.com/DwayneTheRockLobster1.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/KieraKujisawa"><img src="https://github.com/KieraKujisawa.png" width="60px" alt="User avatar: Kiera Meredith" /></a><a href="https://github.com/andrewpayne68"><img src="https://github.com/andrewpayne68.png" width="60px" alt="User avatar: Andrew P" /></a><a href="https://github.com/seanh1995"><img src="https://github.com/seanh1995.png" width="60px" alt="User avatar: Sean (ANGRYxScotsman)" /></a><a href="https://github.com/Abs313a"><img src="https://github.com/Abs313a.png" width="60px" alt="User avatar: Abs" /></a><!-- sponsors -->
|
||||||
|
|
||||||
## 🏅 Thanks to all Contributors
|
---
|
||||||
Thanks a lot for spending your time helping Winutil grow. Thanks a lot! Keep rocking 🍻.
|
|
||||||
|
## Contributors
|
||||||
|
|
||||||
[](https://github.com/ChrisTitusTech/winutil/graphs/contributors)
|
[](https://github.com/ChrisTitusTech/winutil/graphs/contributors)
|
||||||
|
|
||||||
## 📊 GitHub Stats
|
Thanks to everyone who has contributed time and effort to this project. Keep rocking 🍻
|
||||||
|
|
||||||

|
|
||||||
|
|||||||
@@ -0,0 +1,105 @@
|
|||||||
|
# SPEC.md
|
||||||
|
|
||||||
|
## Project Contract
|
||||||
|
|
||||||
|
WinUtil is a Windows PowerShell utility with a WPF interface. The repository is maintained as modular source files, but the released artifact is a single generated `winutil.ps1` script.
|
||||||
|
|
||||||
|
The compiled `winutil.ps1` is not source code for editing or review. It is generated by `Compile.ps1` and produced during release automation. All durable changes must be made to the source files that feed the compiler.
|
||||||
|
|
||||||
|
## Goals
|
||||||
|
|
||||||
|
- Provide a single-script Windows utility that can be launched from PowerShell.
|
||||||
|
- Keep development modular enough for contributors to work on functions, config, UI, docs, and tooling independently.
|
||||||
|
- Make install, tweak, feature, repair, update, and ISO workflows discoverable from the WPF UI.
|
||||||
|
- Keep common lists and options declarative in JSON config where possible.
|
||||||
|
- Preserve a repeatable compile process so local builds and GitHub Actions builds produce the distributable script from the same inputs.
|
||||||
|
|
||||||
|
## Non-Goals
|
||||||
|
|
||||||
|
- `winutil.ps1` is not hand-maintained.
|
||||||
|
- The project is not structured as a PowerShell module at runtime.
|
||||||
|
- The GUI is not a separate packaged desktop application in this repository's normal release path.
|
||||||
|
- Generated files should not be reviewed as source changes.
|
||||||
|
|
||||||
|
## Repository Layout
|
||||||
|
|
||||||
|
- `Compile.ps1`: build script that creates `winutil.ps1`.
|
||||||
|
- `scripts/start.ps1`: startup/bootstrap segment used at the beginning of the compiled script.
|
||||||
|
- `scripts/main.ps1`: main entrypoint appended at the end of the compiled script.
|
||||||
|
- `functions/public/`: public/UI-facing PowerShell functions.
|
||||||
|
- `functions/private/`: internal helper PowerShell functions.
|
||||||
|
- `config/`: JSON configuration consumed at compile time and embedded into `$sync.configs`.
|
||||||
|
- `xaml/inputXML.xaml`: WPF UI markup embedded into the compiled script.
|
||||||
|
- `tools/autounattend.xml`: unattended setup XML embedded for Windows ISO workflows.
|
||||||
|
- `pester/`: Pester tests for config and function checks.
|
||||||
|
- `lint/PSScriptAnalyser.ps1`: PowerShell Script Analyzer settings.
|
||||||
|
- `docs/`: Hugo documentation site.
|
||||||
|
- `winutil.ps1`: ignored generated build artifact.
|
||||||
|
|
||||||
|
## Compile Specification
|
||||||
|
|
||||||
|
`Compile.ps1` must produce a standalone root `winutil.ps1` by combining all required project files.
|
||||||
|
|
||||||
|
The compile flow is:
|
||||||
|
|
||||||
|
1. Initialize shared state with `$sync = [Hashtable]::Synchronized(@{})` and `$sync.configs = @{}`.
|
||||||
|
2. Read `scripts/start.ps1`.
|
||||||
|
3. Replace `#{replaceme}` in startup code with the current `yy.MM.dd` build date.
|
||||||
|
4. Append raw content from all files under `functions/` recursively.
|
||||||
|
5. For every file in `config/`, parse JSON and embed it into `$sync.configs.<basename>`.
|
||||||
|
6. Special-case `config/applications.json` so application keys are emitted with the `WPFInstall` prefix.
|
||||||
|
7. Embed `xaml/inputXML.xaml` as `$inputXML`.
|
||||||
|
8. Embed `tools/autounattend.xml` as `$WinUtilAutounattendXml`.
|
||||||
|
9. Append `scripts/main.ps1`.
|
||||||
|
10. Write the combined script to `winutil.ps1`.
|
||||||
|
11. If `-Run` is supplied, execute the generated script.
|
||||||
|
|
||||||
|
The generated script must have everything it needs from repository sources embedded or appended by this process.
|
||||||
|
|
||||||
|
## Runtime Model
|
||||||
|
|
||||||
|
- WinUtil runs in PowerShell on Windows and uses WPF for the UI.
|
||||||
|
- Shared mutable state is stored in `$sync`, including configs, UI element references, runspace state, selections, and progress.
|
||||||
|
- Long-running operations should use runspaces or existing async patterns so the UI remains responsive.
|
||||||
|
- UI updates from background work must be dispatched back to the WPF UI thread.
|
||||||
|
- Declarative features such as apps, tweaks, presets, DNS providers, and navigation should stay in `config/*.json` unless code is required.
|
||||||
|
|
||||||
|
## UI And Event Contract
|
||||||
|
|
||||||
|
- UI layout lives in `xaml/inputXML.xaml`.
|
||||||
|
- Named WPF controls are discovered and stored in `$sync`.
|
||||||
|
- Button/action wiring follows existing naming conventions, where an element named like `WPFThingButton` maps to a function named like `Invoke-WPFThingButton`.
|
||||||
|
- When adding controls, ensure the XAML name, config key, and PowerShell function names line up with the existing event system.
|
||||||
|
|
||||||
|
## Configuration Contract
|
||||||
|
|
||||||
|
Config files must remain valid JSON and compile cleanly through `ConvertFrom-Json`.
|
||||||
|
|
||||||
|
`config/applications.json` defines installable applications. Each application entry should include the fields expected by tests and UI code, such as package manager IDs, category, display content, description, and link.
|
||||||
|
|
||||||
|
`config/tweaks.json` defines Windows tweaks. Registry and service changes should include original values or original states when applicable so undo workflows can restore user systems.
|
||||||
|
|
||||||
|
Preset and navigation files should reference valid config keys. Avoid renaming config keys unless all presets, UI references, docs, and code paths are updated together.
|
||||||
|
|
||||||
|
## Safety Requirements
|
||||||
|
|
||||||
|
- Registry, service, package manager, Windows Update, AppX removal, and ISO operations can affect the host system. Changes must be explicit, reversible where practical, and consistent with existing logging and confirmation patterns.
|
||||||
|
- Tweak changes should include undo metadata when the schema supports it.
|
||||||
|
- Package installation should prefer existing WinGet and Chocolatey helper functions.
|
||||||
|
- ISO workflows must not modify the user's original ISO file; they should work on copied/mounted content following existing patterns.
|
||||||
|
|
||||||
|
## Testing And CI
|
||||||
|
|
||||||
|
Expected validation for source changes:
|
||||||
|
|
||||||
|
- `.\Compile.ps1` verifies the compiler can generate `winutil.ps1`.
|
||||||
|
- `.\Compile.ps1 -Run` compiles and launches the generated utility for manual GUI verification.
|
||||||
|
- `Install-Module -Name Pester -RequiredVersion 5.8.0 -Scope CurrentUser -Force -SkipPublisherCheck` installs the supported Pester version.
|
||||||
|
- `Import-Module Pester -RequiredVersion 5.8.0 -Force; Invoke-Pester -Path 'pester/*.Tests.ps1' -Output Detailed -CI` runs the Pester suite.
|
||||||
|
- GitHub Actions also runs a compile check and PowerShell Script Analyzer with `lint/PSScriptAnalyser.ps1`.
|
||||||
|
|
||||||
|
The generated `winutil.ps1` may appear locally after compile. It remains ignored build output and must not be committed.
|
||||||
|
|
||||||
|
## Release Artifact
|
||||||
|
|
||||||
|
GitHub Actions is responsible for producing the release `winutil.ps1` from repository sources. A release should be considered valid only if the generated script came from the compile process, not from direct manual edits to `winutil.ps1`.
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
# Import the function (adjust the path according to your setup)
|
|
||||||
. "./functions/private/Install-WinUtilWinget.ps1"
|
|
||||||
. "./functions/private/Test-WinUtilPackageManager.ps1"
|
|
||||||
|
|
||||||
# Set up Information stream to be visible
|
|
||||||
$InformationPreference = "Continue"
|
|
||||||
|
|
||||||
Write-Host "Starting Winget installation test..." -ForegroundColor Cyan
|
|
||||||
|
|
||||||
try {
|
|
||||||
Install-WinUtilWinget
|
|
||||||
} catch {
|
|
||||||
Write-Host "Error occurred during testing: $($_.Exception.Message)" -ForegroundColor Red
|
|
||||||
Write-Host "Stack Trace:" -ForegroundColor Red
|
|
||||||
$_.ScriptStackTrace
|
|
||||||
}
|
|
||||||
@@ -1,40 +1,33 @@
|
|||||||
{
|
{
|
||||||
"WPFToggleView": {
|
"WPFInstall": {
|
||||||
"Content": ["Expanded View", "Compact View"],
|
"Content": "Install/Upgrade Applications",
|
||||||
"Category": "____Actions",
|
"Category": "____Actions",
|
||||||
"Type": "ToggleButton",
|
"Type": "Button",
|
||||||
"Order": "1",
|
"Order": "1",
|
||||||
"Description": "Toggle between a list and a compact grid like view"
|
"Description": "Install or upgrade the selected applications"
|
||||||
},
|
},
|
||||||
"WPFSelectedFilter": {
|
"WPFUninstall": {
|
||||||
"Content": [ "Show All", "Show Selected"],
|
"Content": "Uninstall Applications",
|
||||||
"Category": "____Actions",
|
"Category": "____Actions",
|
||||||
"Type": "ToggleButton",
|
"Type": "Button",
|
||||||
"Order": "2",
|
"Order": "2",
|
||||||
"Description": "Toggle between showing all or only the selected applications"
|
"Description": "Uninstall the selected applications"
|
||||||
},
|
},
|
||||||
"WPFClearInstallSelection": {
|
"WPFInstallUpgrade": {
|
||||||
"Content": "Clear Selection",
|
"Content": "Upgrade all Applications",
|
||||||
"Category": "____Actions",
|
"Category": "____Actions",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"Order": "3",
|
"Order": "3",
|
||||||
"Description": "Clear the selection of applications"
|
"Description": "Upgrade all applications to the latest version"
|
||||||
},
|
|
||||||
"WPFGetInstalled": {
|
|
||||||
"Content": "Get Installed",
|
|
||||||
"Category": "____Actions",
|
|
||||||
"Type": "Button",
|
|
||||||
"Order": "4",
|
|
||||||
"Description": "Show installed applications"
|
|
||||||
},
|
},
|
||||||
"WingetRadioButton": {
|
"WingetRadioButton": {
|
||||||
"Content": "Winget",
|
"Content": "WinGet",
|
||||||
"Category": "__Package Manager",
|
"Category": "__Package Manager",
|
||||||
"Type": "RadioButton",
|
"Type": "RadioButton",
|
||||||
"GroupName": "PackageManagerGroup",
|
"GroupName": "PackageManagerGroup",
|
||||||
"Checked": true,
|
"Checked": true,
|
||||||
"Order": "1",
|
"Order": "1",
|
||||||
"Description": "Use Winget for package management"
|
"Description": "Use WinGet for package management"
|
||||||
},
|
},
|
||||||
"ChocoRadioButton": {
|
"ChocoRadioButton": {
|
||||||
"Content": "Chocolatey",
|
"Content": "Chocolatey",
|
||||||
@@ -44,5 +37,47 @@
|
|||||||
"Checked": false,
|
"Checked": false,
|
||||||
"Order": "2",
|
"Order": "2",
|
||||||
"Description": "Use Chocolatey for package management"
|
"Description": "Use Chocolatey for package management"
|
||||||
|
},
|
||||||
|
"WPFCollapseAllCategories": {
|
||||||
|
"Content": "Collapse All Categories",
|
||||||
|
"Category": "__Selection",
|
||||||
|
"Type": "Button",
|
||||||
|
"Order": "1",
|
||||||
|
"Description": "Collapse all application categories"
|
||||||
|
},
|
||||||
|
"WPFExpandAllCategories": {
|
||||||
|
"Content": "Expand All Categories",
|
||||||
|
"Category": "__Selection",
|
||||||
|
"Type": "Button",
|
||||||
|
"Order": "2",
|
||||||
|
"Description": "Expand all application categories"
|
||||||
|
},
|
||||||
|
"WPFClearInstallSelection": {
|
||||||
|
"Content": "Clear Selection",
|
||||||
|
"Category": "__Selection",
|
||||||
|
"Type": "Button",
|
||||||
|
"Order": "3",
|
||||||
|
"Description": "Clear the selection of applications"
|
||||||
|
},
|
||||||
|
"WPFGetInstalled": {
|
||||||
|
"Content": "Show Installed Apps",
|
||||||
|
"Category": "__Selection",
|
||||||
|
"Type": "Button",
|
||||||
|
"Order": "4",
|
||||||
|
"Description": "Show installed applications"
|
||||||
|
},
|
||||||
|
"WPFselectedAppsButton": {
|
||||||
|
"Content": "Selected Apps: 0",
|
||||||
|
"Category": "__Selection",
|
||||||
|
"Type": "Button",
|
||||||
|
"Order": "5",
|
||||||
|
"Description": "Show the selected applications"
|
||||||
|
},
|
||||||
|
"WPFInstallFOSSInfo": {
|
||||||
|
"Content": "Free and Open Source Software",
|
||||||
|
"Category": "__Selection",
|
||||||
|
"Type": "Note",
|
||||||
|
"Order": "0",
|
||||||
|
"Description": "Information about the #FOSS label on application entries"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,263 @@
|
|||||||
|
{
|
||||||
|
"WPFAppxMicrosoft_WindowsFeedbackHub": {
|
||||||
|
"Category": "Microsoft Apps",
|
||||||
|
"Content": "Feedback Hub",
|
||||||
|
"Description": "Allows users to submit bug reports, feature suggestions, and diagnostic data directly to Microsoft.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsFeedbackHub",
|
||||||
|
"StoreId": "9NBLGGH4R32N"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_GetHelp": {
|
||||||
|
"Category": "Microsoft Apps",
|
||||||
|
"Content": "Get Help",
|
||||||
|
"Description": "Provides access to automated troubleshooting guides, support documentation, and direct Microsoft customer assistance.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.GetHelp",
|
||||||
|
"StoreId": "9PKDZBMV1H3T"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_OutlookForWindows": {
|
||||||
|
"Category": "Microsoft Apps",
|
||||||
|
"Content": "Outlook for Windows",
|
||||||
|
"Description": "Provides modern email management, calendar scheduling, and contact organization features.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.OutlookForWindows",
|
||||||
|
"StoreId": "9NRX63209R7B"
|
||||||
|
},
|
||||||
|
"WPFAppxMSTeams": {
|
||||||
|
"Category": "Microsoft Apps",
|
||||||
|
"Content": "Microsoft Teams",
|
||||||
|
"Description": "Facilitates instant messaging, video conferencing, file sharing, and workspace collaboration.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "MSTeams",
|
||||||
|
"StoreId": "XP8BT8DW290MPQ"
|
||||||
|
},
|
||||||
|
"WPFAppxClipchamp_Clipchamp": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Clipchamp",
|
||||||
|
"Description": "Provides a user-friendly video editor with built-in templates, effects, and timeline editing tools.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Clipchamp.Clipchamp",
|
||||||
|
"StoreId": "9P1J8S7CCWWT"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_MicrosoftOfficeHub": {
|
||||||
|
"Category": "Microsoft Apps",
|
||||||
|
"Content": "Microsoft 365",
|
||||||
|
"Description": "Serves as a centralized launcher and dashboard for accessing cloud-based Microsoft 365 apps and recent documents.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.MicrosoftOfficeHub",
|
||||||
|
"StoreId": "9WZDNCRD29V9"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_ZuneMusic": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Media Player",
|
||||||
|
"Description": "Plays local audio and video files with modern playlist management and casting capabilities.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.ZuneMusic",
|
||||||
|
"StoreId": "9WZDNCRFJ3PT"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_BingSearch": {
|
||||||
|
"Category": "Bing & Web Services",
|
||||||
|
"Content": "Bing Search",
|
||||||
|
"Description": "Integrates Microsoft Bing search capabilities and web services directly into the operating system.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.BingSearch",
|
||||||
|
"StoreId": "9NZBF4GT040C"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoftCorporationII_QuickAssist": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Quick Assist",
|
||||||
|
"Description": "Enables secure remote technical support and screen sharing over an internet connection.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "MicrosoftCorporationII.QuickAssist",
|
||||||
|
"StoreId": "9P7BP5VNWKX5"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsDevHome": {
|
||||||
|
"Category": "Developer Tools",
|
||||||
|
"Content": "Dev Home",
|
||||||
|
"Description": "Provides a specialized dashboard for software developer environment setups, repository syncing, and hardware widgets.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.Windows.DevHome",
|
||||||
|
"StoreId": "9N8MHTPHNGVV"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsCrossDevice": {
|
||||||
|
"Category": "Microsoft Ecosystem",
|
||||||
|
"Content": "Mobile Devices",
|
||||||
|
"Description": "Manages system-level background connectivity with paired mobile devices. Removing this may disable cross-device features such as phone screen mirroring, file transfer, and mobile hotspot handoff integrated into Windows Settings.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "MicrosoftWindows.CrossDevice",
|
||||||
|
"StoreId": "9NTXGKQ8P7N0"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_Todos": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "To Do",
|
||||||
|
"Description": "Creates, tracks, and synchronizes personal tasks, smart lists, and daily reminders.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.Todos",
|
||||||
|
"StoreId": "9NBLGGH5R558"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_PowerAutomateDesktop": {
|
||||||
|
"Category": "Developer Tools",
|
||||||
|
"Content": "Power Automate",
|
||||||
|
"Description": "Automates repetitive workflows and desktop tasks using low-code visual scripting.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.PowerAutomateDesktop",
|
||||||
|
"StoreId": "9NFTCH6J7FHV"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_YourPhone": {
|
||||||
|
"Category": "Microsoft Ecosystem",
|
||||||
|
"Content": "Phone Link",
|
||||||
|
"Description": "Synchronizes text messages, phone notifications, photos, and calls from a mobile device to the desktop.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.YourPhone",
|
||||||
|
"StoreId": "9NMPJ99VJBWV"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_MicrosoftStickyNotes": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Sticky Notes",
|
||||||
|
"Description": "Creates quick, floating text notes on the desktop that automatically sync across devices.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.MicrosoftStickyNotes",
|
||||||
|
"StoreId": "9NBLGGH4QGHW"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsSoundRecorder": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Sound Recorder",
|
||||||
|
"Description": "Records and trims live audio inputs with simple microphone adjustment controls.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsSoundRecorder",
|
||||||
|
"StoreId": "9WZDNCRFHWKN"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsAlarms": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Clock",
|
||||||
|
"Description": "Features world clocks, alarms, countdown timers, stopwatches, and dedicated focus session tracking.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsAlarms",
|
||||||
|
"StoreId": "9WZDNCRFJ3PR"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_Paint": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Paint",
|
||||||
|
"Description": "Provides built-in digital sketching, basic image editing, and pixel-level graphic manipulation tools.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.Paint",
|
||||||
|
"StoreId": "9PCFS5B6T72H"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsNotepad": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Notepad",
|
||||||
|
"Description": "Provides a lightweight text editor with multi-tab support for plain text files and code snippets.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsNotepad",
|
||||||
|
"StoreId": "9MSMLRH6LZF3"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_ScreenSketch": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Snipping Tool",
|
||||||
|
"Description": "Captures screenshots or screen recordings with built-in markup, image cropping, and optical character recognition (OCR).",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.ScreenSketch",
|
||||||
|
"StoreId": "9MZ95KL8MR0L"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_Copilot": {
|
||||||
|
"Category": "Bing & Web Services",
|
||||||
|
"Content": "Copilot",
|
||||||
|
"Description": "Launches the Microsoft AI companion for contextual answers, creative writing assistance, and intelligent web search.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.Copilot",
|
||||||
|
"StoreId": "9NHT9RB2F4HD"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsCalculator": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Calculator",
|
||||||
|
"Description": "Performs standard arithmetic, scientific operations, programming calculations, and unit conversions.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsCalculator",
|
||||||
|
"StoreId": "9WZDNCRFHVN5"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsCamera": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Camera",
|
||||||
|
"Description": "Captures photographs and records video files via connected webcams or imaging hardware.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsCamera",
|
||||||
|
"StoreId": "9WZDNCRFJBBG"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsPhotos": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Photos",
|
||||||
|
"Description": "Organizes, views, and crops local images with basic color adjustment and album creation tools.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.Windows.Photos",
|
||||||
|
"StoreId": "9WZDNCRFJBH4"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_BingNews": {
|
||||||
|
"Category": "Bing & Web Services",
|
||||||
|
"Content": "News",
|
||||||
|
"Description": "Aggregates breaking news headlines, personalized article feeds, and world current events.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.BingNews",
|
||||||
|
"StoreId": "9WZDNCRFHVFW"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_BingWeather": {
|
||||||
|
"Category": "Bing & Web Services",
|
||||||
|
"Content": "Weather",
|
||||||
|
"Description": "Displays local real-time weather tracking, radar maps, and historical meteorological forecasts.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.BingWeather",
|
||||||
|
"StoreId": "9WZDNCRFJ3Q2"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_GamingApp": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Xbox App",
|
||||||
|
"Description": "Serves as the primary gaming library manager, social community interface, and PC Game Pass dashboard.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.GamingApp",
|
||||||
|
"StoreId": "9MV0B5HZVK9Z"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_XboxGamingOverlay": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Xbox Game Bar",
|
||||||
|
"Description": "Provides customizable in-game status widgets, audio balancing sliders, system monitoring tools, and gameplay recording.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.XboxGamingOverlay",
|
||||||
|
"StoreId": "9NZKPSTSNW4P"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_XboxIdentityProvider": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Xbox Identity Provider",
|
||||||
|
"Description": "Manages Xbox network user authentication and background account validation for connected titles. Warning: removing this may break Microsoft account sign-in for non-Xbox games and apps that rely on this authentication pipeline.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.XboxIdentityProvider",
|
||||||
|
"StoreId": "9WZDNCRD1HKW"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_XboxSpeechToTextOverlay": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Xbox Speech To Text Overlay",
|
||||||
|
"Description": "Provides system-level live accessibility captions and voice-to-text translation for gaming chat networks.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.XboxSpeechToTextOverlay"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_Xbox_TCUI": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Xbox TCUI",
|
||||||
|
"Description": "Provides core account connection UI modules for single sign-on flows within game titles. Warning: removing this may break Microsoft account authentication in games and apps that do not otherwise require the Xbox app.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.Xbox.TCUI"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_StartExperiencesApp": {
|
||||||
|
"Category": "Bing & Web Services",
|
||||||
|
"Content": "Start Experiences App",
|
||||||
|
"Description": "Powers the Windows Widgets board, delivering a personalized feed of news, weather, sports, and finance content.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.StartExperiencesApp",
|
||||||
|
"StoreId": "9PC1H9VN18CM"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_MicrosoftSolitaireCollection": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Solitaire Collection",
|
||||||
|
"Description": "Bundles built-in card game modes including Klondike, Spider, FreeCell, Pyramid, and TriPeaks alongside daily challenges.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.MicrosoftSolitaireCollection"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,442 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
|
|
||||||
<!--https://schneegans.de/windows/unattend-generator/?LanguageMode=Unattended&UILanguage=en-US&Locale=en-US&Keyboard=00000409&GeoLocation=244&ProcessorArchitecture=amd64&BypassRequirementsCheck=true&BypassNetworkCheck=true&ComputerNameMode=Random&TimeZoneMode=Implicit&PartitionMode=Interactive&WindowsEditionMode=Unattended&WindowsEdition=pro&UserAccountMode=Unattended&AccountName0=User&AccountPassword0=&AccountGroup0=Administrators&AccountName1=&AccountName2=&AccountName3=&AccountName4=&AutoLogonMode=Own&PasswordExpirationMode=Unlimited&LockoutMode=Default&HideFiles=Hidden&DisableWidgets=true&ClassicContextMenu=true&DisableFastStartup=true&EnableLongPaths=true&DisableAppSuggestions=true&PreventDeviceEncryption=true&WifiMode=Skip&ExpressSettings=DisableAll&Remove3DViewer=true&RemoveBingSearch=true&RemoveCamera=true&RemoveClipchamp=true&RemoveClock=true&RemoveCopilot=true&RemoveCortana=true&RemoveDevHome=true&RemoveFamily=true&RemoveFeedbackHub=true&RemoveGetHelp=true&RemoveInternetExplorer=true&RemoveMailCalendar=true&RemoveMaps=true&RemoveMathInputPanel=true&RemoveZuneVideo=true&RemoveNews=true&RemoveNotepad=true&RemoveOffice365=true&RemoveOneDrive=true&RemoveOneNote=true&RemoveOpenSSHClient=true&RemoveOutlook=true&RemovePaint3D=true&RemovePeople=true&RemovePowerAutomate=true&RemoveQuickAssist=true&RemoveSkype=true&RemoveSolitaire=true&RemoveStepsRecorder=true&RemoveStickyNotes=true&RemoveTeams=true&RemoveGetStarted=true&RemoveToDo=true&RemoveVoiceRecorder=true&RemoveWeather=true&RemoveWindowsMediaPlayer=true&RemoveZuneMusic=true&RemoveWordPad=true&WdacMode=Skip-->
|
|
||||||
<settings pass="offlineServicing"></settings>
|
|
||||||
<settings pass="windowsPE">
|
|
||||||
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
||||||
<SetupUILanguage>
|
|
||||||
<UILanguage>en-US</UILanguage>
|
|
||||||
</SetupUILanguage>
|
|
||||||
<InputLocale>0409:00000409</InputLocale>
|
|
||||||
<SystemLocale>en-US</SystemLocale>
|
|
||||||
<UILanguage>en-US</UILanguage>
|
|
||||||
<UserLocale>en-US</UserLocale>
|
|
||||||
</component>
|
|
||||||
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
||||||
<UserData>
|
|
||||||
<ProductKey>
|
|
||||||
<Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
|
|
||||||
</ProductKey>
|
|
||||||
<AcceptEula>true</AcceptEula>
|
|
||||||
</UserData>
|
|
||||||
<RunSynchronous>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>3</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
</RunSynchronous>
|
|
||||||
</component>
|
|
||||||
</settings>
|
|
||||||
<settings pass="generalize"></settings>
|
|
||||||
<settings pass="specialize">
|
|
||||||
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
||||||
<RunSynchronous>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<Path>reg.exe load "HKU\DefaultUser" "C:\Users\Default\NTUSER.DAT"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>3</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\Runonce" /v "UninstallCopilot" /t REG_SZ /d "powershell.exe -NoProfile -Command \"Get-AppxPackage -Name 'Microsoft.Windows.Ai.Copilot.Provider' | Remove-AppxPackage;\"" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>4</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Policies\Microsoft\Windows\WindowsCopilot" /v TurnOffWindowsCopilot /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>5</Order>
|
|
||||||
<Path>reg.exe unload "HKU\DefaultUser"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>6</Order>
|
|
||||||
<Path>reg.exe delete "HKLM\SOFTWARE\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe\DevHomeUpdate" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>7</Order>
|
|
||||||
<Path>reg.exe load "HKU\DefaultUser" "C:\Users\Default\NTUSER.DAT"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>8</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Notepad" /v ShowStoreBanner /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>9</Order>
|
|
||||||
<Path>reg.exe unload "HKU\DefaultUser"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>10</Order>
|
|
||||||
<Path>cmd.exe /c "del "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk""</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>11</Order>
|
|
||||||
<Path>cmd.exe /c "del "C:\Windows\System32\OneDriveSetup.exe""</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>12</Order>
|
|
||||||
<Path>cmd.exe /c "del "C:\Windows\SysWOW64\OneDriveSetup.exe""</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>13</Order>
|
|
||||||
<Path>reg.exe load "HKU\DefaultUser" "C:\Users\Default\NTUSER.DAT"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>14</Order>
|
|
||||||
<Path>reg.exe delete "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\Run" /v OneDriveSetup /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>15</Order>
|
|
||||||
<Path>reg.exe unload "HKU\DefaultUser"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>16</Order>
|
|
||||||
<Path>reg.exe delete "HKLM\SOFTWARE\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe\OutlookUpdate" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>17</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications" /v ConfigureChatAutoInstall /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>18</Order>
|
|
||||||
<Path>powershell.exe -NoProfile -Command "$xml = [xml]::new(); $xml.Load('C:\Windows\Panther\unattend.xml'); $sb = [scriptblock]::Create( $xml.unattend.Extensions.ExtractScript ); Invoke-Command -ScriptBlock $sb -ArgumentList $xml;"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>19</Order>
|
|
||||||
<Path>powershell.exe -NoProfile -Command "Get-Content -LiteralPath 'C:\Windows\Temp\Microwin-RemovePackages.ps1' -Raw | Invoke-Expression;"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>20</Order>
|
|
||||||
<Path>powershell.exe -NoProfile -Command "Get-Content -LiteralPath 'C:\Windows\Temp\remove-caps.ps1' -Raw | Invoke-Expression;"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>21</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v ConfigureStartPins /t REG_SZ /d "{ \"pinnedList\": [] }" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>22</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v ConfigureStartPins_ProviderSet /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>23</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v ConfigureStartPins_WinningProvider /t REG_SZ /d B5292708-1619-419B-9923-E5D9F3925E71 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>24</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\providers\B5292708-1619-419B-9923-E5D9F3925E71\default\Device\Start" /v ConfigureStartPins /t REG_SZ /d "{ \"pinnedList\": [] }" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>25</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\providers\B5292708-1619-419B-9923-E5D9F3925E71\default\Device\Start" /v ConfigureStartPins_LastWrite /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>26</Order>
|
|
||||||
<Path>net.exe accounts /maxpwage:UNLIMITED</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>27</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>28</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>29</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>30</Order>
|
|
||||||
<Path>reg.exe load "HKU\DefaultUser" "C:\Users\Default\NTUSER.DAT"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>31</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>32</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>33</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>34</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>35</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>36</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>37</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>38</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>39</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>40</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>41</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>42</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>43</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>44</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>45</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>46</Order>
|
|
||||||
<Path>reg.exe unload "HKU\DefaultUser"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>47</Order>
|
|
||||||
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>48</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\BitLocker" /v "PreventDeviceEncryption" /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>49</Order>
|
|
||||||
<Path>reg.exe load "HKU\DefaultUser" "C:\Users\Default\NTUSER.DAT"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>50</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\Runonce" /v "ClassicContextMenu" /t REG_SZ /d "reg.exe add \"HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32\" /ve /f" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>51</Order>
|
|
||||||
<Path>reg.exe unload "HKU\DefaultUser"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
</RunSynchronous>
|
|
||||||
</component>
|
|
||||||
</settings>
|
|
||||||
<settings pass="auditSystem"></settings>
|
|
||||||
<settings pass="auditUser"></settings>
|
|
||||||
<settings pass="oobeSystem">
|
|
||||||
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
||||||
<InputLocale>0409:00000409</InputLocale>
|
|
||||||
<SystemLocale>en-US</SystemLocale>
|
|
||||||
<UILanguage>en-US</UILanguage>
|
|
||||||
<UserLocale>en-US</UserLocale>
|
|
||||||
</component>
|
|
||||||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
||||||
<UserAccounts>
|
|
||||||
<LocalAccounts>
|
|
||||||
<LocalAccount wcm:action="add">
|
|
||||||
<Name>User</Name>
|
|
||||||
<Group>Administrators</Group>
|
|
||||||
<Password>
|
|
||||||
<Value></Value>
|
|
||||||
<PlainText>true</PlainText>
|
|
||||||
</Password>
|
|
||||||
</LocalAccount>
|
|
||||||
</LocalAccounts>
|
|
||||||
</UserAccounts>
|
|
||||||
<AutoLogon>
|
|
||||||
<Username>User</Username>
|
|
||||||
<Enabled>true</Enabled>
|
|
||||||
<LogonCount>1</LogonCount>
|
|
||||||
<Password>
|
|
||||||
<Value></Value>
|
|
||||||
<PlainText>true</PlainText>
|
|
||||||
</Password>
|
|
||||||
</AutoLogon>
|
|
||||||
<OOBE>
|
|
||||||
<ProtectYourPC>3</ProtectYourPC>
|
|
||||||
<HideEULAPage>true</HideEULAPage>
|
|
||||||
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
|
||||||
</OOBE>
|
|
||||||
<FirstLogonCommands>
|
|
||||||
<SynchronousCommand wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0 /f</CommandLine>
|
|
||||||
</SynchronousCommand>
|
|
||||||
</FirstLogonCommands>
|
|
||||||
</component>
|
|
||||||
</settings>
|
|
||||||
<Extensions xmlns="https://schneegans.de/windows/unattend-generator/">
|
|
||||||
<ExtractScript>
|
|
||||||
param(
|
|
||||||
[xml]$Document
|
|
||||||
);
|
|
||||||
|
|
||||||
$scriptsDir = 'C:\Windows\Setup\Scripts\';
|
|
||||||
foreach( $file in $Document.unattend.Extensions.File ) {
|
|
||||||
$path = [System.Environment]::ExpandEnvironmentVariables(
|
|
||||||
$file.GetAttribute( 'path' )
|
|
||||||
);
|
|
||||||
if( $path.StartsWith( $scriptsDir ) ) {
|
|
||||||
mkdir -Path $scriptsDir -ErrorAction 'SilentlyContinue';
|
|
||||||
}
|
|
||||||
$encoding = switch( [System.IO.Path]::GetExtension( $path ) ) {
|
|
||||||
{ $_ -in '.ps1', '.xml' } { [System.Text.Encoding]::UTF8; }
|
|
||||||
{ $_ -in '.reg', '.vbs', '.js' } { [System.Text.UnicodeEncoding]::new( $false, $true ); }
|
|
||||||
default { [System.Text.Encoding]::Default; }
|
|
||||||
};
|
|
||||||
[System.IO.File]::WriteAllBytes( $path, ( $encoding.GetPreamble() + $encoding.GetBytes( $file.InnerText.Trim() ) ) );
|
|
||||||
}
|
|
||||||
</ExtractScript>
|
|
||||||
<File path="C:\Windows\Temp\Microwin-RemovePackages.ps1">
|
|
||||||
$selectors = @(
|
|
||||||
'Microsoft.Microsoft3DViewer';
|
|
||||||
'Microsoft.BingSearch';
|
|
||||||
'Microsoft.WindowsCamera';
|
|
||||||
'Clipchamp.Clipchamp';
|
|
||||||
'Microsoft.WindowsAlarms';
|
|
||||||
'Microsoft.549981C3F5F10';
|
|
||||||
'Microsoft.Windows.DevHome';
|
|
||||||
'MicrosoftCorporationII.MicrosoftFamily';
|
|
||||||
'Microsoft.WindowsFeedbackHub';
|
|
||||||
'Microsoft.GetHelp';
|
|
||||||
'Microsoft.Getstarted';
|
|
||||||
'microsoft.windowscommunicationsapps';
|
|
||||||
'Microsoft.WindowsMaps';
|
|
||||||
'Microsoft.BingNews';
|
|
||||||
'Microsoft.WindowsNotepad';
|
|
||||||
'Microsoft.MicrosoftOfficeHub';
|
|
||||||
'Microsoft.Office.OneNote';
|
|
||||||
'Microsoft.OutlookForWindows';
|
|
||||||
'Microsoft.MSPaint';
|
|
||||||
'Microsoft.People';
|
|
||||||
'Microsoft.PowerAutomateDesktop';
|
|
||||||
'MicrosoftCorporationII.QuickAssist';
|
|
||||||
'Microsoft.SkypeApp';
|
|
||||||
'Microsoft.MicrosoftSolitaireCollection';
|
|
||||||
'Microsoft.MicrosoftStickyNotes';
|
|
||||||
'MSTeams';
|
|
||||||
'Microsoft.Todos';
|
|
||||||
'Microsoft.WindowsSoundRecorder';
|
|
||||||
'Microsoft.BingWeather';
|
|
||||||
'Microsoft.ZuneMusic';
|
|
||||||
'Microsoft.ZuneVideo';
|
|
||||||
);
|
|
||||||
$getCommand = { Get-AppxProvisionedPackage -Online; };
|
|
||||||
$filterCommand = { $_.DisplayName -eq $selector; };
|
|
||||||
$removeCommand = {
|
|
||||||
[CmdletBinding()]
|
|
||||||
param(
|
|
||||||
[Parameter( Mandatory, ValueFromPipeline )]
|
|
||||||
$InputObject
|
|
||||||
);
|
|
||||||
process {
|
|
||||||
$InputObject | Remove-AppxProvisionedPackage -AllUsers -Online -ErrorAction 'Continue';
|
|
||||||
}
|
|
||||||
};
|
|
||||||
$type = 'Package';
|
|
||||||
$logfile = 'C:\Windows\Temp\Microwin-RemovePackages.log';
|
|
||||||
& {
|
|
||||||
$installed = & $getCommand;
|
|
||||||
foreach( $selector in $selectors ) {
|
|
||||||
$result = [ordered] @{
|
|
||||||
Selector = $selector;
|
|
||||||
};
|
|
||||||
$found = $installed | Where-Object -FilterScript $filterCommand;
|
|
||||||
if( $found ) {
|
|
||||||
$result.Output = $found | & $removeCommand;
|
|
||||||
if( $? ) {
|
|
||||||
$result.Message = "$type removed.";
|
|
||||||
} else {
|
|
||||||
$result.Message = "$type not removed.";
|
|
||||||
$result.Error = $Error[0];
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
$result.Message = "$type not installed.";
|
|
||||||
}
|
|
||||||
$result | ConvertTo-Json -Depth 3 -Compress;
|
|
||||||
}
|
|
||||||
} *>&1 >> $logfile;
|
|
||||||
</File>
|
|
||||||
<File path="C:\Windows\Temp\remove-caps.ps1">
|
|
||||||
$selectors = @(
|
|
||||||
'Browser.InternetExplorer';
|
|
||||||
'MathRecognizer';
|
|
||||||
'OpenSSH.Client';
|
|
||||||
'App.Support.QuickAssist';
|
|
||||||
'App.StepsRecorder';
|
|
||||||
'Media.WindowsMediaPlayer';
|
|
||||||
'Microsoft.Windows.WordPad';
|
|
||||||
);
|
|
||||||
$getCommand = { Get-WindowsCapability -Online; };
|
|
||||||
$filterCommand = { ($_.Name -split '~')[0] -eq $selector; };
|
|
||||||
$removeCommand = {
|
|
||||||
[CmdletBinding()]
|
|
||||||
param(
|
|
||||||
[Parameter( Mandatory, ValueFromPipeline )]
|
|
||||||
$InputObject
|
|
||||||
);
|
|
||||||
process {
|
|
||||||
$InputObject | Remove-WindowsCapability -Online -ErrorAction 'Continue';
|
|
||||||
}
|
|
||||||
};
|
|
||||||
$type = 'Capability';
|
|
||||||
$logfile = 'C:\Windows\Temp\remove-caps.log';
|
|
||||||
& {
|
|
||||||
$installed = & $getCommand;
|
|
||||||
foreach( $selector in $selectors ) {
|
|
||||||
$result = [ordered] @{
|
|
||||||
Selector = $selector;
|
|
||||||
};
|
|
||||||
$found = $installed | Where-Object -FilterScript $filterCommand;
|
|
||||||
if( $found ) {
|
|
||||||
$result.Output = $found | & $removeCommand;
|
|
||||||
if( $? ) {
|
|
||||||
$result.Message = "$type removed.";
|
|
||||||
} else {
|
|
||||||
$result.Message = "$type not removed.";
|
|
||||||
$result.Error = $Error[0];
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
$result.Message = "$type not installed.";
|
|
||||||
}
|
|
||||||
$result | ConvertTo-Json -Depth 3 -Compress;
|
|
||||||
}
|
|
||||||
} *>&1 >> $logfile;
|
|
||||||
</File>
|
|
||||||
<File path="C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml"><![CDATA[
|
|
||||||
<LayoutModificationTemplate Version="1" xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification">
|
|
||||||
<LayoutOptions StartTileGroupCellWidth="6" />
|
|
||||||
<DefaultLayoutOverride>
|
|
||||||
<StartLayoutCollection>
|
|
||||||
<StartLayout GroupCellWidth="6" xmlns="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" />
|
|
||||||
</StartLayoutCollection>
|
|
||||||
</DefaultLayoutOverride>
|
|
||||||
</LayoutModificationTemplate>
|
|
||||||
]]></File>
|
|
||||||
</Extensions>
|
|
||||||
</unattend>
|
|
||||||
@@ -3,66 +3,56 @@
|
|||||||
"Primary": "8.8.8.8",
|
"Primary": "8.8.8.8",
|
||||||
"Secondary": "8.8.4.4",
|
"Secondary": "8.8.4.4",
|
||||||
"Primary6": "2001:4860:4860::8888",
|
"Primary6": "2001:4860:4860::8888",
|
||||||
"Secondary6": "2001:4860:4860::8844"
|
"Secondary6": "2001:4860:4860::8844",
|
||||||
|
"DohTemplate": "https://dns.google/dns-query"
|
||||||
},
|
},
|
||||||
"Cloudflare":{
|
"Cloudflare":{
|
||||||
"Primary": "1.1.1.1",
|
"Primary": "1.1.1.1",
|
||||||
"Secondary": "1.0.0.1",
|
"Secondary": "1.0.0.1",
|
||||||
"Primary6": "2606:4700:4700::1111",
|
"Primary6": "2606:4700:4700::1111",
|
||||||
"Secondary6": "2606:4700:4700::1001"
|
"Secondary6": "2606:4700:4700::1001",
|
||||||
|
"DohTemplate": "https://cloudflare-dns.com/dns-query"
|
||||||
},
|
},
|
||||||
"Cloudflare_Malware":{
|
"Cloudflare_Malware":{
|
||||||
"Primary": "1.1.1.2",
|
"Primary": "1.1.1.2",
|
||||||
"Secondary": "1.0.0.2",
|
"Secondary": "1.0.0.2",
|
||||||
"Primary6": "2606:4700:4700::1112",
|
"Primary6": "2606:4700:4700::1112",
|
||||||
"Secondary6": "2606:4700:4700::1002"
|
"Secondary6": "2606:4700:4700::1002",
|
||||||
|
"DohTemplate": "https://security.cloudflare-dns.com/dns-query"
|
||||||
},
|
},
|
||||||
"Cloudflare_Malware_Adult":{
|
"Cloudflare_Malware_Adult":{
|
||||||
"Primary": "1.1.1.3",
|
"Primary": "1.1.1.3",
|
||||||
"Secondary": "1.0.0.3",
|
"Secondary": "1.0.0.3",
|
||||||
"Primary6": "2606:4700:4700::1113",
|
"Primary6": "2606:4700:4700::1113",
|
||||||
"Secondary6": "2606:4700:4700::1003"
|
"Secondary6": "2606:4700:4700::1003",
|
||||||
|
"DohTemplate": "https://family.cloudflare-dns.com/dns-query"
|
||||||
},
|
},
|
||||||
"Open_DNS":{
|
"Open_DNS":{
|
||||||
"Primary": "208.67.222.222",
|
"Primary": "208.67.222.222",
|
||||||
"Secondary": "208.67.220.220",
|
"Secondary": "208.67.220.220",
|
||||||
"Primary6": "2620:119:35::35",
|
"Primary6": "2620:119:35::35",
|
||||||
"Secondary6": "2620:119:53::53"
|
"Secondary6": "2620:119:53::53",
|
||||||
|
"DohTemplate": "https://doh.opendns.com/dns-query"
|
||||||
},
|
},
|
||||||
"Quad9":{
|
"Quad9":{
|
||||||
"Primary": "9.9.9.9",
|
"Primary": "9.9.9.9",
|
||||||
"Secondary": "149.112.112.112",
|
"Secondary": "149.112.112.112",
|
||||||
"Primary6": "2620:fe::fe",
|
"Primary6": "2620:fe::fe",
|
||||||
"Secondary6": "2620:fe::9"
|
"Secondary6": "2620:fe::9",
|
||||||
|
"DohTemplate": "https://dns.quad9.net/dns-query"
|
||||||
},
|
},
|
||||||
"AdGuard_Ads_Trackers":{
|
"AdGuard_Ads_Trackers":{
|
||||||
"Primary": "94.140.14.14",
|
"Primary": "94.140.14.14",
|
||||||
"Secondary": "94.140.15.15",
|
"Secondary": "94.140.15.15",
|
||||||
"Primary6": "2a10:50c0::ad1:ff",
|
"Primary6": "2a10:50c0::ad1:ff",
|
||||||
"Secondary6": "2a10:50c0::ad2:ff"
|
"Secondary6": "2a10:50c0::ad2:ff",
|
||||||
|
"DohTemplate": "https://dns.adguard-dns.com/dns-query"
|
||||||
},
|
},
|
||||||
"AdGuard_Ads_Trackers_Malware_Adult":{
|
"AdGuard_Ads_Trackers_Malware_Adult":{
|
||||||
"Primary": "94.140.14.15",
|
"Primary": "94.140.14.15",
|
||||||
"Secondary": "94.140.15.16",
|
"Secondary": "94.140.15.16",
|
||||||
"Primary6": "2a10:50c0::bad1:ff",
|
"Primary6": "2a10:50c0::bad1:ff",
|
||||||
"Secondary6": "2a10:50c0::bad2:ff"
|
"Secondary6": "2a10:50c0::bad2:ff",
|
||||||
},
|
"DohTemplate": "https://family.adguard-dns.com/dns-query"
|
||||||
"dns0.eu_Open":{
|
|
||||||
"Primary": "193.110.81.254",
|
|
||||||
"Secondary": "185.253.5.254",
|
|
||||||
"Primary6": "2a0f:fc80::ffff",
|
|
||||||
"Secondary6": "2a0f:fc81::ffff"
|
|
||||||
},
|
|
||||||
"dns0.eu_ZERO":{
|
|
||||||
"Primary": "193.110.81.9",
|
|
||||||
"Secondary": "185.253.5.9",
|
|
||||||
"Primary6": "2a0f:fc80::9",
|
|
||||||
"Secondary6": "2a0f:fc81::9"
|
|
||||||
},
|
|
||||||
"dns0.eu_KIDS":{
|
|
||||||
"Primary": "193.110.81.1",
|
|
||||||
"Secondary": "185.253.5.1",
|
|
||||||
"Primary6": "2a0f:fc80::1",
|
|
||||||
"Secondary6": "2a0f:fc81::1"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,44 +1,41 @@
|
|||||||
{
|
{
|
||||||
"WPFFeaturesdotnet": {
|
"WPFFeaturesdotnet": {
|
||||||
"Content": "All .Net Framework (2,3,4)",
|
"Content": ".NET Framework (Versions 2, 3, 4) - Enable",
|
||||||
"Description": ".NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.",
|
"Description": ".NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a010_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"NetFx4-AdvSrvs",
|
"NetFx4-AdvSrvs",
|
||||||
"NetFx3"
|
"NetFx3"
|
||||||
],
|
],
|
||||||
"InvokeScript": [],
|
"InvokeScript": [],
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/dotnet"
|
"link": "https://winutil.christitus.com/code-reference/features/features/dotnet"
|
||||||
|
},
|
||||||
|
"WPFFixesNTPPool": {
|
||||||
|
"Content": "NTP Server - Enable",
|
||||||
|
"Description": "Replaces the default Windows NTP server (time.windows.com) with pool.ntp.org for improved time synchronization accuracy and reliability.",
|
||||||
|
"category": "Fixes",
|
||||||
|
"panel": "1",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WPFFixesNTPPool",
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/fixes/ntppool"
|
||||||
},
|
},
|
||||||
"WPFFeatureshyperv": {
|
"WPFFeatureshyperv": {
|
||||||
"Content": "HyperV Virtualization",
|
"Content": "Hyper-V - Enable",
|
||||||
"Description": "Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines.",
|
"Description": "Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a011_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"HypervisorPlatform",
|
"Microsoft-Hyper-V-All"
|
||||||
"Microsoft-Hyper-V-All",
|
|
||||||
"Microsoft-Hyper-V",
|
|
||||||
"Microsoft-Hyper-V-Tools-All",
|
|
||||||
"Microsoft-Hyper-V-Management-PowerShell",
|
|
||||||
"Microsoft-Hyper-V-Hypervisor",
|
|
||||||
"Microsoft-Hyper-V-Services",
|
|
||||||
"Microsoft-Hyper-V-Management-Clients"
|
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
"link": "https://winutil.christitus.com/code-reference/features/features/hyperv"
|
||||||
"Start-Process -FilePath cmd.exe -ArgumentList '/c bcdedit /set hypervisorschedulertype classic' -Wait"
|
|
||||||
],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/hyperv"
|
|
||||||
},
|
},
|
||||||
"WPFFeatureslegacymedia": {
|
"WPFFeatureslegacymedia": {
|
||||||
"Content": "Legacy Media (WMP, DirectPlay)",
|
"Content": "Legacy Media Components (WMP, DirectPlay) - Enable",
|
||||||
"Description": "Enables legacy programs from previous versions of windows",
|
"Description": "Enables legacy programs from previous versions of Windows.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a012_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"WindowsMediaPlayer",
|
"WindowsMediaPlayer",
|
||||||
"MediaPlayback",
|
"MediaPlayback",
|
||||||
@@ -46,27 +43,25 @@
|
|||||||
"LegacyComponents"
|
"LegacyComponents"
|
||||||
],
|
],
|
||||||
"InvokeScript": [],
|
"InvokeScript": [],
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/legacymedia"
|
"link": "https://winutil.christitus.com/code-reference/features/features/legacymedia"
|
||||||
},
|
},
|
||||||
"WPFFeaturewsl": {
|
"WPFFeaturewsl": {
|
||||||
"Content": "Windows Subsystem for Linux",
|
"Content": "Windows Subsystem for Linux (WSL) - Enable",
|
||||||
"Description": "Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting.",
|
"Description": "Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a020_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"VirtualMachinePlatform",
|
"VirtualMachinePlatform",
|
||||||
"Microsoft-Windows-Subsystem-Linux"
|
"Microsoft-Windows-Subsystem-Linux"
|
||||||
],
|
],
|
||||||
"InvokeScript": [],
|
"InvokeScript": [],
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/wsl"
|
"link": "https://winutil.christitus.com/code-reference/features/features/wsl"
|
||||||
},
|
},
|
||||||
"WPFFeaturenfs": {
|
"WPFFeaturenfs": {
|
||||||
"Content": "NFS - Network File System",
|
"Content": "Network File System (NFS) - Enable",
|
||||||
"Description": "Network File System (NFS) is a mechanism for storing files on a network.",
|
"Description": "Network File System (NFS) is a mechanism for storing files on a network.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a014_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"ServicesForNFS-ClientOnly",
|
"ServicesForNFS-ClientOnly",
|
||||||
"ClientForNFS-Infrastructure",
|
"ClientForNFS-Infrastructure",
|
||||||
@@ -79,50 +74,13 @@
|
|||||||
"nfsadmin client start",
|
"nfsadmin client start",
|
||||||
"nfsadmin client localhost config fileaccess=755 SecFlavors=+sys -krb5 -krb5i"
|
"nfsadmin client localhost config fileaccess=755 SecFlavors=+sys -krb5 -krb5i"
|
||||||
],
|
],
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/nfs"
|
"link": "https://winutil.christitus.com/code-reference/features/features/nfs"
|
||||||
},
|
|
||||||
"WPFFeatureEnableSearchSuggestions": {
|
|
||||||
"Content": "Enable Search Box Web Suggestions in Registry(explorer restart)",
|
|
||||||
"Description": "Enables web suggestions when searching using Windows Search.",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a015_",
|
|
||||||
"feature": [],
|
|
||||||
"InvokeScript": [
|
|
||||||
"
|
|
||||||
If (!(Test-Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer')) {
|
|
||||||
New-Item -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Name 'DisableSearchBoxSuggestions' -Type DWord -Value 0 -Force
|
|
||||||
Stop-Process -name explorer -force
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/EnableSearchSuggestions"
|
|
||||||
},
|
|
||||||
"WPFFeatureDisableSearchSuggestions": {
|
|
||||||
"Content": "Disable Search Box Web Suggestions in Registry(explorer restart)",
|
|
||||||
"Description": "Disables web suggestions when searching using Windows Search.",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a016_",
|
|
||||||
"feature": [],
|
|
||||||
"InvokeScript": [
|
|
||||||
"
|
|
||||||
If (!(Test-Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer')) {
|
|
||||||
New-Item -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Name 'DisableSearchBoxSuggestions' -Type DWord -Value 1 -Force
|
|
||||||
Stop-Process -name explorer -force
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/DisableSearchSuggestions"
|
|
||||||
},
|
},
|
||||||
"WPFFeatureRegBackup": {
|
"WPFFeatureRegBackup": {
|
||||||
"Content": "Enable Daily Registry Backup Task 12.30am",
|
"Content": "Registry Backup (Daily Task 12:30am) - Enable",
|
||||||
"Description": "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.",
|
"Description": "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a017_",
|
|
||||||
"feature": [],
|
"feature": [],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"
|
"
|
||||||
@@ -133,201 +91,273 @@
|
|||||||
Register-ScheduledTask -Action $action -Trigger $trigger -TaskName 'AutoRegBackup' -Description 'Create System Registry Backups' -User 'System'
|
Register-ScheduledTask -Action $action -Trigger $trigger -TaskName 'AutoRegBackup' -Description 'Create System Registry Backups' -User 'System'
|
||||||
"
|
"
|
||||||
],
|
],
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/RegBackup"
|
"link": "https://winutil.christitus.com/code-reference/features/features/regbackup"
|
||||||
},
|
},
|
||||||
"WPFFeatureEnableLegacyRecovery": {
|
"WPFFeatureEnableLegacyRecovery": {
|
||||||
"Content": "Enable Legacy F8 Boot Recovery",
|
"Content": "Legacy F8 Boot Recovery - Enable",
|
||||||
"Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
"Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a018_",
|
|
||||||
"feature": [],
|
"feature": [],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"
|
"bcdedit /set bootmenupolicy legacy"
|
||||||
If (!(Test-Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood')) {
|
|
||||||
New-Item -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Name 'Enabled' -Type DWord -Value 1 -Force
|
|
||||||
Start-Process -FilePath cmd.exe -ArgumentList '/c bcdedit /Set {Current} BootMenuPolicy Legacy' -Wait
|
|
||||||
"
|
|
||||||
],
|
],
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/EnableLegacyRecovery"
|
"link": "https://winutil.christitus.com/code-reference/features/features/enablelegacyrecovery"
|
||||||
},
|
},
|
||||||
"WPFFeatureDisableLegacyRecovery": {
|
"WPFFeatureDisableLegacyRecovery": {
|
||||||
"Content": "Disable Legacy F8 Boot Recovery",
|
"Content": "Legacy F8 Boot Recovery - Disable",
|
||||||
"Description": "Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
"Description": "Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a019_",
|
|
||||||
"feature": [],
|
"feature": [],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"
|
"bcdedit /set bootmenupolicy standard"
|
||||||
If (!(Test-Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood')) {
|
|
||||||
New-Item -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Name 'Enabled' -Type DWord -Value 0 -Force
|
|
||||||
Start-Process -FilePath cmd.exe -ArgumentList '/c bcdedit /Set {Current} BootMenuPolicy Standard' -Wait
|
|
||||||
"
|
|
||||||
],
|
],
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/DisableLegacyRecovery"
|
"link": "https://winutil.christitus.com/code-reference/features/features/disablelegacyrecovery"
|
||||||
},
|
},
|
||||||
"WPFFeaturesSandbox": {
|
"WPFFeaturesSandbox": {
|
||||||
"Content": "Windows Sandbox",
|
"Content": "Windows Sandbox - Enable",
|
||||||
|
"Description": "Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a021_",
|
"feature": [
|
||||||
"Description": "Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation.",
|
"Containers-DisposableClientVM"
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/Sandbox"
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/features/sandbox"
|
||||||
},
|
},
|
||||||
"WPFFeatureInstall": {
|
"WPFFeatureInstall": {
|
||||||
"Content": "Install Features",
|
"Content": "Install Features",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a060_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/Install"
|
"function": "Invoke-WPFFeatureInstall",
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/features/install"
|
||||||
},
|
},
|
||||||
"WPFPanelAutologin": {
|
"WPFPanelAutologin": {
|
||||||
"Content": "Set Up Autologin",
|
"Content": "AutoLogon - Run",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"Order": "a040_",
|
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Fixes/Autologin"
|
"function": "Invoke-WPFPanelAutologin",
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/fixes/autologin"
|
||||||
},
|
},
|
||||||
"WPFFixesUpdate": {
|
"WPFFixesUpdate": {
|
||||||
"Content": "Reset Windows Update",
|
"Content": "Windows Update - Reset",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a041_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Fixes/Update"
|
"function": "Invoke-WPFFixesUpdate",
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/fixes/update"
|
||||||
},
|
},
|
||||||
"WPFFixesNetwork": {
|
"WPFFixesNetwork": {
|
||||||
"Content": "Reset Network",
|
"Content": "Network - Reset",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"Order": "a042_",
|
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Fixes/Network"
|
"function": "Invoke-WPFFixesNetwork",
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/fixes/network"
|
||||||
},
|
},
|
||||||
"WPFPanelDISM": {
|
"WPFPanelDISM": {
|
||||||
"Content": "System Corruption Scan",
|
"Content": "System Corruption Scan - Run",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a043_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Fixes/DISM"
|
"function": "Invoke-WPFSystemRepair",
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/fixes/dism"
|
||||||
},
|
},
|
||||||
"WPFFixesWinget": {
|
"WPFFixesWinget": {
|
||||||
"Content": "WinGet Reinstall",
|
"Content": "WinGet - Reinstall",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a044_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Fixes/Winget"
|
"function": "Invoke-WPFFixesWinget",
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/fixes/winget"
|
||||||
},
|
},
|
||||||
"WPFRunAdobeCCCleanerTool": {
|
"WPFPanelComputer": {
|
||||||
"Content": "Remove Adobe Creative Cloud",
|
"Content": "Computer Management",
|
||||||
"category": "Fixes",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a045_",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Fixes/RunAdobeCCCleanerTool"
|
|
||||||
},
|
|
||||||
"WPFPanelnetwork": {
|
|
||||||
"Content": "Network Connections",
|
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/network"
|
"InvokeScript": [
|
||||||
|
"compmgmt.msc"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/computer"
|
||||||
},
|
},
|
||||||
"WPFPanelcontrol": {
|
"WPFPanelControl": {
|
||||||
"Content": "Control Panel",
|
"Content": "Control Panel",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/control"
|
"InvokeScript": [
|
||||||
|
"control"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/control"
|
||||||
},
|
},
|
||||||
"WPFPanelpower": {
|
"WPFPanelMouse": {
|
||||||
|
"Content": "Mouse Properties",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"main.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/mouse"
|
||||||
|
},
|
||||||
|
"WPFPanelNetwork": {
|
||||||
|
"Content": "Network Connections",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"ncpa.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/network"
|
||||||
|
},
|
||||||
|
"WPFPanelPower": {
|
||||||
"Content": "Power Panel",
|
"Content": "Power Panel",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/power"
|
"InvokeScript": [
|
||||||
|
"powercfg.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/power"
|
||||||
},
|
},
|
||||||
"WPFPanelregion": {
|
"WPFPanelPrinter": {
|
||||||
"Content": "Region",
|
|
||||||
"category": "Legacy Windows Panels",
|
|
||||||
"panel": "2",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/region"
|
|
||||||
},
|
|
||||||
"WPFPanelsound": {
|
|
||||||
"Content": "Sound Settings",
|
|
||||||
"category": "Legacy Windows Panels",
|
|
||||||
"panel": "2",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/sound"
|
|
||||||
},
|
|
||||||
"WPFPanelprinter": {
|
|
||||||
"Content": "Printer Panel",
|
"Content": "Printer Panel",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/printer"
|
"InvokeScript": [
|
||||||
|
"Start-Process 'shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}'"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/printer"
|
||||||
},
|
},
|
||||||
"WPFPanelsystem": {
|
"WPFPanelPrograms": {
|
||||||
|
"Content": "Programs and Features",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"appwiz.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/programs"
|
||||||
|
},
|
||||||
|
"WPFPanelRegion": {
|
||||||
|
"Content": "Region",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"intl.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/region"
|
||||||
|
},
|
||||||
|
"WPFPanelSecurity": {
|
||||||
|
"Content": "Security and Maintenance",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"wscui.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/security"
|
||||||
|
},
|
||||||
|
"WPFPanelSound": {
|
||||||
|
"Content": "Sound Settings",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"mmsys.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/sound"
|
||||||
|
},
|
||||||
|
"WPFPanelSystem": {
|
||||||
"Content": "System Properties",
|
"Content": "System Properties",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/system"
|
"InvokeScript": [
|
||||||
|
"sysdm.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/system"
|
||||||
},
|
},
|
||||||
"WPFPaneluser": {
|
"WPFPanelTimedate": {
|
||||||
"Content": "User Accounts",
|
"Content": "Time and Date",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/user"
|
"InvokeScript": [
|
||||||
|
"timedate.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/timedate"
|
||||||
|
},
|
||||||
|
"WPFPanelFirewall": {
|
||||||
|
"Content": "Windows Defender Firewall",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"firewall.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/firewall"
|
||||||
|
},
|
||||||
|
"WPFPanelRestore": {
|
||||||
|
"Content": "Windows Restore",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"rstrui.exe"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/restore"
|
||||||
},
|
},
|
||||||
"WPFWinUtilInstallPSProfile": {
|
"WPFWinUtilInstallPSProfile": {
|
||||||
"Content": "Install CTT PowerShell Profile",
|
"Content": "CTT PowerShell Profile - Install",
|
||||||
"category": "Powershell Profile",
|
"category": "Powershell Profile Powershell 7+ Only",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a083_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300"
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WinUtilInstallPSProfile",
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/powershell-profile-powershell-7--only/installpsprofile"
|
||||||
},
|
},
|
||||||
"WPFWinUtilUninstallPSProfile": {
|
"WPFWinUtilUninstallPSProfile": {
|
||||||
"Content": "Uninstall CTT PowerShell Profile",
|
"Content": "CTT PowerShell Profile - Remove",
|
||||||
"category": "Powershell Profile",
|
"category": "Powershell Profile Powershell 7+ Only",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a084_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300"
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WinUtilUninstallPSProfile",
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/powershell-profile-powershell-7--only/uninstallpsprofile"
|
||||||
},
|
},
|
||||||
"WPFWinUtilSSHServer": {
|
"WPFWinUtilSSHServer": {
|
||||||
"Content": "Enable OpenSSH Server",
|
"Content": "OpenSSH Server - Enable",
|
||||||
"category": "Remote Access",
|
"category": "Remote Access",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a084_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300"
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WPFSSHServer",
|
||||||
|
"link": "https://winutil.christitus.com/code-reference/features/remote-access/sshserver"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,25 +1,61 @@
|
|||||||
{
|
{
|
||||||
"Standard": [
|
"Standard": [
|
||||||
"WPFTweaksAH",
|
"WPFTweaksActivity",
|
||||||
"WPFTweaksConsumerFeatures",
|
"WPFTweaksConsumerFeatures",
|
||||||
"WPFTweaksDVR",
|
"WPFTweaksDisableExplorerAutoDiscovery",
|
||||||
"WPFTweaksHiber",
|
"WPFTweaksWPBT",
|
||||||
"WPFTweaksHome",
|
"WPFTweaksLocation",
|
||||||
"WPFTweaksLoc",
|
|
||||||
"WPFTweaksServices",
|
"WPFTweaksServices",
|
||||||
"WPFTweaksStorage",
|
"WPFTweaksTelemetry",
|
||||||
"WPFTweaksTele",
|
"WPFTweaksDeliveryOptimization",
|
||||||
"WPFTweaksWifi",
|
|
||||||
"WPFTweaksDiskCleanup",
|
"WPFTweaksDiskCleanup",
|
||||||
"WPFTweaksDeleteTempFiles",
|
"WPFTweaksDeleteTempFiles",
|
||||||
"WPFTweaksEndTaskOnTaskbar",
|
"WPFTweaksEndTaskOnTaskbar",
|
||||||
"WPFTweaksRestorePoint",
|
"WPFTweaksRestorePoint"
|
||||||
"WPFTweaksPowershell7Tele"
|
|
||||||
],
|
],
|
||||||
"Minimal": [
|
"Minimal": [
|
||||||
"WPFTweaksConsumerFeatures",
|
"WPFTweaksConsumerFeatures",
|
||||||
"WPFTweaksHome",
|
"WPFTweaksWPBT",
|
||||||
"WPFTweaksServices",
|
"WPFTweaksServices",
|
||||||
"WPFTweaksTele"
|
"WPFTweaksTelemetry"
|
||||||
|
],
|
||||||
|
"Advanced": [
|
||||||
|
"WPFTweaksRestorePoint",
|
||||||
|
"WPFTweaksActivity",
|
||||||
|
"WPFTweaksConsumerFeatures",
|
||||||
|
"WPFTweaksDisableExplorerAutoDiscovery",
|
||||||
|
"WPFTweaksWPBT",
|
||||||
|
"WPFTweaksLocation",
|
||||||
|
"WPFTweaksServices",
|
||||||
|
"WPFTweaksTelemetry",
|
||||||
|
"WPFTweaksDeliveryOptimization",
|
||||||
|
"WPFTweaksDeleteTempFiles",
|
||||||
|
"WPFTweaksEndTaskOnTaskbar",
|
||||||
|
"WPFTweaksDisableStoreSearch",
|
||||||
|
"WPFTweaksRevertStartMenu",
|
||||||
|
"WPFTweaksWidget",
|
||||||
|
"WPFTweaksRemoveOneDrive",
|
||||||
|
"WPFTweaksWindowsAI",
|
||||||
|
"WPFTweaksRightClickMenu"
|
||||||
|
],
|
||||||
|
"AppxDefault": [
|
||||||
|
"WPFAppxMicrosoft_WindowsFeedbackHub",
|
||||||
|
"WPFAppxMicrosoft_GetHelp",
|
||||||
|
"WPFAppxMicrosoft_MicrosoftOfficeHub",
|
||||||
|
"WPFAppxMicrosoft_WindowsCalculator",
|
||||||
|
"WPFAppxClipchamp_Clipchamp",
|
||||||
|
"WPFAppxMicrosoft_WindowsAlarms",
|
||||||
|
"WPFAppxMicrosoftCorporationII_QuickAssist",
|
||||||
|
"WPFAppxMicrosoft_WindowsSoundRecorder",
|
||||||
|
"WPFAppxMicrosoft_MicrosoftStickyNotes",
|
||||||
|
"WPFAppxMicrosoft_Todos",
|
||||||
|
"WPFAppxMicrosoft_MicrosoftSolitaireCollection",
|
||||||
|
"WPFAppxMicrosoft_PowerAutomateDesktop",
|
||||||
|
"WPFAppxMicrosoft_WindowsDevHome",
|
||||||
|
"WPFAppxMicrosoft_BingWeather",
|
||||||
|
"WPFAppxMicrosoft_StartExperiencesApp",
|
||||||
|
"WPFAppxMicrosoft_BingNews",
|
||||||
|
"WPFAppxMicrosoft_Copilot",
|
||||||
|
"WPFAppxMicrosoft_BingSearch"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"shared":{
|
"shared": {
|
||||||
|
"AppEntryWidth": "220",
|
||||||
|
"AppEntryFontSize": "13.2",
|
||||||
|
"AppEntryIconSize": "28",
|
||||||
|
"AppEntryMargin": "3",
|
||||||
|
"AppEntryBorderThickness": "1",
|
||||||
"CustomDialogFontSize": "12",
|
"CustomDialogFontSize": "12",
|
||||||
"CustomDialogFontSizeHeader": "14",
|
"CustomDialogFontSizeHeader": "14",
|
||||||
"CustomDialogLogoSize": "25",
|
"CustomDialogLogoSize": "25",
|
||||||
@@ -7,7 +12,7 @@
|
|||||||
"CustomDialogHeight": "200",
|
"CustomDialogHeight": "200",
|
||||||
"FontSize": "12",
|
"FontSize": "12",
|
||||||
"FontFamily": "Arial",
|
"FontFamily": "Arial",
|
||||||
"HeadingFontSize": "16",
|
"HeaderFontSize": "16",
|
||||||
"HeaderFontFamily": "Consolas, Monaco",
|
"HeaderFontFamily": "Consolas, Monaco",
|
||||||
"CheckBoxBulletDecoratorSize": "14",
|
"CheckBoxBulletDecoratorSize": "14",
|
||||||
"CheckBoxMargin": "15,0,0,2",
|
"CheckBoxMargin": "15,0,0,2",
|
||||||
@@ -16,17 +21,17 @@
|
|||||||
"TabButtonWidth": "110",
|
"TabButtonWidth": "110",
|
||||||
"TabButtonHeight": "26",
|
"TabButtonHeight": "26",
|
||||||
"TabRowHeightInPixels": "50",
|
"TabRowHeightInPixels": "50",
|
||||||
|
"ToolTipWidth": "300",
|
||||||
"IconFontSize": "14",
|
"IconFontSize": "14",
|
||||||
"IconButtonSize": "35",
|
"IconButtonSize": "35",
|
||||||
"SettingsIconFontSize": "18",
|
"SettingsIconFontSize": "18",
|
||||||
"CloseIconFontSize": "18",
|
"CloseIconFontSize": "12",
|
||||||
"MicroWinLogoSize": "10",
|
|
||||||
"MicrowinCheckBoxMargin": "-10,5,0,0",
|
|
||||||
"GroupBorderBackgroundColor": "#232629",
|
"GroupBorderBackgroundColor": "#232629",
|
||||||
"ButtonFontSize": "12",
|
"ButtonFontSize": "12",
|
||||||
"ButtonFontFamily": "Arial",
|
"ButtonFontFamily": "Arial",
|
||||||
"ButtonWidth": "200",
|
"ButtonWidth": "200",
|
||||||
"ButtonHeight": "25",
|
"ButtonHeight": "25",
|
||||||
|
"ConfigTabButtonFontSize": "14",
|
||||||
"ConfigUpdateButtonFontSize": "14",
|
"ConfigUpdateButtonFontSize": "14",
|
||||||
"SearchBarWidth": "200",
|
"SearchBarWidth": "200",
|
||||||
"SearchBarHeight": "26",
|
"SearchBarHeight": "26",
|
||||||
@@ -38,7 +43,7 @@
|
|||||||
"ButtonCornerRadius": "2"
|
"ButtonCornerRadius": "2"
|
||||||
},
|
},
|
||||||
"Light": {
|
"Light": {
|
||||||
"AppInstallUnselectedColor": "#F0F0F0",
|
"AppInstallUnselectedColor": "#F7F7F7",
|
||||||
"AppInstallHighlightedColor": "#CFCFCF",
|
"AppInstallHighlightedColor": "#CFCFCF",
|
||||||
"AppInstallSelectedColor": "#C2C2C2",
|
"AppInstallSelectedColor": "#C2C2C2",
|
||||||
"ComboBoxForegroundColor": "#232629",
|
"ComboBoxForegroundColor": "#232629",
|
||||||
@@ -52,28 +57,30 @@
|
|||||||
"ScrollBarBackgroundColor": "#4A4D52",
|
"ScrollBarBackgroundColor": "#4A4D52",
|
||||||
"ScrollBarHoverColor": "#5A5D62",
|
"ScrollBarHoverColor": "#5A5D62",
|
||||||
"ScrollBarDraggingColor": "#6A6D72",
|
"ScrollBarDraggingColor": "#6A6D72",
|
||||||
|
"ProgressBarForegroundColor": "#2E77FF",
|
||||||
"ProgressBarForegroundColor": "#2e77ff",
|
|
||||||
"ProgressBarBackgroundColor": "Transparent",
|
"ProgressBarBackgroundColor": "Transparent",
|
||||||
"ProgressBarTextColor": "#232629",
|
|
||||||
"ButtonInstallBackgroundColor": "#F7F7F7",
|
"ButtonInstallBackgroundColor": "#F7F7F7",
|
||||||
"ButtonTweaksBackgroundColor": "#F7F7F7",
|
"ButtonTweaksBackgroundColor": "#F7F7F7",
|
||||||
"ButtonConfigBackgroundColor": "#F7F7F7",
|
"ButtonConfigBackgroundColor": "#F7F7F7",
|
||||||
"ButtonUpdatesBackgroundColor": "#F7F7F7",
|
"ButtonUpdatesBackgroundColor": "#F7F7F7",
|
||||||
|
"ButtonWin11ISOBackgroundColor": "#F7F7F7",
|
||||||
|
"ButtonAppxBackgroundColor": "#F7F7F7",
|
||||||
"ButtonInstallForegroundColor": "#232629",
|
"ButtonInstallForegroundColor": "#232629",
|
||||||
"ButtonTweaksForegroundColor": "#232629",
|
"ButtonTweaksForegroundColor": "#232629",
|
||||||
"ButtonConfigForegroundColor": "#232629",
|
"ButtonConfigForegroundColor": "#232629",
|
||||||
"ButtonUpdatesForegroundColor": "#232629",
|
"ButtonUpdatesForegroundColor": "#232629",
|
||||||
|
"ButtonWin11ISOForegroundColor": "#232629",
|
||||||
|
"ButtonAppxForegroundColor": "#232629",
|
||||||
"ButtonBackgroundColor": "#F5F5F5",
|
"ButtonBackgroundColor": "#F5F5F5",
|
||||||
"ButtonBackgroundPressedColor": "#1A1A1A",
|
"ButtonBackgroundPressedColor": "#1A1A1A",
|
||||||
"ButtonBackgroundMouseoverColor": "#C2C2C2",
|
"ButtonBackgroundMouseoverColor": "#C2C2C2",
|
||||||
"ButtonBackgroundSelectedColor": "#F0F0F0",
|
"ButtonBackgroundSelectedColor": "#F0F0F0",
|
||||||
"ButtonForegroundColor": "#232629",
|
"ButtonForegroundColor": "#232629",
|
||||||
"ToggleButtonOnColor": "#2e77ff",
|
"ToggleButtonOnColor": "#2E77FF",
|
||||||
"ToggleButtonOffColor": "#707070",
|
"ToggleButtonOffColor": "#707070",
|
||||||
|
"ToolTipBackgroundColor": "#F7F7F7",
|
||||||
"BorderColor": "#232629",
|
"BorderColor": "#232629",
|
||||||
"BorderOpacity": "0.2"
|
"BorderOpacity": "0.2"
|
||||||
|
|
||||||
},
|
},
|
||||||
"Dark": {
|
"Dark": {
|
||||||
"AppInstallUnselectedColor": "#232629",
|
"AppInstallUnselectedColor": "#232629",
|
||||||
@@ -81,34 +88,37 @@
|
|||||||
"AppInstallSelectedColor": "#4C4C4C",
|
"AppInstallSelectedColor": "#4C4C4C",
|
||||||
"ComboBoxForegroundColor": "#F7F7F7",
|
"ComboBoxForegroundColor": "#F7F7F7",
|
||||||
"ComboBoxBackgroundColor": "#1E3747",
|
"ComboBoxBackgroundColor": "#1E3747",
|
||||||
"LabelboxForegroundColor": "#0567ff",
|
"LabelboxForegroundColor": "#5BDCFF",
|
||||||
"MainForegroundColor": "#F7F7F7",
|
"MainForegroundColor": "#F7F7F7",
|
||||||
"MainBackgroundColor": "#232629",
|
"MainBackgroundColor": "#232629",
|
||||||
"LabelBackgroundColor": "#232629",
|
"LabelBackgroundColor": "#232629",
|
||||||
"LinkForegroundColor": "#add8e6",
|
"LinkForegroundColor": "#ADD8E6",
|
||||||
"LinkHoverForegroundColor": "#F7F7F7",
|
"LinkHoverForegroundColor": "#F7F7F7",
|
||||||
"ScrollBarBackgroundColor": "#2E3135",
|
"ScrollBarBackgroundColor": "#2E3135",
|
||||||
"ScrollBarHoverColor": "#3B4252",
|
"ScrollBarHoverColor": "#3B4252",
|
||||||
"ScrollBarDraggingColor": "#5E81AC",
|
"ScrollBarDraggingColor": "#5E81AC",
|
||||||
|
"ProgressBarForegroundColor": "#6EFF72",
|
||||||
"ProgressBarForegroundColor": "#222222",
|
|
||||||
"ProgressBarBackgroundColor": "Transparent",
|
"ProgressBarBackgroundColor": "Transparent",
|
||||||
"ProgressBarTextColor": "#cccccc",
|
|
||||||
"ButtonInstallBackgroundColor": "#222222",
|
"ButtonInstallBackgroundColor": "#222222",
|
||||||
"ButtonTweaksBackgroundColor": "#333333",
|
"ButtonTweaksBackgroundColor": "#333333",
|
||||||
"ButtonConfigBackgroundColor": "#444444",
|
"ButtonConfigBackgroundColor": "#444444",
|
||||||
"ButtonUpdatesBackgroundColor": "#555555",
|
"ButtonUpdatesBackgroundColor": "#555555",
|
||||||
|
"ButtonWin11ISOBackgroundColor": "#666666",
|
||||||
|
"ButtonAppxBackgroundColor": "#777777",
|
||||||
"ButtonInstallForegroundColor": "#F7F7F7",
|
"ButtonInstallForegroundColor": "#F7F7F7",
|
||||||
"ButtonTweaksForegroundColor": "#F7F7F7",
|
"ButtonTweaksForegroundColor": "#F7F7F7",
|
||||||
"ButtonConfigForegroundColor": "#F7F7F7",
|
"ButtonConfigForegroundColor": "#F7F7F7",
|
||||||
"ButtonUpdatesForegroundColor": "#F7F7F7",
|
"ButtonUpdatesForegroundColor": "#F7F7F7",
|
||||||
|
"ButtonWin11ISOForegroundColor": "#F7F7F7",
|
||||||
|
"ButtonAppxForegroundColor": "#F7F7F7",
|
||||||
"ButtonBackgroundColor": "#1E3747",
|
"ButtonBackgroundColor": "#1E3747",
|
||||||
"ButtonBackgroundPressedColor": "#F7F7F7",
|
"ButtonBackgroundPressedColor": "#F7F7F7",
|
||||||
"ButtonBackgroundMouseoverColor": "#3B4252",
|
"ButtonBackgroundMouseoverColor": "#3B4252",
|
||||||
"ButtonBackgroundSelectedColor": "#5E81AC",
|
"ButtonBackgroundSelectedColor": "#5E81AC",
|
||||||
"ButtonForegroundColor": "#F7F7F7",
|
"ButtonForegroundColor": "#F7F7F7",
|
||||||
"ToggleButtonOnColor": "#2e77ff",
|
"ToggleButtonOnColor": "#2E77FF",
|
||||||
"ToggleButtonOffColor": "#707070",
|
"ToggleButtonOffColor": "#707070",
|
||||||
|
"ToolTipBackgroundColor": "#2F373D",
|
||||||
"BorderColor": "#2F373D",
|
"BorderColor": "#2F373D",
|
||||||
"BorderOpacity": "0.2"
|
"BorderOpacity": "0.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# build output
|
||||||
|
dist/
|
||||||
|
# generated types
|
||||||
|
.astro/
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# logs
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
|
||||||
|
|
||||||
|
# environment variables
|
||||||
|
.env
|
||||||
|
.env.production
|
||||||
|
|
||||||
|
# macOS-specific files
|
||||||
|
.DS_Store
|
||||||
@@ -1,214 +0,0 @@
|
|||||||
## Launch Issues
|
|
||||||
|
|
||||||
### Blocked by anti-virus
|
|
||||||
Windows Security (formerly Defender) and other anti-virus software are known to block the script. The script gets flagged due to the fact that it requires administrator privileges & makes drastic system changes.
|
|
||||||
|
|
||||||
To resolve this, allow/whitelist the script in your anti-virus software settings, or temporarily disable real-time protection. Since the project is open source, you may audit the code if security is a concern.
|
|
||||||
|
|
||||||
### Download not working
|
|
||||||
If `https://christitus.com/win` is not working, or you want to download the code from GitHub directly, you can use the direct download link:
|
|
||||||
|
|
||||||
```ps1
|
|
||||||
irm https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1 | iex
|
|
||||||
```
|
|
||||||
|
|
||||||
If you are seeing errors referencing TLS or security, you may be running an older version of Windows where TLS 1.2 is not the default security protocol used for network connections. The following commands will force .NET to use TLS 1.2, and download the script directly using .NET instead of PowerShell:
|
|
||||||
|
|
||||||
```ps1
|
|
||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
|
||||||
iex (New-Object Net.WebClient).DownloadString('https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1')
|
|
||||||
```
|
|
||||||
|
|
||||||
If it still isn't working and you live in India, it might be due to India blocking GitHub's content domain and preventing downloads. See more on [Times of India](https://timesofindia.indiatimes.com/gadgets-news/github-content-domain-blocked-for-these-indian-users-reports/articleshow/96687992.cms).
|
|
||||||
|
|
||||||
If you are still having issues, try using a **VPN**, or changing your **DNS provider** to one of following two providers:
|
|
||||||
|
|
||||||
| Provider | Primary DNS | Secondary DNS |
|
|
||||||
|:------------:|:------------:|:-------------:|
|
|
||||||
| Cloudflare | `1.1.1.1` | `1.0.0.1` |
|
|
||||||
| Google | `8.8.8.8` | `8.8.4.4` |
|
|
||||||
|
|
||||||
|
|
||||||
### Script blocked by Execution Policy
|
|
||||||
1. Ensure you are running PowerShell as admin: Press `Windows Key`+`X` and select *PowerShell (Admin)* in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
|
||||||
2. In the PowerShell window, type this to allow unsigned code to execute and run the installation script:
|
|
||||||
```ps1
|
|
||||||
Set-ExecutionPolicy Unrestricted -Scope Process -Force
|
|
||||||
irm https://christitus.com/win | iex
|
|
||||||
```
|
|
||||||
|
|
||||||
## Runtime Issues
|
|
||||||
|
|
||||||
### WinGet configuration
|
|
||||||
If you have not installed anything using PowerShell before, you may be prompted to configure WinGet. This requires user interaction on first run. You will need to manually type `y` into the PowerShell console and press enter to continue. Once you do it the first time, you will not be prompted again.
|
|
||||||
|
|
||||||
### MicroWin: Error `0x80041031`
|
|
||||||
This error code typically indicates an issue related to Windows Management Instrumentation (WMI). Here are a few steps you can try to resolve the issue:
|
|
||||||
|
|
||||||
1. **Reboot Your Computer:**
|
|
||||||
|
|
||||||
Sometimes, a simple reboot can resolve temporary issues. Restart your computer and try mounting the ISO again.
|
|
||||||
|
|
||||||
3. **Check for System Corruption:**
|
|
||||||
|
|
||||||
Run the System File Checker (SFC) utility to scan and repair system files that may be corrupted.
|
|
||||||
```powershell
|
|
||||||
sfc /scannow
|
|
||||||
```
|
|
||||||
|
|
||||||
4. **Update Your System:**
|
|
||||||
|
|
||||||
Make sure your operating system is up-to-date. Check for Windows updates and install any pending updates.
|
|
||||||
|
|
||||||
5. **Check WMI Service:**
|
|
||||||
|
|
||||||
Ensure that the Windows Management Instrumentation (WMI) service is running. You can do this through the Services application:
|
|
||||||
- Press `Win`+`R` to open the Run dialog.
|
|
||||||
- Type `services.msc` and press Enter.
|
|
||||||
- Locate *Windows Management Instrumentation* in the list.
|
|
||||||
- Make sure to set its status to "Running" and the startup type to "Automatic".
|
|
||||||
|
|
||||||
6. **Check for Security Software Interference:**
|
|
||||||
|
|
||||||
Security software can sometimes interfere with WMI operations. Temporarily disable your anti-virus or security software and check if the issue persists. WMI is a common attack/infection vector, so many anti-virus programs will limit its usage.
|
|
||||||
|
|
||||||
7. **Event Viewer:**
|
|
||||||
|
|
||||||
Check the Event Viewer for more detailed error information. Look for entries related to the `80041031` error and check if there are any additional details that can help identify the cause.
|
|
||||||
|
|
||||||
- Press `Win`+`X` and select *Event Viewer*.
|
|
||||||
- Navigate to *Windows Logs* > *Application* or *System*.
|
|
||||||
- Look for entries with the source related to WMI or the application use to mount the ISO.
|
|
||||||
|
|
||||||
8. **ISO File Integrity:**
|
|
||||||
|
|
||||||
Ensure that the ISO file you are trying to mount is uncorrupted. Try mounting a different ISO file to see if the issue persists.
|
|
||||||
|
|
||||||
If the problem persists after trying these steps, additional troubleshooting is required. Consider seeking assistance from Microsoft support or community forums for more specific guidance based on your system configuration and the software you use to mount the ISO.
|
|
||||||
|
|
||||||
## Windows Issues
|
|
||||||
|
|
||||||
### Windows takes longer to shut down
|
|
||||||
This could be for a number of reasons:
|
|
||||||
- Turn on fast startup: Press `Windows key`+`R`, then type:
|
|
||||||
```bat
|
|
||||||
control /name Microsoft.PowerOptions /page pageGlobalSettings
|
|
||||||
```
|
|
||||||
- If that doesn't work, disable Hibernation:
|
|
||||||
- Press `Windows Key`+`X` and select *PowerShell (Admin)* in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
|
||||||
- In the PowerShell window, type:
|
|
||||||
```bat
|
|
||||||
powercfg /H off
|
|
||||||
```
|
|
||||||
Related issue: [#69](https://github.com/ChrisTitusTech/winutil/issues/69)
|
|
||||||
|
|
||||||
### Windows Search does not work
|
|
||||||
Enable Background Apps. Related issues: [#69](https://github.com/ChrisTitusTech/winutil/issues/69) [95](https://github.com/ChrisTitusTech/winutil/issues/95) [#232](https://github.com/ChrisTitusTech/winutil/issues/232)
|
|
||||||
|
|
||||||
### Xbox Game Bar Activation Broken
|
|
||||||
Set the Xbox Accessory Management Service to Automatic:
|
|
||||||
|
|
||||||
```ps1
|
|
||||||
Get-Service -Name "XboxGipSvc" | Set-Service -StartupType Automatic
|
|
||||||
```
|
|
||||||
|
|
||||||
Related issue: [#198](https://github.com/ChrisTitusTech/winutil/issues/198)
|
|
||||||
|
|
||||||
### Windows 11: Quick Settings no longer works
|
|
||||||
Launch the Script and click *Enable Action Center*.
|
|
||||||
|
|
||||||
### Explorer (file browser) no longer launches
|
|
||||||
- Press `Windows key`+`R` then type:
|
|
||||||
```bat
|
|
||||||
control /name Microsoft.FolderOptions
|
|
||||||
```
|
|
||||||
- Change the *Open File Explorer to* option to *This PC*.
|
|
||||||
|
|
||||||
### Battery drains too fast
|
|
||||||
If you're using a laptop or tablet and find your battery drains too fast, please try the below troubleshooting steps, and report the results back to the Winutil community.
|
|
||||||
|
|
||||||
1. **Check Battery Health:**
|
|
||||||
- Press `Windows Key`+`X` and select *PowerShell (Admin)* in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
|
||||||
- Run the following command to generate a battery report:
|
|
||||||
```powershell
|
|
||||||
powercfg /batteryreport /output "C:\battery_report.html"
|
|
||||||
```
|
|
||||||
- Open the generated HTML report to review information about battery health and usage. A battery with poor health may hold less charge, discharge faster, or cause other issues.
|
|
||||||
|
|
||||||
2. **Review Power Settings:**
|
|
||||||
- Open the Settings app, and go to *System* > *Power & sleep*.
|
|
||||||
- Adjust power plan settings based on your preferences and usage patterns.
|
|
||||||
- Click on *Additional power settings* to access advanced power settings that may help.
|
|
||||||
|
|
||||||
3. **Identify Power-Hungry Apps:**
|
|
||||||
- Right-click on the taskbar and select *Task Manager*.
|
|
||||||
- Navigate to the *Processes* tab to identify applications with high CPU or memory usage.
|
|
||||||
- Consider reconfiguring, closing, disabling, or uninstalling applications that use a lot of resources.
|
|
||||||
|
|
||||||
4. **Update Drivers:**
|
|
||||||
- Visit your device manufacturer's website or use Windows Update to check for driver updates.
|
|
||||||
- Ensure graphics, chipset, and other essential drivers are up to date.
|
|
||||||
|
|
||||||
5. **Check for Windows Updates:**
|
|
||||||
- Open the Settings app, and go to *Update & Security* > *Windows Update*.
|
|
||||||
- Check for and install any available updates for your operating system.
|
|
||||||
|
|
||||||
6. **Reduce Screen Brightness:**
|
|
||||||
- Open the Settings app, and go to *System* > *Display*.
|
|
||||||
- Adjust screen brightness based on your preferences and lighting conditions.
|
|
||||||
|
|
||||||
7. **Enable Battery Saver:**
|
|
||||||
- Open the Settings app, and go to *System* > *Battery*.
|
|
||||||
- Turn on *Battery saver* to limit background activity and conserve power.
|
|
||||||
|
|
||||||
8. **Check Power Usage in Settings:**
|
|
||||||
- Open the Settings app, and go to *System* > *Battery* > *Battery usage by app*.
|
|
||||||
- Review the list of apps and their power usage. Disable or uninstall any you don't need.
|
|
||||||
|
|
||||||
9. **Check Background Apps:**
|
|
||||||
- Open the Settings app, and go to *Privacy* > *Background apps*.
|
|
||||||
- Disable or uninstall unnecessary apps running in the background.
|
|
||||||
|
|
||||||
10. **Use `powercfg` for Analysis:**
|
|
||||||
- Press `Windows Key`+`X` and select *PowerShell (Admin)* in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
|
||||||
- Run the following command to analyze energy usage and generate a report:
|
|
||||||
```powershell
|
|
||||||
powercfg /energy /output "C:\energy_report.html"
|
|
||||||
```
|
|
||||||
- Open the generated HTML report to identify energy consumption patterns.
|
|
||||||
|
|
||||||
11. **Review Event Logs:**
|
|
||||||
- Open Event Viewer by searching for it in the Start menu.
|
|
||||||
- Navigate to *Windows Logs* > *System*.
|
|
||||||
- Look for events with the source *Power-Troubleshooter* to identify power-related events. These may highlight battery, input power, and other issues.
|
|
||||||
|
|
||||||
12. **Check Wake-up Sources:**
|
|
||||||
- Press `Windows Key`+`X` and select *PowerShell (Admin)* in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
|
||||||
- Use the command `powercfg /requests` to identify processes preventing sleep.
|
|
||||||
- Use the command `powercfg /waketimers` to view active wake timers.
|
|
||||||
- Check Task Scheduler to see if any of the discovered processes are scheduled to start on boot or at regular intervals.
|
|
||||||
|
|
||||||
13. **Advanced Identification of Power-Hungry Apps:**
|
|
||||||
- Open Resource Monitor from the Start menu.
|
|
||||||
- Navigate to the *CPU*, *Memory*, *Network*, and other tabs to identify processes with high resource usage.
|
|
||||||
- Consider reconfiguring, closing, disabling, or uninstalling applications that use a lot of resources.
|
|
||||||
|
|
||||||
14. **Disable Activity History:**
|
|
||||||
- Open the Settings app, and go to *Privacy* > *Activity history*.
|
|
||||||
- Turn off *Let Windows collect my activities from this PC*.
|
|
||||||
|
|
||||||
15. **Prevent Network Adapters From Waking PC:**
|
|
||||||
- Open Device Manager by searching for it in the Start menu.
|
|
||||||
- Locate your network adapter, right-click, and go to *Properties*.
|
|
||||||
- Under the *Power Management* tab, uncheck the option that allows the device to wake the computer.
|
|
||||||
|
|
||||||
16. **Review Installed Applications:**
|
|
||||||
- Manually review installed applications by searching for *Add or remove programs* in the Start menu.
|
|
||||||
- Check settings/preferences of individual applications for power-related options.
|
|
||||||
- Uninstall unnecessary or problematic software.
|
|
||||||
|
|
||||||
These troubleshooting steps are generic, but should help in most situations. You should have these key takeaways:
|
|
||||||
- Battery health is the most significant limiter on your device's runtime. A battery in poor health usually cannot be made to last like it used to, simply by closing some applications. Consider replacing your battery.
|
|
||||||
- Background applications that use CPU and memory, make lots of or large network requests, read/write to disk frequently, or that keep your PC awake when it could be conserving energy are the next major concern. Avoid installing programs you don't need, only use programs you trust, and configure applications to use as little power and run as infrequently as possible.
|
|
||||||
- Windows performs a lot of tasks that may affect battery life by default. Changing settings, stopping scheduled tasks, and disabling features can help the system stay in lower power states to conserve battery.
|
|
||||||
- Bad chargers, inconsistent power input, and high temperatures will cause batteries to degrade and discharge faster. Use trusted high-quality chargers, ensure input power is steady, clean any fans or airflow ports, and keep the battery/PC cool.
|
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
# Starlight Starter Kit: Basics
|
||||||
|
|
||||||
|
[](https://starlight.astro.build)
|
||||||
|
|
||||||
|
```
|
||||||
|
npm create astro@latest -- --template starlight
|
||||||
|
```
|
||||||
|
|
||||||
|
> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
|
||||||
|
|
||||||
|
## 🚀 Project Structure
|
||||||
|
|
||||||
|
Inside of your Astro + Starlight project, you'll see the following folders and files:
|
||||||
|
|
||||||
|
```
|
||||||
|
.
|
||||||
|
├── public/
|
||||||
|
├── src/
|
||||||
|
│ ├── assets/
|
||||||
|
│ ├── content/
|
||||||
|
│ │ └── docs/
|
||||||
|
│ └── content.config.ts
|
||||||
|
├── astro.config.mjs
|
||||||
|
├── package.json
|
||||||
|
└── tsconfig.json
|
||||||
|
```
|
||||||
|
|
||||||
|
Starlight looks for `.md` or `.mdx` files in the `src/content/docs/` directory. Each file is exposed as a route based on its file name.
|
||||||
|
|
||||||
|
Images can be added to `src/assets/` and embedded in Markdown with a relative link.
|
||||||
|
|
||||||
|
Static assets, like favicons, can be placed in the `public/` directory.
|
||||||
|
|
||||||
|
## 🧞 Commands
|
||||||
|
|
||||||
|
All commands are run from the root of the project, from a terminal:
|
||||||
|
|
||||||
|
| Command | Action |
|
||||||
|
| :------------------------ | :----------------------------------------------- |
|
||||||
|
| `npm install` | Installs dependencies |
|
||||||
|
| `npm run dev` | Starts local dev server at `localhost:4321` |
|
||||||
|
| `npm run build` | Build your production site to `./dist/` |
|
||||||
|
| `npm run preview` | Preview your build locally, before deploying |
|
||||||
|
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
|
||||||
|
| `npm run astro -- --help` | Get help using the Astro CLI |
|
||||||
|
|
||||||
|
## 👀 Want to learn more?
|
||||||
|
|
||||||
|
Check out [Starlight’s docs](https://starlight.astro.build/), read [the Astro documentation](https://docs.astro.build), or jump into the [Astro Discord server](https://astro.build/chat).
|
||||||
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 213 KiB |
|
Before Width: | Height: | Size: 137 KiB |
|
Before Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 264 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 9.6 KiB |
@@ -0,0 +1,70 @@
|
|||||||
|
// @ts-check
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
|
import starlight from '@astrojs/starlight';
|
||||||
|
import { siteLinks } from './src/site-links.ts';
|
||||||
|
|
||||||
|
// https://astro.build/config
|
||||||
|
export default defineConfig({
|
||||||
|
site: 'https://winutil.christitus.com/',
|
||||||
|
integrations: [
|
||||||
|
starlight({
|
||||||
|
title: 'WinUtil',
|
||||||
|
description: "Chris Titus Tech's Windows Utility — install apps, apply tweaks, run fixes, and manage Windows from one place.",
|
||||||
|
logo: {
|
||||||
|
src: './src/assets/branding/navlogo.png',
|
||||||
|
replacesTitle: true,
|
||||||
|
},
|
||||||
|
favicon: '/favicon.svg',
|
||||||
|
social: [
|
||||||
|
{ icon: 'github', label: 'GitHub', href: 'https://github.com/ChrisTitusTech/winutil' },
|
||||||
|
{ icon: 'discord', label: 'Discord', href: 'https://discord.gg/RUbZUZyByQ' },
|
||||||
|
],
|
||||||
|
// Global theme overrides (colors, fonts, landing-page section styles).
|
||||||
|
customCss: ['./src/styles/theme.css'],
|
||||||
|
// Custom component overrides, all under src/components/.
|
||||||
|
components: {
|
||||||
|
ThemeProvider: './src/components/ThemeProvider.astro',
|
||||||
|
Header: './src/components/Header.astro',
|
||||||
|
Hero: './src/components/Hero.astro',
|
||||||
|
Footer: './src/components/Footer.astro',
|
||||||
|
},
|
||||||
|
editLink: {
|
||||||
|
baseUrl: 'https://github.com/ChrisTitusTech/winutil/edit/main/docs/',
|
||||||
|
},
|
||||||
|
// Sidebar groups, top to bottom: User Guide, Code Reference, Help.
|
||||||
|
sidebar: [
|
||||||
|
{
|
||||||
|
label: 'User Guide',
|
||||||
|
items: [
|
||||||
|
{ label: 'Overview', slug: 'guides' },
|
||||||
|
{ label: 'Getting Started', slug: 'guides/getting-started' },
|
||||||
|
{ label: 'Applications', slug: 'guides/application' },
|
||||||
|
{ label: 'Tweaks', slug: 'guides/tweaks' },
|
||||||
|
{ label: 'Features', slug: 'guides/features' },
|
||||||
|
{ label: 'Updates', slug: 'guides/updates' },
|
||||||
|
{ label: 'Automation', slug: 'guides/automation' },
|
||||||
|
{ label: 'Win11 Creator', slug: 'guides/win11creator' },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Code Reference',
|
||||||
|
items: [
|
||||||
|
{ label: 'Architecture & Design', slug: 'code-reference/architecture' },
|
||||||
|
{ label: 'Tweaks Reference', items: [{ autogenerate: { directory: 'code-reference/tweaks' } }] },
|
||||||
|
{ label: 'Features Reference', items: [{ autogenerate: { directory: 'code-reference/features' } }] },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Help',
|
||||||
|
items: [
|
||||||
|
{ label: 'FAQ', slug: 'faq' },
|
||||||
|
{ label: 'Known Issues', slug: 'knownissues' },
|
||||||
|
{ label: 'Contributing', slug: 'contributing' },
|
||||||
|
{ label: siteLinks.forums.label, link: siteLinks.forums.href, attrs: { target: '_blank', rel: 'noreferrer' } },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{ label: siteLinks.store.label, link: siteLinks.store.href, attrs: { target: '_blank', rel: 'noreferrer' } },
|
||||||
|
],
|
||||||
|
}),
|
||||||
|
],
|
||||||
|
});
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
# Disable Legacy F8 Boot Recovery
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Disable Legacy F8 Boot Recovery",
|
|
||||||
"Description": "Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a019_",
|
|
||||||
"feature": [],
|
|
||||||
"InvokeScript": [
|
|
||||||
"
|
|
||||||
If (!(Test-Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood')) {
|
|
||||||
New-Item -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Name 'Enabled' -Type DWord -Value 0 -Force
|
|
||||||
Start-Process -FilePath cmd.exe -ArgumentList '/c bcdedit /Set {Current} BootMenuPolicy Standard' -Wait
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/DisableLegacyRecovery"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Invoke Script
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
|
|
||||||
If (!(Test-Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager\LastKnownGood')) {
|
|
||||||
New-Item -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager\LastKnownGood' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager\LastKnownGood' -Name 'Enabled' -Type DWord -Value 0 -Force
|
|
||||||
Start-Process -FilePath cmd.exe -ArgumentList '/c bcdedit /Set {Current} BootMenuPolicy Standard' -Wait
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
# Disable Search Box Web Suggestions in Registry(explorer restart)
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Disables web suggestions when searching using Windows Search.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Disable Search Box Web Suggestions in Registry(explorer restart)",
|
|
||||||
"Description": "Disables web suggestions when searching using Windows Search.",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a016_",
|
|
||||||
"feature": [],
|
|
||||||
"InvokeScript": [
|
|
||||||
"
|
|
||||||
If (!(Test-Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer')) {
|
|
||||||
New-Item -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Name 'DisableSearchBoxSuggestions' -Type DWord -Value 1 -Force
|
|
||||||
Stop-Process -name explorer -force
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/DisableSearchSuggestions"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Invoke Script
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
|
|
||||||
If (!(Test-Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer')) {
|
|
||||||
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer' -Name 'DisableSearchBoxSuggestions' -Type DWord -Value 1 -Force
|
|
||||||
Stop-Process -name explorer -force
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
# Enable Legacy F8 Boot Recovery
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Enable Legacy F8 Boot Recovery",
|
|
||||||
"Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a018_",
|
|
||||||
"feature": [],
|
|
||||||
"InvokeScript": [
|
|
||||||
"
|
|
||||||
If (!(Test-Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood')) {
|
|
||||||
New-Item -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Name 'Enabled' -Type DWord -Value 1 -Force
|
|
||||||
Start-Process -FilePath cmd.exe -ArgumentList '/c bcdedit /Set {Current} BootMenuPolicy Legacy' -Wait
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/EnableLegacyRecovery"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Invoke Script
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
|
|
||||||
If (!(Test-Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager\LastKnownGood')) {
|
|
||||||
New-Item -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager\LastKnownGood' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager\LastKnownGood' -Name 'Enabled' -Type DWord -Value 1 -Force
|
|
||||||
Start-Process -FilePath cmd.exe -ArgumentList '/c bcdedit /Set {Current} BootMenuPolicy Legacy' -Wait
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
# Enable Search Box Web Suggestions in Registry(explorer restart)
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Enables web suggestions when searching using Windows Search.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Enable Search Box Web Suggestions in Registry(explorer restart)",
|
|
||||||
"Description": "Enables web suggestions when searching using Windows Search.",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a015_",
|
|
||||||
"feature": [],
|
|
||||||
"InvokeScript": [
|
|
||||||
"
|
|
||||||
If (!(Test-Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer')) {
|
|
||||||
New-Item -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Name 'DisableSearchBoxSuggestions' -Type DWord -Value 0 -Force
|
|
||||||
Stop-Process -name explorer -force
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/EnableSearchSuggestions"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Invoke Script
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
|
|
||||||
If (!(Test-Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer')) {
|
|
||||||
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer' -Force | Out-Null
|
|
||||||
}
|
|
||||||
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer' -Name 'DisableSearchBoxSuggestions' -Type DWord -Value 0 -Force
|
|
||||||
Stop-Process -name explorer -force
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
# Install Features
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Install Features",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a060_",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/Install"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFFeatureInstall
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFFeatureInstall {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Installs selected Windows Features
|
|
||||||
|
|
||||||
#>
|
|
||||||
|
|
||||||
if($sync.ProcessRunning) {
|
|
||||||
$msg = "[Invoke-WPFFeatureInstall] Install process is currently running."
|
|
||||||
[System.Windows.MessageBox]::Show($msg, "Winutil", [System.Windows.MessageBoxButton]::OK, [System.Windows.MessageBoxImage]::Warning)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
$Features = (Get-WinUtilCheckBoxes)["WPFFeature"]
|
|
||||||
|
|
||||||
Invoke-WPFRunspace -ArgumentList $Features -DebugPreference $DebugPreference -ScriptBlock {
|
|
||||||
param($Features, $DebugPreference)
|
|
||||||
$sync.ProcessRunning = $true
|
|
||||||
if ($Features.count -eq 1) {
|
|
||||||
$sync.form.Dispatcher.Invoke([action]{ Set-WinUtilTaskbaritem -state "Indeterminate" -value 0.01 -overlay "logo" })
|
|
||||||
} else {
|
|
||||||
$sync.form.Dispatcher.Invoke([action]{ Set-WinUtilTaskbaritem -state "Normal" -value 0.01 -overlay "logo" })
|
|
||||||
}
|
|
||||||
|
|
||||||
Invoke-WinUtilFeatureInstall $Features
|
|
||||||
|
|
||||||
$sync.ProcessRunning = $false
|
|
||||||
$sync.form.Dispatcher.Invoke([action]{ Set-WinUtilTaskbaritem -state "None" -overlay "checkmark" })
|
|
||||||
|
|
||||||
Write-Host "==================================="
|
|
||||||
Write-Host "--- Features are Installed ---"
|
|
||||||
Write-Host "--- A Reboot may be required ---"
|
|
||||||
Write-Host "==================================="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
# Enable Daily Registry Backup Task 12.30am
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Enable Daily Registry Backup Task 12.30am",
|
|
||||||
"Description": "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a017_",
|
|
||||||
"feature": [],
|
|
||||||
"InvokeScript": [
|
|
||||||
"
|
|
||||||
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager' -Name 'EnablePeriodicBackup' -Type DWord -Value 1 -Force
|
|
||||||
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager' -Name 'BackupCount' -Type DWord -Value 2 -Force
|
|
||||||
$action = New-ScheduledTaskAction -Execute 'schtasks' -Argument '/run /i /tn \"\\Microsoft\\Windows\\Registry\\RegIdleBackup\"'
|
|
||||||
$trigger = New-ScheduledTaskTrigger -Daily -At 00:30
|
|
||||||
Register-ScheduledTask -Action $action -Trigger $trigger -TaskName 'AutoRegBackup' -Description 'Create System Registry Backups' -User 'System'
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/RegBackup"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Invoke Script
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
|
|
||||||
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager' -Name 'EnablePeriodicBackup' -Type DWord -Value 1 -Force
|
|
||||||
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager' -Name 'BackupCount' -Type DWord -Value 2 -Force
|
|
||||||
$action = New-ScheduledTaskAction -Execute 'schtasks' -Argument '/run /i /tn "\Microsoft\Windows\Registry\RegIdleBackup"'
|
|
||||||
$trigger = New-ScheduledTaskTrigger -Daily -At 00:30
|
|
||||||
Register-ScheduledTask -Action $action -Trigger $trigger -TaskName 'AutoRegBackup' -Description 'Create System Registry Backups' -User 'System'
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
# Windows Sandbox
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Windows Sandbox",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a021_",
|
|
||||||
"Description": "Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation.",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/Sandbox"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
# All .Net Framework (2,3,4)
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
.NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "All .Net Framework (2,3,4)",
|
|
||||||
"Description": ".NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a010_",
|
|
||||||
"feature": [
|
|
||||||
"NetFx4-AdvSrvs",
|
|
||||||
"NetFx3"
|
|
||||||
],
|
|
||||||
"InvokeScript": [],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/dotnet"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
|
|
||||||
Optional Windows Features are additional functionalities or components in the Windows operating system that users can choose to enable or disable based on their specific needs and preferences.
|
|
||||||
|
|
||||||
|
|
||||||
You can find information about Optional Windows Features on [Microsoft's Website for Optional Features](https://learn.microsoft.com/en-us/windows/client-management/client-tools/add-remove-hide-features?pivots=windows-11).
|
|
||||||
|
|
||||||
### Features to install
|
|
||||||
- NetFx4-AdvSrvs
|
|
||||||
- NetFx3
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
# HyperV Virtualization
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "HyperV Virtualization",
|
|
||||||
"Description": "Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines.",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a011_",
|
|
||||||
"feature": [
|
|
||||||
"HypervisorPlatform",
|
|
||||||
"Microsoft-Hyper-V-All",
|
|
||||||
"Microsoft-Hyper-V",
|
|
||||||
"Microsoft-Hyper-V-Tools-All",
|
|
||||||
"Microsoft-Hyper-V-Management-PowerShell",
|
|
||||||
"Microsoft-Hyper-V-Hypervisor",
|
|
||||||
"Microsoft-Hyper-V-Services",
|
|
||||||
"Microsoft-Hyper-V-Management-Clients"
|
|
||||||
],
|
|
||||||
"InvokeScript": [
|
|
||||||
"Start-Process -FilePath cmd.exe -ArgumentList '/c bcdedit /set hypervisorschedulertype classic' -Wait"
|
|
||||||
],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/hyperv"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
|
|
||||||
Optional Windows Features are additional functionalities or components in the Windows operating system that users can choose to enable or disable based on their specific needs and preferences.
|
|
||||||
|
|
||||||
|
|
||||||
You can find information about Optional Windows Features on [Microsoft's Website for Optional Features](https://learn.microsoft.com/en-us/windows/client-management/client-tools/add-remove-hide-features?pivots=windows-11).
|
|
||||||
|
|
||||||
### Features to install
|
|
||||||
- HypervisorPlatform
|
|
||||||
- Microsoft-Hyper-V-All
|
|
||||||
- Microsoft-Hyper-V
|
|
||||||
- Microsoft-Hyper-V-Tools-All
|
|
||||||
- Microsoft-Hyper-V-Management-PowerShell
|
|
||||||
- Microsoft-Hyper-V-Hypervisor
|
|
||||||
- Microsoft-Hyper-V-Services
|
|
||||||
- Microsoft-Hyper-V-Management-Clients
|
|
||||||
|
|
||||||
## Invoke Script
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
Start-Process -FilePath cmd.exe -ArgumentList '/c bcdedit /set hypervisorschedulertype classic' -Wait
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
# Legacy Media (WMP, DirectPlay)
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Enables legacy programs from previous versions of windows
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Legacy Media (WMP, DirectPlay)",
|
|
||||||
"Description": "Enables legacy programs from previous versions of windows",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a012_",
|
|
||||||
"feature": [
|
|
||||||
"WindowsMediaPlayer",
|
|
||||||
"MediaPlayback",
|
|
||||||
"DirectPlay",
|
|
||||||
"LegacyComponents"
|
|
||||||
],
|
|
||||||
"InvokeScript": [],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/legacymedia"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
|
|
||||||
Optional Windows Features are additional functionalities or components in the Windows operating system that users can choose to enable or disable based on their specific needs and preferences.
|
|
||||||
|
|
||||||
|
|
||||||
You can find information about Optional Windows Features on [Microsoft's Website for Optional Features](https://learn.microsoft.com/en-us/windows/client-management/client-tools/add-remove-hide-features?pivots=windows-11).
|
|
||||||
|
|
||||||
### Features to install
|
|
||||||
- WindowsMediaPlayer
|
|
||||||
- MediaPlayback
|
|
||||||
- DirectPlay
|
|
||||||
- LegacyComponents
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
# NFS - Network File System
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Network File System (NFS) is a mechanism for storing files on a network.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "NFS - Network File System",
|
|
||||||
"Description": "Network File System (NFS) is a mechanism for storing files on a network.",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a014_",
|
|
||||||
"feature": [
|
|
||||||
"ServicesForNFS-ClientOnly",
|
|
||||||
"ClientForNFS-Infrastructure",
|
|
||||||
"NFS-Administration"
|
|
||||||
],
|
|
||||||
"InvokeScript": [
|
|
||||||
"nfsadmin client stop",
|
|
||||||
"Set-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\ClientForNFS\\CurrentVersion\\Default' -Name 'AnonymousUID' -Type DWord -Value 0",
|
|
||||||
"Set-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\ClientForNFS\\CurrentVersion\\Default' -Name 'AnonymousGID' -Type DWord -Value 0",
|
|
||||||
"nfsadmin client start",
|
|
||||||
"nfsadmin client localhost config fileaccess=755 SecFlavors=+sys -krb5 -krb5i"
|
|
||||||
],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/nfs"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
|
|
||||||
Optional Windows Features are additional functionalities or components in the Windows operating system that users can choose to enable or disable based on their specific needs and preferences.
|
|
||||||
|
|
||||||
|
|
||||||
You can find information about Optional Windows Features on [Microsoft's Website for Optional Features](https://learn.microsoft.com/en-us/windows/client-management/client-tools/add-remove-hide-features?pivots=windows-11).
|
|
||||||
|
|
||||||
### Features to install
|
|
||||||
- ServicesForNFS-ClientOnly
|
|
||||||
- ClientForNFS-Infrastructure
|
|
||||||
- NFS-Administration
|
|
||||||
|
|
||||||
## Invoke Script
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
nfsadmin client stop
|
|
||||||
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default' -Name 'AnonymousUID' -Type DWord -Value 0
|
|
||||||
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default' -Name 'AnonymousGID' -Type DWord -Value 0
|
|
||||||
nfsadmin client start
|
|
||||||
nfsadmin client localhost config fileaccess=755 SecFlavors=+sys -krb5 -krb5i
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
# Windows Subsystem for Linux
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Windows Subsystem for Linux",
|
|
||||||
"Description": "Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting.",
|
|
||||||
"category": "Features",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a020_",
|
|
||||||
"feature": [
|
|
||||||
"VirtualMachinePlatform",
|
|
||||||
"Microsoft-Windows-Subsystem-Linux"
|
|
||||||
],
|
|
||||||
"InvokeScript": [],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Features/wsl"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
|
|
||||||
Optional Windows Features are additional functionalities or components in the Windows operating system that users can choose to enable or disable based on their specific needs and preferences.
|
|
||||||
|
|
||||||
|
|
||||||
You can find information about Optional Windows Features on [Microsoft's Website for Optional Features](https://learn.microsoft.com/en-us/windows/client-management/client-tools/add-remove-hide-features?pivots=windows-11).
|
|
||||||
|
|
||||||
### Features to install
|
|
||||||
- VirtualMachinePlatform
|
|
||||||
- Microsoft-Windows-Subsystem-Linux
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
# Set Up Autologin
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Set Up Autologin",
|
|
||||||
"category": "Fixes",
|
|
||||||
"Order": "a040_",
|
|
||||||
"panel": "1",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Fixes/Autologin"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFPanelAutologin
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFPanelAutologin {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Enables autologin using Sysinternals Autologon.exe
|
|
||||||
|
|
||||||
#>
|
|
||||||
|
|
||||||
# Official Microsoft recommendation: https://learn.microsoft.com/en-us/sysinternals/downloads/autologon
|
|
||||||
Invoke-WebRequest -Uri "https://live.sysinternals.com/Autologon.exe" -OutFile "$env:temp\autologin.exe"
|
|
||||||
cmd /c "$env:temp\autologin.exe" /accepteula
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
# System Corruption Scan
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "System Corruption Scan",
|
|
||||||
"category": "Fixes",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a043_",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Fixes/DISM"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFPanelDISM
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFPanelDISM {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Checks for system corruption using Chkdsk, SFC, and DISM
|
|
||||||
|
|
||||||
.DESCRIPTION
|
|
||||||
1. Chkdsk - Fixes disk and filesystem corruption
|
|
||||||
2. SFC Run 1 - Fixes system file corruption, and fixes DISM if it was corrupted
|
|
||||||
3. DISM - Fixes system image corruption, and fixes SFC's system image if it was corrupted
|
|
||||||
4. SFC Run 2 - Fixes system file corruption, this time with an almost guaranteed uncorrupted system image
|
|
||||||
|
|
||||||
.NOTES
|
|
||||||
Command Arguments:
|
|
||||||
1. Chkdsk
|
|
||||||
/Scan - Runs an online scan on the system drive, attempts to fix any corruption, and queues other corruption for fixing on reboot
|
|
||||||
2. SFC
|
|
||||||
/ScanNow - Performs a scan of the system files and fixes any corruption
|
|
||||||
3. DISM - Fixes system image corruption, and fixes SFC's system image if it was corrupted
|
|
||||||
/Online - Fixes the currently running system image
|
|
||||||
/Cleanup-Image - Performs cleanup operations on the image, could remove some unneeded temporary files
|
|
||||||
/Restorehealth - Performs a scan of the image and fixes any corruption
|
|
||||||
|
|
||||||
#>
|
|
||||||
Start-Process PowerShell -ArgumentList "Write-Host '(1/4) Chkdsk' -ForegroundColor Green; Chkdsk /scan;
|
|
||||||
Write-Host '`n(2/4) SFC - 1st scan' -ForegroundColor Green; sfc /scannow;
|
|
||||||
Write-Host '`n(3/4) DISM' -ForegroundColor Green; DISM /Online /Cleanup-Image /Restorehealth;
|
|
||||||
Write-Host '`n(4/4) SFC - 2nd scan' -ForegroundColor Green; sfc /scannow;
|
|
||||||
Read-Host '`nPress Enter to Continue'" -verb runas
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
# Reset Network
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Reset Network",
|
|
||||||
"category": "Fixes",
|
|
||||||
"Order": "a042_",
|
|
||||||
"panel": "1",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Fixes/Network"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFFixesNetwork
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFFixesNetwork {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Resets various network configurations
|
|
||||||
|
|
||||||
#>
|
|
||||||
|
|
||||||
Write-Host "Resetting Network with netsh"
|
|
||||||
|
|
||||||
# Reset WinSock catalog to a clean state
|
|
||||||
Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "winsock", "reset"
|
|
||||||
# Resets WinHTTP proxy setting to DIRECT
|
|
||||||
Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "winhttp", "reset", "proxy"
|
|
||||||
# Removes all user configured IP settings
|
|
||||||
Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "int", "ip", "reset"
|
|
||||||
|
|
||||||
Write-Host "Process complete. Please reboot your computer."
|
|
||||||
|
|
||||||
$ButtonType = [System.Windows.MessageBoxButton]::OK
|
|
||||||
$MessageboxTitle = "Network Reset "
|
|
||||||
$Messageboxbody = ("Stock settings loaded.`n Please reboot your computer")
|
|
||||||
$MessageIcon = [System.Windows.MessageBoxImage]::Information
|
|
||||||
|
|
||||||
[System.Windows.MessageBox]::Show($Messageboxbody, $MessageboxTitle, $ButtonType, $MessageIcon)
|
|
||||||
Write-Host "=========================================="
|
|
||||||
Write-Host "-- Network Configuration has been Reset --"
|
|
||||||
Write-Host "=========================================="
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
# Remove Adobe Creative Cloud
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Remove Adobe Creative Cloud",
|
|
||||||
"category": "Fixes",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a045_",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Fixes/RunAdobeCCCleanerTool"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFRunAdobeCCCleanerTool
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFRunAdobeCCCleanerTool {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
It removes or fixes problem files and resolves permission issues in registry keys.
|
|
||||||
.DESCRIPTION
|
|
||||||
The Creative Cloud Cleaner tool is a utility for experienced users to clean up corrupted installations.
|
|
||||||
#>
|
|
||||||
|
|
||||||
[string]$url="https://swupmf.adobe.com/webfeed/CleanerTool/win/AdobeCreativeCloudCleanerTool.exe"
|
|
||||||
|
|
||||||
Write-Host "The Adobe Creative Cloud Cleaner tool is hosted at"
|
|
||||||
Write-Host "$url"
|
|
||||||
|
|
||||||
try {
|
|
||||||
# Don't show the progress because it will slow down the download speed
|
|
||||||
$ProgressPreference='SilentlyContinue'
|
|
||||||
|
|
||||||
Invoke-WebRequest -Uri $url -OutFile "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -UseBasicParsing -ErrorAction SilentlyContinue -Verbose
|
|
||||||
|
|
||||||
# Revert back the ProgressPreference variable to the default value since we got the file desired
|
|
||||||
$ProgressPreference='Continue'
|
|
||||||
|
|
||||||
Start-Process -FilePath "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -Wait -ErrorAction SilentlyContinue -Verbose
|
|
||||||
} catch {
|
|
||||||
Write-Error $_.Exception.Message
|
|
||||||
} finally {
|
|
||||||
if (Test-Path -Path "$env:TEMP\AdobeCreativeCloudCleanerTool.exe") {
|
|
||||||
Write-Host "Cleaning up..."
|
|
||||||
Remove-Item -Path "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -Verbose
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
# WinGet Reinstall
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "WinGet Reinstall",
|
|
||||||
"category": "Fixes",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a044_",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Fixes/Winget"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFFixesWinget
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFFixesWinget {
|
|
||||||
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Fixes Winget by running choco install winget
|
|
||||||
.DESCRIPTION
|
|
||||||
BravoNorris for the fantastic idea of a button to reinstall winget
|
|
||||||
#>
|
|
||||||
# Install Choco if not already present
|
|
||||||
Install-WinUtilChoco
|
|
||||||
Start-Process -FilePath "choco" -ArgumentList "install winget -y --force" -NoNewWindow -Wait
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
# Control Panel
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Control Panel",
|
|
||||||
"category": "Legacy Windows Panels",
|
|
||||||
"panel": "2",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/control"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFControlPanel
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelcontrol" {cmd /c control}
|
|
||||||
"WPFPanelnetwork" {cmd /c ncpa.cpl}
|
|
||||||
"WPFPanelpower" {cmd /c powercfg.cpl}
|
|
||||||
"WPFPanelregion" {cmd /c intl.cpl}
|
|
||||||
"WPFPanelsound" {cmd /c mmsys.cpl}
|
|
||||||
"WPFPanelsystem" {cmd /c sysdm.cpl}
|
|
||||||
"WPFPaneluser" {cmd /c "control userpasswords2"}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
# Network Connections
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Network Connections",
|
|
||||||
"category": "Legacy Windows Panels",
|
|
||||||
"panel": "2",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/network"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFControlPanel
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelcontrol" {cmd /c control}
|
|
||||||
"WPFPanelnetwork" {cmd /c ncpa.cpl}
|
|
||||||
"WPFPanelpower" {cmd /c powercfg.cpl}
|
|
||||||
"WPFPanelregion" {cmd /c intl.cpl}
|
|
||||||
"WPFPanelsound" {cmd /c mmsys.cpl}
|
|
||||||
"WPFPanelsystem" {cmd /c sysdm.cpl}
|
|
||||||
"WPFPaneluser" {cmd /c "control userpasswords2"}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
# Power Panel
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Power Panel",
|
|
||||||
"category": "Legacy Windows Panels",
|
|
||||||
"panel": "2",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/power"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFControlPanel
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelcontrol" {cmd /c control}
|
|
||||||
"WPFPanelnetwork" {cmd /c ncpa.cpl}
|
|
||||||
"WPFPanelpower" {cmd /c powercfg.cpl}
|
|
||||||
"WPFPanelregion" {cmd /c intl.cpl}
|
|
||||||
"WPFPanelsound" {cmd /c mmsys.cpl}
|
|
||||||
"WPFPanelsystem" {cmd /c sysdm.cpl}
|
|
||||||
"WPFPaneluser" {cmd /c "control userpasswords2"}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
# Printer Settings
|
|
||||||
|
|
||||||
Last Updated: 2024-08-31
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Printer Settings",
|
|
||||||
"category": "Legacy Windows Panels",
|
|
||||||
"panel": "2",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFControlPanel
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelcontrol" {cmd /c control}
|
|
||||||
"WPFPanelnetwork" {cmd /c ncpa.cpl}
|
|
||||||
"WPFPanelpower" {cmd /c powercfg.cpl}
|
|
||||||
"WPFPanelregion" {cmd /c intl.cpl}
|
|
||||||
"WPFPanelsound" {cmd /c mmsys.cpl}
|
|
||||||
"WPFPanelprinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
|
||||||
"WPFPanelsystem" {cmd /c sysdm.cpl}
|
|
||||||
"WPFPaneluser" {cmd /c "control userpasswords2"}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/../config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
# Region
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Region",
|
|
||||||
"category": "Legacy Windows Panels",
|
|
||||||
"panel": "2",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/region"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFControlPanel
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelcontrol" {cmd /c control}
|
|
||||||
"WPFPanelnetwork" {cmd /c ncpa.cpl}
|
|
||||||
"WPFPanelpower" {cmd /c powercfg.cpl}
|
|
||||||
"WPFPanelregion" {cmd /c intl.cpl}
|
|
||||||
"WPFPanelsound" {cmd /c mmsys.cpl}
|
|
||||||
"WPFPanelsystem" {cmd /c sysdm.cpl}
|
|
||||||
"WPFPaneluser" {cmd /c "control userpasswords2"}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
# Sound Settings
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Sound Settings",
|
|
||||||
"category": "Legacy Windows Panels",
|
|
||||||
"panel": "2",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/sound"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFControlPanel
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelcontrol" {cmd /c control}
|
|
||||||
"WPFPanelnetwork" {cmd /c ncpa.cpl}
|
|
||||||
"WPFPanelpower" {cmd /c powercfg.cpl}
|
|
||||||
"WPFPanelregion" {cmd /c intl.cpl}
|
|
||||||
"WPFPanelsound" {cmd /c mmsys.cpl}
|
|
||||||
"WPFPanelsystem" {cmd /c sysdm.cpl}
|
|
||||||
"WPFPaneluser" {cmd /c "control userpasswords2"}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
# System Properties
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "System Properties",
|
|
||||||
"category": "Legacy Windows Panels",
|
|
||||||
"panel": "2",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/system"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFControlPanel
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelcontrol" {cmd /c control}
|
|
||||||
"WPFPanelnetwork" {cmd /c ncpa.cpl}
|
|
||||||
"WPFPanelpower" {cmd /c powercfg.cpl}
|
|
||||||
"WPFPanelregion" {cmd /c intl.cpl}
|
|
||||||
"WPFPanelsound" {cmd /c mmsys.cpl}
|
|
||||||
"WPFPanelsystem" {cmd /c sysdm.cpl}
|
|
||||||
"WPFPaneluser" {cmd /c "control userpasswords2"}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
# User Accounts
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "User Accounts",
|
|
||||||
"category": "Legacy Windows Panels",
|
|
||||||
"panel": "2",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/user"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WPFControlPanel
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelcontrol" {cmd /c control}
|
|
||||||
"WPFPanelnetwork" {cmd /c ncpa.cpl}
|
|
||||||
"WPFPanelpower" {cmd /c powercfg.cpl}
|
|
||||||
"WPFPanelregion" {cmd /c intl.cpl}
|
|
||||||
"WPFPanelsound" {cmd /c mmsys.cpl}
|
|
||||||
"WPFPanelsystem" {cmd /c sysdm.cpl}
|
|
||||||
"WPFPaneluser" {cmd /c "control userpasswords2"}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/feature.json)
|
|
||||||
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
# Bing Search in Start Menu
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
If enable then includes web search results from Bing in your Start Menu search.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Bing Search in Start Menu",
|
|
||||||
"Description": "If enable then includes web search results from Bing in your Start Menu search.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a101_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/BingSearch"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilBingSearch
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WinUtilBingSearch {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Disables/Enables Bing Search
|
|
||||||
|
|
||||||
.PARAMETER Enabled
|
|
||||||
Indicates whether to enable or disable Bing Search
|
|
||||||
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Enabling Bing Search"
|
|
||||||
$value = 1
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Bing Search"
|
|
||||||
$value = 0
|
|
||||||
}
|
|
||||||
$Path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search"
|
|
||||||
Set-ItemProperty -Path $Path -Name BingSearchEnabled -Value $value
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
# Dark Theme for Windows
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Enable/Disable Dark Mode.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Dark Theme for Windows",
|
|
||||||
"Description": "Enable/Disable Dark Mode.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a100_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/DarkMode"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilDarkMode
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
Function Invoke-WinUtilDarkMode {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Enables/Disables Dark Mode
|
|
||||||
|
|
||||||
.PARAMETER DarkMoveEnabled
|
|
||||||
Indicates the current dark mode state
|
|
||||||
|
|
||||||
#>
|
|
||||||
Param($DarkMoveEnabled)
|
|
||||||
try {
|
|
||||||
if ($DarkMoveEnabled -eq $false) {
|
|
||||||
Write-Host "Enabling Dark Mode"
|
|
||||||
$DarkMoveValue = 0
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Dark Mode"
|
|
||||||
$DarkMoveValue = 1
|
|
||||||
}
|
|
||||||
|
|
||||||
$Path = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize"
|
|
||||||
Set-ItemProperty -Path $Path -Name AppsUseLightTheme -Value $DarkMoveValue
|
|
||||||
Set-ItemProperty -Path $Path -Name SystemUsesLightTheme -Value $DarkMoveValue
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
# Detailed BSoD
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
If Enabled then you will see a detailed Blue Screen of Death (BSOD) with more information.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Detailed BSoD",
|
|
||||||
"Description": "If Enabled then you will see a detailed Blue Screen of Death (BSOD) with more information.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a205_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/DetailedBSoD"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilDetailedBSoD
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
Function Invoke-WinUtilDetailedBSoD {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Enables/Disables Detailed BSoD
|
|
||||||
(Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\CrashControl' -Name 'DisplayParameters').DisplayParameters
|
|
||||||
|
|
||||||
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Enabling Detailed BSoD"
|
|
||||||
$value = 1
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Detailed BSoD"
|
|
||||||
$value =0
|
|
||||||
}
|
|
||||||
|
|
||||||
$Path = "HKLM:\SYSTEM\CurrentControlSet\Control\CrashControl"
|
|
||||||
Set-ItemProperty -Path $Path -Name DisplayParameters -Value $value
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
# Show Hidden Files
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
If Enabled then Hidden Files will be shown.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Show Hidden Files",
|
|
||||||
"Description": "If Enabled then Hidden Files will be shown.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a200_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/HiddenFiles"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilHiddenFiles
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WinUtilHiddenFiles {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Enable/Disable Hidden Files
|
|
||||||
|
|
||||||
.PARAMETER Enabled
|
|
||||||
Indicates whether to enable or disable Hidden Files
|
|
||||||
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Enabling Hidden Files"
|
|
||||||
$value = 1
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Hidden Files"
|
|
||||||
$value = 0
|
|
||||||
}
|
|
||||||
$Path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
|
|
||||||
Set-ItemProperty -Path $Path -Name Hidden -Value $value
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,84 +0,0 @@
|
|||||||
# Mouse Acceleration
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
If Enabled then Cursor movement is affected by the speed of your physical mouse movements.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Mouse Acceleration",
|
|
||||||
"Description": "If Enabled then Cursor movement is affected by the speed of your physical mouse movements.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a107_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/MouseAcceleration"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilMouseAcceleration
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
Function Invoke-WinUtilMouseAcceleration {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Enables/Disables Mouse Acceleration
|
|
||||||
|
|
||||||
.PARAMETER DarkMoveEnabled
|
|
||||||
Indicates the current Mouse Acceleration State
|
|
||||||
|
|
||||||
#>
|
|
||||||
Param($MouseAccelerationEnabled)
|
|
||||||
try {
|
|
||||||
if ($MouseAccelerationEnabled -eq $false) {
|
|
||||||
Write-Host "Enabling Mouse Acceleration"
|
|
||||||
$MouseSpeed = 1
|
|
||||||
$MouseThreshold1 = 6
|
|
||||||
$MouseThreshold2 = 10
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Mouse Acceleration"
|
|
||||||
$MouseSpeed = 0
|
|
||||||
$MouseThreshold1 = 0
|
|
||||||
$MouseThreshold2 = 0
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
$Path = "HKCU:\Control Panel\Mouse"
|
|
||||||
Set-ItemProperty -Path $Path -Name MouseSpeed -Value $MouseSpeed
|
|
||||||
Set-ItemProperty -Path $Path -Name MouseThreshold1 -Value $MouseThreshold1
|
|
||||||
Set-ItemProperty -Path $Path -Name MouseThreshold2 -Value $MouseThreshold2
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,77 +0,0 @@
|
|||||||
# NumLock on Startup
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Toggle the Num Lock key state when your computer starts.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "NumLock on Startup",
|
|
||||||
"Description": "Toggle the Num Lock key state when your computer starts.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a102_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/NumLock"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilNumLock
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WinUtilNumLock {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Disables/Enables NumLock on startup
|
|
||||||
.PARAMETER Enabled
|
|
||||||
Indicates whether to enable or disable Numlock on startup
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Enabling Numlock on startup"
|
|
||||||
$value = 2
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Numlock on startup"
|
|
||||||
$value = 0
|
|
||||||
}
|
|
||||||
New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS
|
|
||||||
$HKUPath = "HKU:\.Default\Control Panel\Keyboard"
|
|
||||||
$HKCUPath = "HKCU:\Control Panel\Keyboard"
|
|
||||||
Set-ItemProperty -Path $HKUPath -Name InitialKeyboardIndicators -Value $value
|
|
||||||
Set-ItemProperty -Path $HKCUPath -Name InitialKeyboardIndicators -Value $value
|
|
||||||
}
|
|
||||||
Catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
# Show File Extensions
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
If enabled then File extensions (e.g., .txt, .jpg) are visible.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Show File Extensions",
|
|
||||||
"Description": "If enabled then File extensions (e.g., .txt, .jpg) are visible.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a201_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/ShowExt"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilShowExt
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WinUtilShowExt {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Disables/Enables Show file Extentions
|
|
||||||
.PARAMETER Enabled
|
|
||||||
Indicates whether to enable or disable Show file extentions
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Showing file extentions"
|
|
||||||
$value = 0
|
|
||||||
} else {
|
|
||||||
Write-Host "hiding file extensions"
|
|
||||||
$value = 1
|
|
||||||
}
|
|
||||||
$Path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
|
|
||||||
Set-ItemProperty -Path $Path -Name HideFileExt -Value $value
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
# Snap Assist Flyout
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
If enabled then Snap preview is disabled when maximize button is hovered.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Snap Assist Flyout",
|
|
||||||
"Description": "If enabled then Snap preview is disabled when maximize button is hovered.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a105_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/SnapFlyout"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilSnapFlyout
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WinUtilSnapFlyout {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Disables/Enables Snap Assist Flyout on startup
|
|
||||||
.PARAMETER Enabled
|
|
||||||
Indicates whether to enable or disable Snap Assist Flyout on startup
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Enabling Snap Assist Flyout On startup"
|
|
||||||
$value = 1
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Snap Assist Flyout On startup"
|
|
||||||
$value = 0
|
|
||||||
}
|
|
||||||
# taskkill.exe /F /IM "explorer.exe"
|
|
||||||
$Path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
|
|
||||||
taskkill.exe /F /IM "explorer.exe"
|
|
||||||
Set-ItemProperty -Path $Path -Name EnableSnapAssistFlyout -Value $value
|
|
||||||
Start-Process "explorer.exe"
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
# Snap Assist Suggestion
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
If enabled then you will get suggestions to snap other applications in the left over spaces.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Snap Assist Suggestion",
|
|
||||||
"Description": "If enabled then you will get suggestions to snap other applications in the left over spaces.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a106_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/SnapSuggestion"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilSnapSuggestion
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WinUtilSnapSuggestion {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Disables/Enables Snap Assist Suggestions on startup
|
|
||||||
.PARAMETER Enabled
|
|
||||||
Indicates whether to enable or disable Snap Assist Suggestions on startup
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Enabling Snap Assist Suggestion On startup"
|
|
||||||
$value = 1
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Snap Assist Suggestion On startup"
|
|
||||||
$value = 0
|
|
||||||
}
|
|
||||||
# taskkill.exe /F /IM "explorer.exe"
|
|
||||||
$Path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
|
|
||||||
taskkill.exe /F /IM "explorer.exe"
|
|
||||||
Set-ItemProperty -Path $Path -Name SnapAssist -Value $value
|
|
||||||
Start-Process "explorer.exe"
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
# Snap Window
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
If enabled you can align windows by dragging them. | Relogin Required
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Snap Window",
|
|
||||||
"Description": "If enabled you can align windows by dragging them. | Relogin Required",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a104_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/SnapWindow"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilSnapWindow
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WinUtilSnapWindow {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Disables/Enables Snapping Windows on startup
|
|
||||||
.PARAMETER Enabled
|
|
||||||
Indicates whether to enable or disable Snapping Windows on startup
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Enabling Snap Windows On startup | Relogin Required"
|
|
||||||
$value = 1
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Snap Windows On startup | Relogin Required"
|
|
||||||
$value = 0
|
|
||||||
}
|
|
||||||
$Path = "HKCU:\Control Panel\Desktop"
|
|
||||||
Set-ItemProperty -Path $Path -Name WindowArrangementActive -Value $value
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
# Sticky Keys
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
If Enabled then Sticky Keys is activated - Sticky keys is an accessibility feature of some graphical user interfaces which assists users who have physical disabilities or help users reduce repetitive strain injury.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Sticky Keys",
|
|
||||||
"Description": "If Enabled then Sticky Keys is activated - Sticky keys is an accessibility feature of some graphical user interfaces which assists users who have physical disabilities or help users reduce repetitive strain injury.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a108_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/StickyKeys"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilStickyKeys
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
Function Invoke-WinUtilStickyKeys {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Disables/Enables Sticky Keyss on startup
|
|
||||||
.PARAMETER Enabled
|
|
||||||
Indicates whether to enable or disable Sticky Keys on startup
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Enabling Sticky Keys On startup"
|
|
||||||
$value = 510
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Sticky Keys On startup"
|
|
||||||
$value = 58
|
|
||||||
}
|
|
||||||
$Path = "HKCU:\Control Panel\Accessibility\StickyKeys"
|
|
||||||
Set-ItemProperty -Path $Path -Name Flags -Value $value
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
# Task View Button in Taskbar
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
If Enabled then Task View Button in Taskbar will be shown.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Task View Button in Taskbar",
|
|
||||||
"Description": "If Enabled then Task View Button in Taskbar will be shown.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a203_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/TaskView"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilTaskView
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WinUtilTaskView {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Enable/Disable Task View
|
|
||||||
|
|
||||||
.PARAMETER Enabled
|
|
||||||
Indicates whether to enable or disable Task View
|
|
||||||
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Enabling Task View"
|
|
||||||
$value = 1
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Task View"
|
|
||||||
$value = 0
|
|
||||||
}
|
|
||||||
$Path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
|
|
||||||
Set-ItemProperty -Path $Path -Name ShowTaskViewButton -Value $value
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
# Center Taskbar Items
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
[Windows 11] If Enabled then the Taskbar Items will be shown on the Center, otherwise the Taskbar Items will be shown on the Left.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Center Taskbar Items",
|
|
||||||
"Description": "[Windows 11] If Enabled then the Taskbar Items will be shown on the Center, otherwise the Taskbar Items will be shown on the Left.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a204_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/TaskbarAlignment"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilTaskbarAlignment
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WinUtilTaskbarAlignment {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Switches between Center & Left Taskbar Alignment
|
|
||||||
|
|
||||||
.PARAMETER Enabled
|
|
||||||
Indicates whether to make Taskbar Alignment Center or Left
|
|
||||||
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Making Taskbar Alignment to the Center"
|
|
||||||
$value = 1
|
|
||||||
} else {
|
|
||||||
Write-Host "Making Taskbar Alignment to the Left"
|
|
||||||
$value = 0
|
|
||||||
}
|
|
||||||
$Path = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
|
|
||||||
Set-ItemProperty -Path $Path -Name "TaskbarAl" -Value $value
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
# Search Button in Taskbar
|
|
||||||
|
|
||||||
Last Updated: 2024-08-07
|
|
||||||
|
|
||||||
|
|
||||||
!!! info
|
|
||||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
|
||||||
## Description
|
|
||||||
|
|
||||||
If Enabled Search Button will be on the taskbar.
|
|
||||||
|
|
||||||
<!-- BEGIN CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Preview Code</summary>
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"Content": "Search Button in Taskbar",
|
|
||||||
"Description": "If Enabled Search Button will be on the taskbar.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a202_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/TaskbarSearch"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Function: Invoke-WinUtilTaskbarSearch
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WinUtilTaskbarSearch {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Enable/Disable Taskbar Search Button.
|
|
||||||
|
|
||||||
.PARAMETER Enabled
|
|
||||||
Indicates whether to enable or disable Taskbar Search Button.
|
|
||||||
|
|
||||||
#>
|
|
||||||
Param($Enabled)
|
|
||||||
try {
|
|
||||||
if ($Enabled -eq $false) {
|
|
||||||
Write-Host "Enabling Search Button"
|
|
||||||
$value = 1
|
|
||||||
} else {
|
|
||||||
Write-Host "Disabling Search Button"
|
|
||||||
$value = 0
|
|
||||||
}
|
|
||||||
$Path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search\"
|
|
||||||
Set-ItemProperty -Path $Path -Name SearchboxTaskbarMode -Value $value
|
|
||||||
} catch [System.Security.SecurityException] {
|
|
||||||
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
|
|
||||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
|
||||||
Write-Warning $psitem.Exception.ErrorRecord
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
|
||||||
Write-Warning $psitem.Exception.StackTrace
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
<!-- END SECOND CUSTOM CONTENT -->
|
|
||||||
|
|
||||||
|
|
||||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
||||||
|
|
||||||