My Access deployment uses a 3rd party ActiveX control which requires registering with regsvr32 as Admin.
I found this code which works IF the Admin user has a password:
shell "runas /user:administrator " & zmagic.Strings.WrapInQuotes(strControlDLL, 2), vbNormalFocus
This opens cmd.exe window with a prompt for the admin password but errors out if you just press Enter because there is not Admin password.
On my client machines, I can't guarantee there will or will not be an Admin password so I need code that will allow me to register the DLL whether there is a pw or not.