Форум переехал и обновился!

Для первого входа необходимо установить новый пароль через «Забыли пароль?». Укажите email, использованный при регистрации. Теперь вход выполняется по email, ваш ник на форуме сохранён.

Не помните адрес регистрации? Проверьте свои почтовые ящики: найдите старые письма по запросам club-nikon.ru или Клуб Nikon. Если восстановить доступ не получается, напишите на club-nikon@deesy.com.

Если вы уже установили новый пароль, повторять восстановление не нужно.

Вопросы по Windows10

Аватара пользователя
I Robot
Сообщения: 5300
Зарегистрирован: Чт окт 31, 2013 17:52

Вопросы по Windows10

Сообщение I Robot »

Свой вопрос я уже разрешил, но надеюсь что тема будет полезна для новых пользователей десятки
Аватара пользователя
ford
Сообщения: 331
Зарегистрирован: Сб апр 02, 2011 21:40

Re: Вопросы по Windows10

Сообщение ford »

Спасибо! Очень помогло.
Аватара пользователя
I Robot
Сообщения: 5300
Зарегистрирован: Чт окт 31, 2013 17:52

Re: Вопросы по Windows10

Сообщение I Robot »

А у меня такой вопрос - где найти справку? На F1 нажимал, справки не появилось sad В семерке справка (мануал) по F1 открывалась
Аватара пользователя
vakdye
Сообщения: 1109
Зарегистрирован: Чт июн 21, 2012 17:25

Re: Вопросы по Windows10

Сообщение vakdye »

I Robot писал(а): Пн окт 12, 2015 11:56
А у меня такой вопрос - где найти справку? На F1 нажимал, справки не появилось sad В семерке справка (мануал) по F1 открывалась
Попробуйте "Fn"-"F1" (если на буке)
Изображение
Аватара пользователя
I Robot
Сообщения: 5300
Зарегистрирован: Чт окт 31, 2013 17:52

Re: Вопросы по Windows10

Сообщение I Robot »

Нашел какую-то лампочку под названием "начало работы". Но вот какая фигня: вход в учетную запись происходит автоматически в ту, с которой выключали компьютер (если она без пароля). Это очень странно - как сделать все же выбор учетной записи при старте? Все эти мелочи страшно раздражают.
Аватара пользователя
vakdye
Сообщения: 1109
Зарегистрирован: Чт июн 21, 2012 17:25

Re: Вопросы по Windows10

Сообщение vakdye »

I Robot писал(а): Вт окт 13, 2015 04:01
Нашел какую-то лампочку под названием "начало работы". Но вот какая фигня: вход в учетную запись происходит автоматически в ту, с которой выключали компьютер (если она без пароля). Это очень странно - как сделать все же выбор учетной записи при старте? Все эти мелочи страшно раздражают.
Так может быть пароль ввести для всех учеток?
Изображение
Аватара пользователя
I Robot
Сообщения: 5300
Зарегистрирован: Чт окт 31, 2013 17:52

Re: Вопросы по Windows10

Сообщение I Robot »

vakdye писал(а):
Так может быть пароль ввести для всех учеток?




пользователи не хотят))) Да и вообще, конфигурация учетных записей какая-то убогая, "семьи" какие-то, нафиг они нужны, наверное на самом деле все есть, только глубоко закопано
Аватара пользователя
MUR
Сообщения: 12766
Зарегистрирован: Пт июл 10, 2009 12:57

Re: Вопросы по Windows10

Сообщение MUR »

I Robot писал(а): Пн окт 12, 2015 11:56
А у меня такой вопрос - где найти справку? На F1 нажимал, справки не появилось sad В семерке справка (мануал) по F1 открывалась


Там же,где и всегда была
Вложения
44.jpg
Аватара пользователя
То чего нет
Сообщения: 7161
Зарегистрирован: Сб окт 06, 2012 13:44

Re: Вопросы по Windows10

Сообщение То чего нет »

Удаление "нежелательных" обновлений блокировка адресов, куда сливаются персональные и прочие данные в одном исполняемом файле ! Блокируется даже поиск и сервисы Bing ! Если он нужен, то удалите соответствующие строки из сценария dirol Актуальная версия здесь (Disable Windоws 7/8/8.1 Telemetry) Оргинальная тема на ГитХабе




@echo off

2 title "Disable Windows 7/8/8.1 Telemetry"

3 endlocal & setlocal EnableDelayedExpansion

4

5 rem Script created by <github.com/tarampampam> # 2015

6 rem Github: <https://gist.github.com/tarampampam/a0d ... e5976300b1>

7 rem OS: Windows 7/8/8.1

8 rem Version 0.2.12

9

10 echo.

11 echo ***************************************************************************

12 echo * *

13 echo * Disable Windows 7/8/8.1 Telemetry (+bonus) service *

14 echo * *

15 echo ***************************************************************************

16 echo * *

17 echo * Script support arguments: *

18 echo * *

19 echo * -kb ^| -hotfixes Do NOT uninstall updates *

20 echo * -d ^| -disable Do NOT disable updates *

21 echo * -t ^| -tasks Do NOT disable tasks *

22 echo * -s ^| -services Do NOT disable services *

23 echo * -i ^| -ip Do NOT block IP addresses using route *

24 echo * -f ^| -firewall Do NOT block IP addresses using firewall *

25 echo * -h ^| -hosts Do NOT add domains to hosts file *

26 echo * -u ^| -updates Do NOT change windows update settings *

27 echo * -l ^| -log Do NOT write messages to .log file *

28 echo * -e ^| -exit Exit when work is complete *

29 echo * *

30 echo * Latest version you can find here: ^<http://goo.gl/1MzPtW^> *

31 echo * *

32 echo ***************************************************************************

33 echo * *

34 echo * PLEASE DISABLE YOUR ANTIVIRUS SOFTWARE BEFORE^^! *

35 echo * (Sometimes it block access to hosts file, etc) *

36 echo * *

37 echo ***************************************************************************

38 echo.

39

40 rem Setup default script settings + declare variables

41 set ExitOnComplete=0

42 set WriteLogFile=1

43 set UninstallUpdates=1

44 set DisableUpdates=1

45 set DisableTasks=1

46 set DisableServices=1

47 set BlockIPaddresses=1

48 set BlockIPaddressesWithFirewall=1

49 set AddDomainsToHosts=1

50 set DisableAutomaticUpdates=1

51

52 set FirewallIPlist=

53 set UpdatesList=

54 set result=

55 set LogFilePath="%~f0.log"

56

57 rem Parse passed arguments to script

58 :parse_passed_params

59 if "%~1"=="" goto end_parse_passed_params

60 if "%~1"=="-e" set ExitOnComplete=1

61 if "%~1"=="-exit" set ExitOnComplete=1

62 if "%~1"=="-kb" set UninstallUpdates=0

63 if "%~1"=="-hotfixes" set UninstallUpdates=0

64 if "%~1"=="-d" set DisableUpdates=0

65 if "%~1"=="-disable" set DisableUpdates=0

66 if "%~1"=="-t" set DisableTasks=0

67 if "%~1"=="-tasks" set DisableTasks=0

68 if "%~1"=="-s" set DisableServices=0

69 if "%~1"=="-services" set DisableServices=0

70 if "%~1"=="-i" set BlockIPaddresses=0

71 if "%~1"=="-ip" set BlockIPaddresses=0

72 if "%~1"=="-f" set BlockIPaddressesWithFirewall=0

73 if "%~1"=="-firewall" set BlockIPaddressesWithFirewall=0

74 if "%~1"=="-h" set AddDomainsToHosts=0

75 if "%~1"=="-hosts" set AddDomainsToHosts=0

76 if "%~1"=="-u" set DisableAutomaticUpdates=0

77 if "%~1"=="-updates" set DisableAutomaticUpdates=0

78 if "%~1"=="-l" set WriteLogFile=0

79 if "%~1"=="-log" set WriteLogFile=0

80 shift & goto parse_passed_params

81 :end_parse_passed_params

82

83 goto:checkPermissions

84 :begin

85

86 if %UninstallUpdates%==1 (

87 call:title "Uninstall evil M$ updates.."

88 rem You can find KB description here: https://support.microsoft.com/en-us/kb/%KB_NUMBER%

89 rem 3080149 - Update for customer experience and diagnostic telemetry // 8.1 / WS 2012 R2, 7 SP1 / WS 2008 R2 SP1

90 rem 3075249 - Update that adds telemetry points to consent.exe in Windows 8.1 and Windows 7 // 8.1 / RT 8.1 / WS 2012 R2 / 7 SP1 / WS 2008 R2 SP1

91 rem 2952664 - Compatibility update for upgrading Windows 7 // 7 SP1

92 rem 3035583 - Update installs Get Windows 10 app in Windows 8.1 and Windows 7 SP1 // 8.1 / 7 SP1 / IE11

93 rem 3068708 - Update for customer experience and diagnostic telemetry // 8.1 / WS 2012 R2 / 7 SP1 / WS 2008 R2 SP1

94 rem 3022345 - Update for customer experience and diagnostic telemetry // WS 2012 R2 / 8.1 / WS 2008 R2 SP1 / 7 SP1

95 rem 3021917 - Update to Windows 7 SP1 for performance improvements // 7 SP1

96 rem 2976978 - Compatibility update for Windows 8.1 and Windows 8 // 8 / 8.1

97 rem 3044374 - Update that enables you to upgrade from Windows 8.1 to Windows 10 // WS 2012 R2 / 8.1

98 rem 2990214 - Update that enables you to upgrade from Windows 7 to a later version of Windows // WS 2008 R2 SP1 / 7 SP1

99 rem 971033 - Update for Windows Activation Technologies // 7

100 rem 3075851 - Windows Update Client for Windows 7 and Windows Server 2008 R2: August 2015 // WS 2008 R2 SP1 / 7 SP1 / Embedded Standard 7 SP1

101 rem 3065988 - Windows Update Client for Windows 8.1 and Windows Server 2012 R2: July 2015 more info // WS 2012 R2 / 8.1

102 rem 3083325 - Windows Update Client for Windows 8.1 and Windows Server 2012 R2: September 2015 more info // WS 2012 R2 / 8.1

103 rem 3083324 - Windows Update Client for Windows 7 and Windows Server 2008 R2: September 2015 more info // WS 2008 R2 / 7

104 rem 3075853 - Windows Update Client for Windows 8.1 and Windows Server 2012 R2: August 2015 more info // WS 2012 R2 / 8.1

105 rem 3065987 - Windows Update Client for Windows 7 and Windows Server 2008 R2: July 2015 more info // WS 2008 R2 / 7

106 rem 3050265 - Windows Update Client for Windows 7: June 2015 more info // WS 2008 R2 / 7

107 rem 3050267 - Windows Update Client for Windows 8.1: June 2015 more info // WS 2012 R2 / 8.1

108 rem 3046480 - Update helps to determine whether to migrate the .NET Framework 1.1 when you upgrade Windows 8.1 or Windows 7 more info // 7 SP1 / 8.1

109 rem 2882822 - Update adds ITraceRelogger interface support // 7 SP1 / WS 2008 R2

110 rem 3083710 - Windows Update Client for Windows 7 and Windows Server 2008 R2: October 2015 // 7 SP1 / WS 2008 R2

111 rem 3083711 - Windows Update Client for Windows 8.1 and Windows Server 2012 R2: October 2015 // 8.1 / WS 2012 R2

112 for %%? in (

113 "3080149"

114 "3075249"

115 "2952664"

116 "3035583"

117 "3068708"

118 "3022345"

119 "3021917"

120 "2976978"

121 "3044374"

122 "2990214"

123 "971033"

124 "3075851"

125 "3065988"

126 "3083325"

127 "3083324"

128 "3075853"

129 "3065987"

130 "3050265"

131 "3050267"

132 "3046480"

133 "2882822"

134 "3083710"

135 "3083711"

136 ) do call:uninstall_update %%?

137 )

138

139 if %DisableUpdates%==1 (

140 call:title "Disable ^(hide^) uninstalled updates.."

141 call:log "It can take a lot of time - wait please, or use -d flag for disable this feature.." "Notice"

142 rem For using this shit you must init updates list by calling 'call:uninstall_update "123123"' first!

143 call:disable_updates

144 )

145

146 if %DisableTasks%==1 (

147 call:title "Disable some windows tasks.."

148 for %%? in (

149 "\Microsoft\Windows\Application Experience\AitAgent"

150 "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"

151 "\Microsoft\Windows\Application Experience\ProgramDataUpdater"

152 "\Microsoft\Windows\Autochk\Proxy"

153 "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator"

154 "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask"

155 "\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip"

156 "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector"

157 "\Microsoft\Windows\PI\Sqm-Tasks"

158 "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem"

159 "\Microsoft\Windows\Windows Error Reporting\QueueReporting"

160 "\Microsoft\Windows\Maintenance\WinSAT"

161 "\Microsoft\Windows\Media Center\ActivateWindowsSearch"

162 "\Microsoft\Windows\Media Center\ConfigureInternetTimeService"

163 "\Microsoft\Windows\Media Center\DispatchRecoveryTasks"

164 "\Microsoft\Windows\Media Center\ehDRMInit"

165 "\Microsoft\Windows\Media Center\InstallPlayReady"

166 "\Microsoft\Windows\Media Center\mcupdate"

167 "\Microsoft\Windows\Media Center\MediaCenterRecoveryTask"

168 "\Microsoft\Windows\Media Center\ObjectStoreRecoveryTask"

169 "\Microsoft\Windows\Media Center\OCURActivate"

170 "\Microsoft\Windows\Media Center\OCURDiscovery"

171 "\Microsoft\Windows\Media Center\PBDADiscovery"

172 "\Microsoft\Windows\Media Center\PBDADiscoveryW1"

173 "\Microsoft\Windows\Media Center\PBDADiscoveryW2"

174 "\Microsoft\Windows\Media Center\PvrRecoveryTask"

175 "\Microsoft\Windows\Media Center\PvrScheduleTask"

176 "\Microsoft\Windows\Media Center\RegisterSearch"

177 "\Microsoft\Windows\Media Center\ReindexSearchRoot"

178 "\Microsoft\Windows\Media Center\SqlLiteRecoveryTask"

179 "\Microsoft\Windows\Media Center\UpdateRecordPath"

180 ) do call:disable_task %%?

181 )

182

183 if %DisableServices%==1 (

184 call:title "Disable services.."

185 for %%? in (

186 "Diagtrack"

187 "dmwappushservice"

188 "WerSvc"

189 ) do call:disable_service %%?

190

191 set RegDataCollection="HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection"

192 reg query !RegDataCollection!>nul 2>&1 & if %errorLevel%==0 (

193 reg add !RegDataCollection! /v AllowTelemetry /t REG_DWORD /d 0 /f >nul

194 )

195

196 set RegWindowsReporting="HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting"

197 reg query !RegWindowsReporting!>nul 2>&1 & if %errorLevel%==0 (

198 reg add !RegWindowsReporting! /v Disabled /t REG_DWORD /d 1 /f >nul

199 )

200 )

201

202 if %BlockIPaddresses%==1 (

203 call:title "Block M$ servers IP addresses.."

204 for %%? in (

205 "111.221.29.177"

206 "111.221.29.253"

207 "131.253.40.37"

208 "134.170.30.202"

209 "134.170.115.60"

210 "134.170.165.248"

211 "134.170.165.253"

212 "134.170.185.70"

213 "137.116.81.24"

214 "137.117.235.16"

215 "157.55.129.21"

216 "157.55.133.204"

217 "157.56.121.89"

218 "157.56.91.77"

219 "168.63.108.233"

220 "184.86.56.12"

221 "185.13.160.61"

222 "191.232.139.254"

223 "191.232.80.58"

224 "191.232.80.62"

225 "191.237.208.126"

226 "204.79.197.200"

227 "207.46.101.29"

228 "207.46.114.58"

229 "207.46.223.94"

230 "207.68.166.254"

231 "212.30.134.204"

232 "212.30.134.205"

233 "23.102.21.4"

234 "23.99.10.11"

235 "23.218.212.69"

236 "64.4.54.22"

237 "64.4.54.32"

238 "64.4.6.100"

239 "65.39.117.230"

240 "65.52.100.11"

241 "65.52.100.7"

242 "65.52.100.9"

243 "65.52.100.91"

244 "65.52.100.92"

245 "65.52.100.93"

246 "65.52.100.94"

247 "65.52.108.29"

248 "65.55.108.23"

249 "65.55.138.114"

250 "65.55.138.126"

251 "65.55.138.186"

252 "65.55.252.63"

253 "65.55.252.71"

254 "65.55.252.92"

255 "65.55.252.93"

256 "65.55.29.238"

257 "65.55.39.10"

258 ) do call:block_route %%?

259 )

260

261 if %BlockIPaddressesWithFirewall%==1 (

262 call:title "Add blocked IP adressess to firewall rule.."

263 rem For using this shit you must init IP addresses list by calling 'call:block_route "1.1.1.1"' first!

264 call:block_routes_with_firewall

265 )

266

267 if %AddDomainsToHosts%==1 (

268 call:title "Find and add M$ domains to HOSTS file ^(block^).."

269 for %%? in (

270 "--title--"

271 "msedge.net"

272 "a-msedge.net"

273 "a-0001.a-msedge.net"

274 "a-0002.a-msedge.net"

275 "a-0003.a-msedge.net"

276 "a-0004.a-msedge.net"

277 "a-0005.a-msedge.net"

278 "a-0006.a-msedge.net"

279 "a-0007.a-msedge.net"

280 "a-0008.a-msedge.net"

281 "a-0009.a-msedge.net"

282 "a1095.g2.akamai.net"

283 "ad.doubleclick.net"

284 "adnexus.net"

285 "adnxs.com"

286 "secure.adnxs.com"

287 "m.adnxs.com"

288 "ads1.msads.net"

289 "ads1.msn.com"

290 "ads2.msn.com"

291 "flex.msn.com"

292 "g.msn.com"

293 "h2.msn.com"

294 "h1.msn.com"

295 "a.ads1.msn.com"

296 "a.ads2.msn.com"

297 "a.ads2.msads.net"

298 "live.rads.msn.com"

299 "ads2.msn.com.c.footprint.net"

300 "apps.skype.com"

301 "ui.skype.com"

302 "aka-cdn-ns.adtech.de"

303 "az361816.vo.msecnd.net"

304 "az512334.vo.msecnd.net"

305 "bs.serving-sys.com"

306 "msntest.serving-sys.com"

307 "telemetry.microsoft.com"

308 "ca.telemetry.microsoft.com"

309 "c.msn.com"

310 "aidps.atdmt.com"

311 "view.atdmt.com"

312 "ec.atdmt.com"

313 "c.atdmt.com"

314 "db3aqu.atdmt.com"

315 "cdn.atdmt.com"

316 "msftncsi.com"

317 "www.msftncsi.com"

318 "choice.live.com"

319 "choice.microsoft.com"

320 "choice.microsoft.com.nsatc.net"

321 "compatexchange.cloudapp.net"

322 "corpext.msitadfs.glbdns2.microsoft.com"

323 "corp.sts.microsoft.com"

324 "cs1.wpc.v0cdn.net"

325 "df.telemetry.microsoft.com"

326 "e9946.g.akamaiedge.net"

327 "fe2.update.microsoft.com.akadns.net"

328 "fe3.delivery.dsp.mp.microsoft.com.nsatc.net"

329 "microsoft-hohm.com"

330 "feedback.microsoft-hohm.com"

331 "feedback.search.microsoft.com"

332 "feedback.windows.com"

333 "i1.services.social.microsoft.com"

334 "i1.services.social.microsoft.com.nsatc.net"

335 "i.s1.social.ms.akadns.net"

336 "lb1.www.ms.akadns.net"

337 "legacy-redirection-neurope-prod-hp.cloudapp.net"

338 "oca.telemetry.microsoft.com"

339 "oca.telemetry.microsoft.com.nsatc.net"

340 "onesettings-hk2.metron.live.com.nsatc.net"

341 "pre.footprintpredict.com"

342 "preview.msn.com"

343 "ads.msn.com"

344 "rad.msn.com"

345 "rad.live.com"

346 "b.rad.msn.com"

347 "b.ads2.msads.net"

348 "b.ads1.msn.com"

349 "ac3.msn.com"

350 "a.rad.msn.com"

351 "cds26.ams9.msecn.net"

352 "m.hotmail.com"

353 "secure.flashtalking.com"

354 "static.2mdn.net"

355 "s0.2mdn.net"

356 "redirection.prod.cms.msn.com"

357 "redirection.prod.cms.msn.com.akadns.net"

358 "redir.metaservices.microsoft.com"

359 "redir.metaservices.microsoft.com.akadns.net"

360 "redir.metaservices.microsoft.com.edgesuite.net"

361 "wes.df.telemetry.microsoft.com"

362 "reports.wes.df.telemetry.microsoft.com"

363 "services.wes.df.telemetry.microsoft.com"

364 "settings.data.glbdns2.microsoft.com"

365 "settings.data.microsoft.com"

366 "settings-sandbox.data.glbdns2.microsoft.com"

367 "settings-sandbox.data.microsoft.com"

368 "settings-win.data.microsoft.com"

369 "schemas.microsoft.akadns.net"

370 "siweb.microsoft.akadns.net"

371 "sls.update.microsoft.com.akadns.net"

372 "spynet2.microsoft.akadns.net"

373 "spynet2.microsoft.com"

374 "spynetalt.microsoft.akadns.net"

375 "spynetalt.microsoft.com"

376 "spyneteurope.microsoft.akadns.net"

377 "sqm.df.telemetry.microsoft.com"

378 "sqm.telemetry.microsoft.com"

379 "sqm.telemetry.microsoft.com.nsatc.net"

380 "ssw.live.com"

381 "ssw.live.com.nsatc.net"

382 "s.gateway.messenger.live.com"

383 "statsfe1.ws.microsoft.com"

384 "statsfe1.ws.microsoft.com.nsatc.net"

385 "statsfe2.update.microsoft.com.akadns.net"

386 "statsfe2.ws.microsoft.com"

387 "statsfe2.ws.microsoft.com.nsatc.net"

388 "support.msn.microsoft.akadns.net"

389 "watson.microsoft.com"

390 "survey.watson.microsoft.com"

391 "telecommand.telemetry.microsoft.com"

392 "telecommand.telemetry.microsoft.com.nsatc.net"

393 "telemetry.appex.bing.net"

394 "telemetry.appex.search.prod.ms.akadns.net"

395 "telemetry.urs.microsoft.com"

396 "t.urs.microsoft.com.nsatc.net"

397 "vortex.data.glbdns2.microsoft.com"

398 "vortex.data.metron.live.com.nsatc.net"

399 "vortex-bn2.metron.live.com.nsatc.net"

400 "vortex-cy2.metron.live.com.nsatc.net"

401 "vortex.data.microsoft.com"

402 "vortex-db5.metron.live.com.nsatc.net"

403 "vortex-sandbox.data.glbdns2.microsoft.com"

404 "vortex-sandbox.data.microsoft.com"

405 "vortex-win.data.metron.live.com.nsatc.net"

406 "vortex-win.data.microsoft.com"

407 "watson.live.com"

408 "watson.microsoft.com.nsatc.net"

409 "watson.ppe.telemetry.microsoft.com"

410 "watson.telemetry.microsoft.com"

411 "watson.telemetry.microsoft.com.nsatc.net"

412 ) do call:add_to_hosts %%?

413 )

414

415 if %DisableAutomaticUpdates%==1 (

416 call:title "Disable automatic windows update ^(make search, but you must manually select updates to install^)"

417 set RegeditRoot="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update"

418 reg add !RegeditRoot! /v AUOptions /t REG_DWORD /d 2 /f>nul

419 reg add !RegeditRoot! /v IncludeRecommendedUpdates /t REG_DWORD /d 0 /f>nul

420 )

421

422 goto:end

423

424 :log

425 set message=%~1

426 set type=%~2

427 if [!type!] EQU [] (

428 set type=%time%

429 )

430 echo [!type!] %message%

431 if %WriteLogFile%==1 ( if [%LogFilePath%] NEQ [] (

432 echo [!type!] %message%>>%LogFilePath% 2>&1

433 ))

434 exit /b

435

436 :title

437 set title=%~1

438 echo.

439 echo %title%

440 if %WriteLogFile%==1 ( if [%LogFilePath%] NEQ [] (

441 echo.>>%LogFilePath% 2>&1

442 echo %title%>>%LogFilePath% 2>&1

443 ))

444 exit /b

445

446 :checkPermissions

447 if exist %SystemRoot%\System32\fsutil.exe (

448 fsutil dirty query %systemdrive%>nul 2>&1

449 ) else (

450 net session >nul 2>&1

451 )

452 if %errorLevel%==0 (

453 goto:begin

454 ) else (

455 call:log "[Failure] Need administrative permissions"

456 goto:end

457 )

458 exit /b

459

460 :download_file

461 set url=%~1

462 set dest=%~2

463 powershell -ExecutionPolicy RemoteSigned -NoLogo -Noninteractive -Command "try { Import-Module BitsTransfer; Start-BitsTransfer -Source %url% -Destination %dest%; exit 100; } catch { exit 0; }">nul

464 exit /b

465

466 :install_pswu_module

467 set ps_modules_dir=%windir%\System32\WindowsPowerShell\v1.0\Modules

468 set pswu_distr_path="!ps_modules_dir!\PSWindowsUpdate"

469 set result=0

470 if exist "!pswu_distr_path!\Hide-WUUpdate.ps1" (

471 rem call:log "PowerShell module 'PSWindowsUpdate' found"

472 set result=100

473 ) else (

474 set local_unzip_tool=0

475 set local_pswu_module=0

476 call:log "Install PowerShell module 'PSWindowsUpdate'" "Install update"

477 if exist "%~dp0\unzip.exe" (

478 set local_unzip_tool=1

479 set unzip_tool="%~dp0\unzip.exe"

480 call:log "Local unzip tool found"

481 ) else (

482 set unzip_tool="%temp%\unzip.exe"

483 call:log "Download unzip tool.."

484 rem Original source: http://stahlworks.com/dev/unzip.exe

485 call:download_file "https://www.dropbox.com/s/gxf8d4bg0yyoz ... p.exe?dl=1" !unzip_tool!

486 )

487 if exist !unzip_tool! (

488 if exist "%~dp0\PSWindowsUpdate.zip" (

489 set local_pswu_module=1

490 set pswu_zip="%~dp0\PSWindowsUpdate.zip"

491 call:log "Local PSWindowsUpdate module found"

492 ) else (

493 set pswu_zip="%temp%\PSWindowsUpdate.zip"

494 call:log "Download PowerShell module 'PSWindowsUpdate'.."

495 rem Original source: https://gallery.technet.microsoft.com/s ... ff796b0bc/

496 call:download_file "https://www.dropbox.com/s/z61nlkfecmhab ... e.zip?dl=1" !pswu_zip!

497 )

498 if exist !pswu_zip! (

499 set pswu_temp="%temp%\pswindowsupdate_content"

500 call:log "Unzip module archive.."

501 !unzip_tool! -oC !pswu_zip! -d !pswu_temp!>nul

502 if exist !pswu_temp! (

503 call:log "Move module files to PowerShell modules directory.."

504 if exist !pswu_distr_path! (rmdir !pswu_distr_path! /s /q>nul)

505 move /y "!pswu_temp!\PSWindowsUpdate" !ps_modules_dir!>nul

506 if "!local_unzip_tool!" NEQ "1" (del /f !unzip_tool!>nul)

507 if "!local_pswu_module!" NEQ "1" (del /f !pswu_zip!>nul)

508 rmdir !pswu_temp! /s /q>nul

509 if exist "!pswu_distr_path!\Hide-WUUpdate.ps1" (

510 call:log "'PSWindowsUpdate' module for PowerShell installed" "Installation complete"

511 set result=100

512 timeout /t 2 /nobreak>nul & tskill powershell>nul 2>&1 & timeout /t 2 /nobreak>nul

513 ) else (

514 call:log "Installation module 'PSWindowsUpdate' failed - files in !pswu_distr_path! not found" "Installation failed"

515 )

516 )

517 )

518 )

519 )

520 exit /b

521

522 :uninstall_update

523 set kb_id=%~1

524 rem Remove update

525 call:log "Uninstall update KB%kb_id%.."

526 start /wait wusa /uninstall /norestart /quiet /kb:%kb_id%

527 if %errorlevel%==2359303 call:log "Update KB%kb_id% not installed"

528 if %errorlevel%==1223 call:log "Uninstall cancelled"

529 if %errorlevel%==3010 call:log "Update KB%kb_id% UNINSTALLED successfully"

530 rem Add all updates IDs to single string variable (',' is delimiter)

531 set UpdatesList=%UpdatesList%KB%kb_id%,

532 exit /b

533

534 :disable_updates

535 rem Add update to Windows Update exceptions (hide update) using PowerShell

536 if [!UpdatesList!] EQU [] (

537 call:log "Empty updates list. For add update ID to block list - uninstall update by script before" "Error"

538 exit /b

539 )

540 rem Remove last (',') char

541 set UpdatesListForDisabling=!UpdatesList:~0,-1!

542 call:install_pswu_module

543 if %result%==100 (

544 call:log "Disable updates: !UpdatesListForDisabling!.."

545 powershell -ExecutionPolicy RemoteSigned -NoLogo -Noninteractive -Command "Import-Module PSWindowsUpdate; try { Hide-WUUpdate -KBArticleID !UpdatesListForDisabling! -Confirm:$false; exit 100; } catch { exit 0; }">nul 2>&1

546 if !errorlevel!==100 (

547 call:log "Updates successfully DISABLED"

548 ) else (

549 call:log "Cannot disable updates: Update your PowerShell or install PowerShell module 'PSWindowsUpdate'" "Error"

550 )

551 )

552 exit /b

553

554 :block_route

555 set REDIRECT=0.0.0.0

556 set ip_addr=%~1

557 call:log "Block route to %ip_addr%"

558 route -p ADD %ip_addr% MASK 255.255.255.255 %REDIRECT%>nul 2>&1

559 rem Add all addresses to single string variable (',' is delimiter)

560 set FirewallIPlist=%FirewallIPlist%%ip_addr%,

561 exit /b

562

563 :block_routes_with_firewall

564 if [!FirewallIPlist!] EQU [] (

565 call:log "Empty IP list. For add IP to firewall block list - block ip by route first" "Error"

566 exit /b

567 )

568 if exist %SystemRoot%\System32\netsh.exe (

569 set FirewallRuleName=Block MS Telemetry

570 rem Remove exists rule + add new rule + make exists check

571 netsh advfirewall firewall delete rule name="!FirewallRuleName!">nul

572 netsh advfirewall firewall add rule name="!FirewallRuleName!" dir=out action=block remoteip=!FirewallIPlist! interfacetype=any>nul

573 netsh advfirewall firewall show rule name="!FirewallRuleName!">nul

574 if %errorlevel% EQU 0 (

575 call:log "IP adresses blocked with firewall rule '!FirewallRuleName!': '!FirewallIPlist:~0,-1!'"

576 ) else (

577 call:log "Cannot add firewall rule '!FirewallRuleName!' - maybe firewall servise disabled^?" "Error"

578 )

579 ) else (

580 call:log "Windows firewall not accessible (file 'netsh.exe' not exists)" "Error"

581 )

582 exit /b

583

584 :disable_task

585 set task_name=%~1

586 call:log "Disable task %task_name%"

587 schtasks /Change /TN "%task_name%" /DISABLE>nul 2>&1

588 exit /b

589

590 :disable_service

591 set service_name=%~1

592 set errors_counter=0

593 call:log "Disable service '%service_name%'"

594 sc query "%service_name%">nul

595 if %errorlevel% NEQ 1060 (

596 sc config "!service_name!" start= disabled>nul

597 if %errorlevel% NEQ 0 set /a errors_counter=errors_counter+1

598 sc stop "!service_name!">nul

599 if %errorlevel% NEQ 0 set /a errors_counter=errors_counter+1

600 if %errors_counter%==0 (

601 call:log "Service '!service_name!' disabled successful"

602 )

603 ) else set /a errors_counter=errors_counter+1 & call:log "Service '!service_name!' not installed"

604 exit /b

605

606 :add_to_hosts

607 set HOSTS=%SystemRoot%\system32\drivers\etc\hosts

608 set REDIRECT=0.0.0.0

609 set block_title=## Block MS telemetry domain names

610 set write_title=0

611 set host_name=%~1

612 if "%host_name%"=="--title--" (

613 set write_title=1

614 set host_name=%block_title%

615 )

616 find /C /I "%host_name%" %HOSTS%>nul

617 if %errorlevel% NEQ 0 (

618 attrib -r %HOSTS%>nul

619 if !write_title! EQU 1 (

620 echo.>>%HOSTS%

621 echo.>>%HOSTS%

622 echo %block_title%>>%HOSTS%

623 ) else (

624 echo %REDIRECT% %host_name%>>%HOSTS%

625 call:log "Domain %host_name% ADDED"

626 )

627 ) else (

628 if !write_title! NEQ 1 (

629 call:log "Domain %host_name% ALREADY added"

630 )

631 )

632 exit /b

633

634 :end

635 call:title "Exit after 60 seconds, or press any key for exit now"

636 timeout /t 60>nul 2>&1

637 endlocal & if %ExitOnComplete%==1 (exit)

638 echo on
Изображение



Выхожу один я на дорогу, ночь темна, в руке моей топор. Колдунов в районе очень много... по моим расчетам перебор.
Аватара пользователя
Andrew_74
Сообщения: 5918
Зарегистрирован: Вт фев 05, 2008 04:30

Re: Вопросы по Windows10

Сообщение Andrew_74 »

На десятке... месяца три, примерно. Обновлялся поверх семерки. Формально, косяк был только один - пришлось заново калибровать дисплей ноута. Все остальное прижилось без проблем. Фантастического прироста скорости замечено не было, равно как и просто прироста. Чуть быстрее грузиться стала. При установке поотключал, все что можно было, но все равно она по ночам втихаря обновлялась. Молча, без спроса. До последнего времени - недели две как тому взад - все было в пределах нормы. Потом стала виснуть на последнем этапе загрузки. Рабочий стол появляется, но ничего практически не работает. Откат по точке восстановления не помогал. Только через безопасный режим. Который сперва еще надо включить, а потом еще и обязательно выключить!!! И так два раза уже. В общем, в ближайшее время буду восстанавливать семерку, а дальше буду посмотреть.
Если человек действительно мудр, ему одинаково близка любая идея и одинаково чужд любой способ её осуществления. Ибо нет ничего уродливее воплощённой в жизнь мечты. (Це) Евгений Лукин



Изображение

Вернуться в «PC»

Кто сейчас на конференции

Сейчас этот форум просматривают: ClaudeBot [Bot] и 0 гостей