mirror of
				https://github.com/massgravel/Microsoft-Activation-Scripts.git
				synced 2025-10-30 08:01:39 +00:00 
			
		
		
		
	Show Ohook in green if O365 is installed
This commit is contained in:
		
							parent
							
								
									cb36c19f01
								
							
						
					
					
						commit
						10b6e8b6dc
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -415,6 +415,8 @@ if %winbuild% GEQ 19041 if %winbuild% LEQ 19045 set _ohookgo= | |||
| if defined _serexist set _ohookgo= | ||||
| if defined _evalexist set _ohookgo= | ||||
| if defined _ltscexist set _ohookgo= | ||||
| reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds %nul2% | find /i "O365" %nul% && set _ohookgo=1 | ||||
| reg query HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds %nul2% | find /i "O365" %nul% && set _ohookgo=1 | ||||
| ) | ||||
| if not defined _ohookgo set _tsforgego=1 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 WindowsAddict
						WindowsAddict