Skip to content

Commit

Permalink
Update the support tool for Password Sync v1.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
eesheesh committed Jun 24, 2021
1 parent 62c573e commit 885078a
Show file tree
Hide file tree
Showing 5 changed files with 811 additions and 756 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@

/build/gspstool.exe
/build/gspstool_x64.exe
/.vs/gsps-support-tool/v15/.suo
/.vs/config/applicationhost.config
/.vs/ProjectSettings.json
/.vs/slnx.sqlite
/.vs/VSWorkspaceState.json
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
## 1. [Download the GSPS Support Tool](https://github.com/google/gsps-support-tool/releases/download/2.0.2/gspstool.exe)
## 1. [Download the Password Sync Support Tool](https://github.com/google/gsps-support-tool/releases/download/2.0.3/PasswordSyncSupportTool.vbs)

### 2. Upload the file it creates to the [log analyzer](https://toolbox.googleapps.com/apps/loganalyzer/?productid=gaps)

Learn more about [troubleshooting GSPS](https://support.google.com/a/answer/2622457), and about [GSPS logs and error codes](https://support.google.com/a/answer/3296820).
Learn more about [troubleshooting Password Sync](https://support.google.com/a/answer/2622457), and about [Password Sync logs and error codes](https://support.google.com/a/answer/3296820).

---

This tool collects logs and information from all Domain Controllers running [G Suite Password Sync](https://support.google.com/a/answer/2611859) in order to allow reviewing them all in a single place to make troubleshooting easier.
This tool collects logs and information from all Domain Controllers running [Password Sync](https://support.google.com/a/answer/2611859) in order to allow reviewing them all in a single place to make troubleshooting easier.

It's built using VBScript for compatibility with all Windows versions, with a thin wrapper built using [AutoIt](http://www.autoitscript.com/site/) to save it as an EXE file.
It's built using VBScript for compatibility with all Windows versions.

* Password Sync was previously known as "Google Apps Password Sync" and "G Suite Password Sync". This support tool was previously known as GAPSTool and GSPSTool.
10 changes: 5 additions & 5 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rem See the License for the specific language governing permissions and
rem limitations under the License.

echo Build GSPSTool's EXE files using Aut2Exe (https://www.autoitscript.com/site/autoit/downloads/)
echo Build PasswordSyncSupportTool's EXE files using Aut2Exe (https://www.autoitscript.com/site/autoit/downloads/)

echo Liron Newman lironn@google.com

Expand All @@ -26,18 +26,18 @@ rem Find the version number by searching for the version set in the VBS file.
for /f "tokens=4" %%a IN ('findstr /R /B /C:"Const Ver = \"[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\"" gspstool.vbs') DO set ver=%%a
rem Strip the double quotes (") from the version number.
set ver=%ver:"=%
echo Going to build GSPSTool version %ver%...
echo Going to build PasswordSyncSupportTool version %ver%...

rem Generate the build commandline.
set buildcmd=..\..\tools\autoit\Aut2Exe\Aut2Exe.exe /in gspstool.au3 /icon pictographs-fire_extinguisher_inv.ico /comp 4 /pack /gui /execlevel requireadministrator /companyname Google /productname "GSPS support tool" /fileversion %ver% /productversion %ver%
set buildcmd=..\..\tools\autoit\Aut2Exe\Aut2Exe.exe /in gspstool.au3 /icon pictographs-fire_extinguisher_inv.ico /comp 4 /pack /gui /execlevel requireadministrator /companyname Google /productname "Password Sync support tool" /fileversion %ver% /productversion %ver%

echo Build command base: %buildcmd%

echo Building the x86 EXE.
%buildcmd% /out build\gspstool.exe
%buildcmd% /out build\PasswordSyncSupportTool.exe

echo Building the x64 EXE.
%buildcmd% /out build\gspstool_x64.exe /x64
%buildcmd% /out build\PasswordSyncSupportTool_x64.exe /x64

echo Done.
popd
4 changes: 2 additions & 2 deletions gspstool.au3
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
; Icon is Public Domain: pictographs-fire_extinguisher_inv.ico from
; http://openiconlibrary.sourceforge.net/

FileInstall("GSPSTool.vbs", @TempDir & "\GSPSTool.vbs", 1)
Run("WScript " & @TempDir & "\GSPSTool.vbs")
FileInstall("PasswordSyncSupportTool.vbs", @TempDir & "\PasswordSyncSupportTool.vbs", 1)
Run("WScript " & @TempDir & "\PasswordSyncSupportTool.vbs")

0 comments on commit 885078a

Please sign in to comment.