Page 1 of 1

Execution Restrictions

Posted: Mon Apr 16, 2018 12:18 pm
by 4n6pirate
Scenario:

Created an execution restricted executable for different users to use. The executable was first created with domain and MAC address restrictions. Unfortunately, newer computers are not on the domain. When building a new restricted executable we're only restricting by MAC address and the newer machines are not able to run it. We also tried to run the executable on an older machine, not on the domain and are having similar problems.


Product, version and build: Sapien PowerShell Studio 2018, latest update.
32 or 64 bit version of product: 64 bit
Operating system: Windows 10
32 or 64 bit OS: 64 bit

Re: Execution Restrictions

Posted: Mon Apr 16, 2018 1:26 pm
by Alexander Riedel
"are not able to run it". Can you provide the specific error, message or behavior?

Re: Execution Restrictions

Posted: Mon Apr 16, 2018 2:26 pm
by 4n6pirate
Alexander Riedel wrote:
Mon Apr 16, 2018 1:26 pm
"are not able to run it". Can you provide the specific error, message or behavior?
Sorry,

Image

Re: Execution Restrictions

Posted: Mon Apr 16, 2018 3:05 pm
by Alexander Riedel
Have you verified that the MAC address specified for the restriction and the primary MAC address for the target system match?

Re: Execution Restrictions

Posted: Mon Apr 16, 2018 3:06 pm
by Alexander Riedel
I would probably help to see the .psbuild file. Can you email that to support@sapien.com?

Re: Execution Restrictions

Posted: Mon Apr 16, 2018 3:58 pm
by 4n6pirate
Alexander Riedel wrote:
Mon Apr 16, 2018 3:05 pm
Have you verified that the MAC address specified for the restriction and the primary MAC address for the target system match?
yes, even added every MAC from this ps command.

Get-WmiObject win32_networkadapterconfiguration | select description, macaddress

Re: Execution Restrictions

Posted: Mon Apr 16, 2018 4:14 pm
by Alexander Riedel
Ok, make a small "hello world" script and package it with the same settings you describe.
Verify it does not run on your systems as described.
Zip and upload the script, the .psbuild file and the resulting exe to https://www.sapien.com/support/upload
I'll see what I can find out.

Re: Execution Restrictions

Posted: Tue Apr 17, 2018 7:35 am
by 4n6pirate
Uploaded, Thanks for your help thus far.

Re: Execution Restrictions

Posted: Tue Apr 24, 2018 11:33 am
by Alexander Riedel
Seems you separated the MAC addresses by commas instead of semicolons. I put in a request to provide an adequate error message in such a case.

Re: Execution Restrictions

Posted: Mon Apr 30, 2018 2:20 pm
by 4n6pirate
Alexander,

I was using semicolons.