Author Topic: Bug running Windows Repair in silent mode [Solved]  (Read 11042 times)

0 Members and 1 Guest are viewing this topic.

Offline AlexC

  • Newbie
  • *
  • Join Date: Mar 2016
  • Posts: 4
  • Karma: 0
    • View Profile
Bug running Windows Repair in silent mode [Solved]
« on: March 12, 2016, 01:20:25 pm »
Hi,

Apparently there's a bug while running Windows Repair with the "-silent" argument: it stops in the repair nº 7 "Repair Internet Explorer" (never finishes)

Tested in Windows 7 and XP.
« Last Edit: March 22, 2016, 10:16:52 am by AlexC »

Offline Julian

  • "Professional Googler"
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jun 2015
  • Posts: 1325
  • Location: USA, New Mexico
  • Karma: 38
    • View Profile
Re: Bug running Windows Repair in silent mode
« Reply #1 on: March 14, 2016, 11:49:23 pm »
I'm gonna test the bug to see if i can reproduce it if so i'll let Shane know and see if he can reproduce this as well. then he will be able to pin point this and figure what is happening in the code.
Julian

Offline Julian

  • "Professional Googler"
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jun 2015
  • Posts: 1325
  • Location: USA, New Mexico
  • Karma: 38
    • View Profile
Re: Bug running Windows Repair in silent mode
« Reply #2 on: March 14, 2016, 11:50:17 pm »
I need to know do you have all repairs selected or do you have just the defaults? and is this with portable or the actual installed version of windows repair?
Julian

Offline Julian

  • "Professional Googler"
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jun 2015
  • Posts: 1325
  • Location: USA, New Mexico
  • Karma: 38
    • View Profile
Re: Bug running Windows Repair in silent mode
« Reply #3 on: March 15, 2016, 12:29:30 am »
huh... I can't reproduce it   I set the argument went straight to repairs and here is the log...:thinking:
Code: [Select]
Tweaking.com - Windows Repair v3.8.4
--------------------------------------------------------------------------------

System Variables
--------------------------------------------------------------------------------
OS: Windows 7 Home Premium
OS Architecture: 64-bit
OS Version: 6.1.7601
OS Service Pack: Service Pack 1
Computer Name: MINE
Windows Drive: C:\
Windows Path: C:\windows
Program Files: C:\Program Files
Program Files (x86): C:\Program Files (x86)
Current Profile: C:\Users\user
Current Profile SID: S-1-5-21-4226139243-2225121702-1400395003-1001
Current Profile Classes: S-1-5-21-4226139243-2225121702-1400395003-1001_Classes
Profiles Location: C:\Users
Profiles Location 2: C:\windows\ServiceProfiles
Local Settings AppData: C:\Users\user\AppData\Local
--------------------------------------------------------------------------------

System Information
--------------------------------------------------------------------------------
System Up Time: 01 Day 01:03:34

Process Count: 81
Commit Total: 2.87 GB
Commit Limit: 8.00 GB
Commit Peak: 5.78 GB
Handle Count: 26339
Kernel Total: 499.41 MB
Kernel Paged: 375.68 MB
Kernel Non Paged: 123.72 MB
System Cache: 4.76 GB
Thread Count: 1049
--------------------------------------------------------------------------------

Memory Before Cleaning with CleanMem
--------------------------------------------------------------------------------
Memory Total: 8.00 GB
Memory Used: 2.57 GB(32.1432%)
Memory Avail.: 5.43 GB
--------------------------------------------------------------------------------

Cleaning Memory Before Starting Repairs...

Memory After Cleaning with CleanMem
--------------------------------------------------------------------------------
Memory Total: 8.00 GB
Memory Used: 2.13 GB(26.5906%)
Memory Avail.: 5.87 GB
--------------------------------------------------------------------------------

Starting Repairs...
   Started at (3/15/2016 12:46:50 AM)

Setting Any Missing 'InstallDate' From Uninstall Sections Before Running Repair...
Total Missing 'InstallDate' Fixed: 7
 
01 - Reset Registry Permissions
   Restore Windows 7/8/10 Default Registry Permissions
   Start (3/15/2016 12:46:51 AM)


Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\hku.7z
Done,  0.19 seconds.


Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\hklm.7z
Done,  2.23 seconds.

   Running Repair Under System Account
   Done (3/15/2016 12:55:01 AM)

Reset File Permissions: C:
   C: & Sub Folders
   Start (3/15/2016 12:55:01 AM)

   Running Repair Under Current User Account
   Done (3/15/2016 1:02:00 AM)

Reset File Permissions
   Restore Windows 7/8/10 Default File Permissions
   Start (3/15/2016 1:02:00 AM)


Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\default.7z
Done,  0.15 seconds.


Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\profile.7z
Done,  0.14 seconds.


Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\program_files.7z
Done,  0.17 seconds.


Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\program_files_x86.7z
Done,  0.16 seconds.


Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\programdata.7z
Done,  0.17 seconds.


Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\windows.7z
Done,  1.92 seconds.

   Running Repair Under Current User Account
   Done (3/15/2016 1:05:28 AM)

Reset File Permissions: Cleanup
   Repairing Restricted Folders Permissions To Avoid Infinite Loops
   Start (3/15/2016 1:05:28 AM)

   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:05:30 AM)

03 - Reset Service Permissions
   Start (3/15/2016 1:05:30 AM)

   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:05:48 AM)

04 - Register System Files
   Start (3/15/2016 1:05:48 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:06:26 AM)

05 - Repair WMI
   Start (3/15/2016 1:06:26 AM)

   Starting Security Center So We Can Export The Security Info.

   Exporting Antivirus Info...
   System Center Endpoint Protection Exported.

   Exporting AntiSpyware Info...
   System Center Endpoint Protection Exported.
   Windows Defender Exported.

   Exporting 3rd Party Firewall Info...
   No Firewall Products Reported.

   Running Repair Under Current User Account
   Done (3/15/2016 1:07:56 AM)

06 - Repair Windows Firewall
   Start (3/15/2016 1:07:56 AM)

Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\services.7z
Done,  0.17 seconds.

   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:08:20 AM)

07 - Repair Internet Explorer
   Start (3/15/2016 1:08:20 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:08:35 AM)

08 - Repair MDAC/MS Jet
   Start (3/15/2016 1:08:35 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:08:42 AM)

09 - Repair Hosts File
   Start (3/15/2016 1:08:42 AM)
   Running Repair Under System Account
   Done (3/15/2016 1:08:44 AM)

10 - Remove Policies Set By Infections
   Start (3/15/2016 1:08:44 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:08:48 AM)

11 - Repair Start Menu Icons Removed By Infections
   Start (3/15/2016 1:08:48 AM)
   Running Repair Under System Account
   Done (3/15/2016 1:08:49 AM)

12 - Repair Icons
   Start (3/15/2016 1:08:49 AM)
   Running Repair Under Current User Account
   Done (3/15/2016 1:08:50 AM)

13 - Repair Network
   Start (3/15/2016 1:08:50 AM)

Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\services.7z
Done,  0.2 seconds.

   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:09:11 AM)

14 - Remove Temp Files
   Start (3/15/2016 1:09:11 AM)
   Running Repair Under System Account
   Done (3/15/2016 1:09:20 AM)

15 - Repair Proxy Settings
   Start (3/15/2016 1:09:20 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:09:23 AM)

17 - Repair Windows Updates
   Start (3/15/2016 1:09:23 AM)

Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\services.7z
Done,  0.17 seconds.

   Running Repair Under Current User Account
   Running Repair Under System Account
   Setting Windows Updates Files That Are In Use To Be Removed At Next Boot.
   Done (3/15/2016 1:09:48 AM)

18 - Repair CD/DVD Missing/Not Working
   Start (3/15/2016 1:09:48 AM)
   iTunes or GEARAspiWDM.sys not found, not applying UpperFilters iTunes Reg Key
   Done (3/15/2016 1:09:48 AM)

19 - Repair Volume Shadow Copy Service
   Start (3/15/2016 1:09:48 AM)

Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\services.7z
Done,  0.17 seconds.

   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:13 AM)

20 - Repair Windows Sidebar/Gadgets
   Start (3/15/2016 1:10:13 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:15 AM)

21 - Repair MSI (Windows Installer)
   Start (3/15/2016 1:10:15 AM)

Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\services.7z
Done,  0.17 seconds.

   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:27 AM)

22 - Repair Windows Snipping Tool
   Start (3/15/2016 1:10:27 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:29 AM)

23.01 - Repair bat Association
   Start (3/15/2016 1:10:29 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:31 AM)

23.02 - Repair cmd Association
   Start (3/15/2016 1:10:31 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:34 AM)

23.03 - Repair com Association
   Start (3/15/2016 1:10:34 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:36 AM)

23.04 - Repair Directory Association
   Start (3/15/2016 1:10:36 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:38 AM)

23.05 - Repair Drive Association
   Start (3/15/2016 1:10:38 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:40 AM)

23.06 - Repair exe Association
   Start (3/15/2016 1:10:40 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:42 AM)

23.07 - Repair Folder Association
   Start (3/15/2016 1:10:42 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:45 AM)

23.08 - Repair inf Association
   Start (3/15/2016 1:10:45 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:47 AM)

23.09 - Repair lnk (Shortcuts) Association
   Start (3/15/2016 1:10:47 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:49 AM)

23.10 - Repair msc Association
   Start (3/15/2016 1:10:49 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:51 AM)

23.11 - Repair reg Association
   Start (3/15/2016 1:10:51 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:53 AM)

23.12 - Repair scr Association
   Start (3/15/2016 1:10:53 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:56 AM)

24 - Repair Windows Safe Mode
   Start (3/15/2016 1:10:56 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:10:58 AM)

25 - Repair Print Spooler
   Start (3/15/2016 1:10:58 AM)

Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\services.7z
Done,  0.17 seconds.

   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:11:13 AM)

26 - Restore Important Windows Services
   Start (3/15/2016 1:11:13 AM)

Decompressing & Updating Windows Permission File C:\Program Files (x86)\Tweaking.com\Windows Repair (All in One)\files\permissions\7\services.7z
Done,  0.17 seconds.

   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:11:23 AM)

27 - Set Windows Services To Default Startup
   Start (3/15/2016 1:11:23 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:11:30 AM)

   Skipping Repair.
   Repair is for Windows v6.2 (Windows 8 & Newer) or higher.
   Current version: 6.1.7601

   Skipping Repair.
   Repair is for Windows v6.2 (Windows 8 & Newer) or higher.
   Current version: 6.1.7601

   Skipping Repair.
   Repair is for Windows v6.2 (Windows 8 & Newer) or higher.
   Current version: 6.1.7601

31 - Repair Windows 'New' Submenu
   Start (3/15/2016 1:11:30 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:11:32 AM)

32 - Restore UAC (User Account Control) Settings
   Start (3/15/2016 1:11:32 AM)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (3/15/2016 1:11:34 AM)

33 - Repair Performance Counters
   Start (3/15/2016 1:11:34 AM)
   Running Repair Under Current User Account
   Done (3/15/2016 1:11:42 AM)

Cleaning up empty logs...

All Selected Repairs Done.
   Done at (3/15/2016 1:11:42 AM)
   Total Repair Time: 00:24:54


...YOU MUST RESTART YOUR SYSTEM...
Julian

Offline AlexC

  • Newbie
  • *
  • Join Date: Mar 2016
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Bug running Windows Repair in silent mode
« Reply #4 on: March 15, 2016, 04:59:06 am »
Hi,

i have seen it with the portable version.

For the test i used Windows 7 x32, launched CMD as administrator, and executed "Repair_Windows.exe -silent".

I all goes fine until the repair nº 7 "Repair Internet Explorer", where the repair never ends.

The same happens in Windows XP. In Windows 10 x64 it runs ok.

Maybe it only happens with 32 bits versions of Windows?
« Last Edit: March 15, 2016, 05:00:48 am by AlexC »

Offline Julian

  • "Professional Googler"
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jun 2015
  • Posts: 1325
  • Location: USA, New Mexico
  • Karma: 38
    • View Profile
Re: Bug running Windows Repair in silent mode
« Reply #5 on: March 15, 2016, 11:06:13 pm »
same I can't reproduce this bug...  do you have this set as an environment variable?
Julian

Offline AlexC

  • Newbie
  • *
  • Join Date: Mar 2016
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Bug running Windows Repair in silent mode
« Reply #6 on: March 16, 2016, 02:40:43 am »
Hi,

i've just run it from a elevated CMD with the "-silent" argument.

Apparently the  common factor is that it will stop at repair nº 7 (Repair Internet Explorer), when using a x32 Windows edition.

Please try this, in Windows 7 x32:
- download and extract the portable version of Windows Repair;
- run CMD as administrator (right click, "run as administrator");
- navigate to Windows Repair directory through CMD;
- run "Repair_Windows.exe -silent"

Thanks for the follow up!
« Last Edit: March 16, 2016, 02:42:59 am by AlexC »

Offline AlexC

  • Newbie
  • *
  • Join Date: Mar 2016
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Bug running Windows Repair in silent mode
« Reply #7 on: March 22, 2016, 10:16:18 am »
Hi,

i think found what was the problem.

When i run "Windows_Repair.exe -silent" through cmd, normally i'll leave that cmd windows opened.

Windows Repair will stop in the repair nº 7, if i leave the cmd window that i used to execute "Windows_Repair.exe -silent" opened.

If i close it after i run the command (or even when it's stopped in the repair nº 7), everything works fine, and Windows Repair runs will until the end.

Thanks!