Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to check if a program is working?

27 Oct 2014   #11
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Launching browser using StripMyRights

Sorry, I'm at work currently so from memory:

Modified the browser desktop shortcut using

C:\Windows\System32\StripMyRights.exe /L N "Full Path To\opera.exe"

Right clicked the shortcut and chose "Run as admin"

It's a shortcut to the portable version of Opera. I'll test on another installed browser later.

I can post more specific details later.


My System SpecsSystem Spec
.
27 Oct 2014   #12
lehnerus2000

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 64 bit
 
 
Shortcut - Run as administrator

That should work.

I've used that for my VMware Workstation batch file (starts services, starts VMW, stops services).

You should be able to set the shortcut to automatically "Run as administrator".
You will still need to acknowledge a UAC prompt.
My System SpecsSystem Spec
27 Oct 2014   #13
Tookeri

Windows 7 Pro 32
 
 

DropMyRights and StripMyRights were developed in the XP days, before UAC was born. If you have UAC enabled and you launch a program and you don't get an UAC prompt - then you're running as a Standard user (unless you've made some elevated without prompt override special)

To launch a shortcut to StripMyRights as admin only to have StripMyRights then remove the admin rights and then launch the program.... Trust UAC instead!
My System SpecsSystem Spec
.

27 Oct 2014   #14
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Callender View Post
Sorry, I'm at work currently so from memory:

Modified the browser desktop shortcut using

C:\Windows\System32\StripMyRights.exe /L N "Full Path To\opera.exe"

Right clicked the shortcut and chose "Run as admin"

It's a shortcut to the portable version of Opera. I'll test on another installed browser later.

I can post more specific details later.
Doing those steps for the installed version of the Opera browser caused the same non-working browser as shown in post #9. At least it did for me :-)
My System SpecsSystem Spec
27 Oct 2014   #15
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Shortcut - StripMyRights

Quote   Quote: Originally Posted by UsernameIssues View Post
Quote   Quote: Originally Posted by Callender View Post
Sorry, I'm at work currently so from memory:

Modified the browser desktop shortcut using

C:\Windows\System32\StripMyRights.exe /L N "Full Path To\opera.exe"

Right clicked the shortcut and chose "Run as admin"

It's a shortcut to the portable version of Opera. I'll test on another installed browser later.

I can post more specific details later.
Doing those steps for the installed version of the Opera browser caused the same non-working browser as shown in post #9. At least it did for me :-)
Hmm, I'm not sure what's going on here.

More information:

Account Type is Administrator
Built in Administrator account is disabled
UAC is enabled

I've now tested shortcuts for Opera12.17 64bit portable (heartbleed patched version) and Cyberfox v33 64bit installed version. Both browsers launch.

Screenshots of shortcuts:

How to check if a program is working?-opera-shortcut-properties.jpg

How to check if a program is working?-cyberfox-shortcut-properties.jpg


My System SpecsSystem Spec
27 Oct 2014   #16
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Command Line usage

Quote   Quote: Originally Posted by UsernameIssues View Post
Quote   Quote: Originally Posted by Callender View Post
Thanks very much indeed.

Running Opera as Admin from the right click context menu with StripMyRights gives the following error:
~~~
How did you launch Opera from the context menu and still use StripMyRights?

Using an elevated command prompt to results in the same crash that I mentioned above:

Attachment 338441
Elevated Command Prompt that works for me is:

StripMyRights.exe /L N "C:\Users\Chris\PortableApps\Opera\opera64_1217en\opera.exe"

So no path is needed in front of StripMyRights.exe
My System SpecsSystem Spec
27 Oct 2014   #17
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
UAC Settings

UAC is set like this:

How to check if a program is working?-user-account-control-settings.jpg

Other settings:

Code:
 
	 


129) Operating System 

 
Item	Value	   
Name	7	   
Edition	Home Premium Edition	   
Install Date	20130822204251.000000+060	   
Registered Owner	Chris	   
Registered Organization		   
Product ID	*****-OEM-*******-****	   
Major Version Number	6	   
Minor Version Number	1	   
Build Number	7601	   
Service Pack	Service Pack 1	   
Service Pack Version	1.0	   
Plus! Version Number	<null>	   
DirectX Version	9.0c	   
Windows Directory	C:\Windows\	   
System Directory	C:\Windows\system32\	   
Temporary Directory	V:\AppData\Local\Temp\	   
Operating System Language	English	   
Number of Bits	64	 


149) Registry Security Values 

 
Subkey	Setting	   
CodeIdentifiers\AuthenticodeEnabled 	0 	   
Driver Signing\Policy 	01000000 	   
Eventlog\Application\RestrictGuestAccess 	1 	   
Eventlog\Security\RestrictGuestAccess 	1 	   
Eventlog\System\RestrictGuestAccess 	1 	   
Eventlog\Application\Retention 	0 	   
Eventlog\Security\Retention 	0 	   
Eventlog\System\Retention 	0 	   
Eventlog\Application\MaxSize 	83886080 	   
Eventlog\Security\MaxSize 	838860800 	   
Eventlog\System\MaxSize 	83886080 	   
LanManServer\Parameters\AutoDisconnect 	15 	   
LanManServer\Parameters\EnableForcedLogOff 	1 	   
LanManServer\Parameters\EnableSecuritySignature 	0 	   
LanManServer\Parameters\NullSessionPipes 	 	   
LanManServer\Parameters\RequireSecuritySignature 	0 	   
LanManServer\Parameters\RestrictNullSessAccess 	1 	   
LanmanWorkstation\Parameters\EnablePlainTextPassword 	0 	   
LanmanWorkstation\Parameters\EnableSecuritySignature 	1 	   
LanmanWorkstation\Parameters\RequireSecuritySignature 	0 	   
LDAP\LDAPClientIntegrity 	1 	   
Lsa\AuditBaseObjects 	0 	   
Lsa\CrashOnAuditFail 	0 	   
Lsa\DisableDomainCreds 	0 	   
Lsa\EveryoneIncludesAnonymous 	0 	   
Lsa\FIPSAlgorithmPolicy\Enabled 	 	   
Lsa\ForceGuest 	0 	   
Lsa\FullPrivilegeAuditing 	00 	   
Lsa\LimitBlankPasswordUse 	1 	   
Lsa\LmCompatibilityLevel 	0 	   
Lsa\MSV1_0\NTLMMinClientSec 	537395200 	   
Lsa\MSV1_0\NTLMMinServerSec 	537395200 	   
Lsa\NoLMHash 	1 	   
Lsa\RestrictAnonymous 	0 	   
Lsa\RestrictAnonymousSAM 	1 	   
Netlogon\Parameters\DisablePasswordChange 	0 	   
Netlogon\Parameters\MaximumPasswordAge 	30 	   
Netlogon\Parameters\RequireSignOrSeal 	1 	   
Netlogon\Parameters\RequireStrongKey 	1 	   
Netlogon\Parameters\SealSecureChannel 	1 	   
Netlogon\Parameters\SignSecureChannel 	1 	   
NTDS\Parameters\LDAPServerIntegrity 	 	   
Session Manager\Kernel\ObCaseInsensitive 	1 	   
Session Manager\ProtectionMode 	1 	   
Session Manager\SubSystems\optional 	 	   
System\ConsentPromptBehaviorAdmin 	5 	   
System\ConsentPromptBehaviorUser 	 	   
System\DisableCAD 	 	   
System\DontDisplayLastUserName 	0 	   
System\EnableInstallerDetection 	 	   
System\EnableLUA 	1 	   
System\EnableSecureUIAPaths 	 	   
System\EnableUIADesktopToggle 	 	   
System\EnableVirtualization 	 	   
System\FilterAdministratorToken 	 	   
System\LegalNoticeCaption 	 	   
System\LegalNoticeText 	 	   
System\PromptOnSecureDesktop 	1 	   
System\ScForceOption 	0 	   
System\ShutdownWithoutLogon 	1 	   
System\UndockWithoutLogon 	1 	   
System\ValidateAdminCodeSignatures 	 	   
Winlogon\CachedLogonsCount 	 	   
Winlogon\ForceUnlockLogon 	 	   
Winlogon\PasswordExpiryWarning 	 	   
Winlogon\ScRemoveOption 	 	 


154) User Rights Assignment 

 
Policy	Security Setting	   
Access Credential Manager as a trusted caller 	 	   
Access this computer from the network 	S-1-5-32-551, Users, Administrators, Everyone 	   
Act as part of the operating system 	Chris 	   
Add workstations to domain 	 	   
Adjust memory quotas for a process 	Administrators, NETWORK SERVICE, LOCAL SERVICE 	   
Allow log on through Terminal Services 	S-1-5-32-555, Administrators 	   
Back up files and directories 	S-1-5-32-551, Administrators 	   
Bypass traverse checking 	S-1-5-32-551, Users, Administrators, NETWORK SERVICE, LOCAL SERVICE, Everyone 	   
Change the system time 	Administrators, LOCAL SERVICE 	   
Change the time zone 	Users, Administrators, LOCAL SERVICE 	   
Create a pagefile 	Administrators 	   
Create a token object 	 	   
Create global objects 	SERVICE, Administrators, NETWORK SERVICE, LOCAL SERVICE 	   
Create permanent shared objects 	 	   
Create symbolic links 	Administrators, Chris 	   
Debug programs 	Administrators 	   
Deny access to this computer from the network 	Guest 	   
Deny log on as a batch job 	 	   
Deny log on as a service 	 	   
Deny log on locally 	 	   
Deny log on through Terminal Services 	 	   
Enable delegation 	 	   
Force shutdown from a remote system 	Administrators 	   
Generate security audits 	NETWORK SERVICE, LOCAL SERVICE 	   
Impersonate a client after authentication 	SERVICE, Administrators, NETWORK SERVICE, LOCAL SERVICE 	   
Increase a process working set 	Users 	   
Increase scheduling priority 	Administrators 	   
Load and unload device drivers 	Administrators 	   
Lock pages in memory 	Chris 	   
Log on as a batch job 	Performance Log Users, S-1-5-32-551, Administrators 	   
Log on as a service 	 	   
Log on locally 	S-1-5-32-551, Users, Administrators, Guest 	   
Manage auditing and security log 	Administrators 	   
Manage the files on a volume 	Administrators 	   
Modify an object label 	 	   
Modify firmware environment values 	Administrators 	   
Profile single process 	Administrators 	   
Profile system performance 	WdiServiceHost, Administrators 	   
Remove computer from docking station 	Users, Administrators 	   
Replace a process-level token 	NETWORK SERVICE, LOCAL SERVICE 	   
Restore files and directories 	S-1-5-32-551, Administrators 	   
Shut down the system 	S-1-5-32-551, Users, Administrators 	   
Synchronize directory service data 	 	   
Take ownership of files or other objects 	Administrators, Chris 	 


157) Administrators 
 
Item	Value	   
Group Type	Local	   
Group Name	Administrators	   
Comment	Administrators have complete and unrestricted access to the computer/domain	 


160) Guests 
 
Item	Value	   
Group Type	Local	   
Group Name	Guests	   
Comment	Guests have the same access as members of the Users group by default, except for the Guest account which is further restricted	 


165) Users 
 
Item	Value	   
Group Type	Local	   
Group Name	Users	   
Comment	Users are prevented from making accidental or intentional system-wide changes and can run most applications	 


166) Group Policy 

 
Group Name	Privilege Name	   
Administrators 	SeSecurityPrivilege 	   
Administrators 	SeBackupPrivilege 	   
Administrators 	SeRestorePrivilege 	   
Administrators 	SeSystemtimePrivilege 	   
Administrators 	SeShutdownPrivilege 	   
Administrators 	SeRemoteShutdownPrivilege 	   
Administrators 	SeTakeOwnershipPrivilege 	   
Administrators 	SeDebugPrivilege 	   
Administrators 	SeSystemEnvironmentPrivilege 	   
Administrators 	SeSystemProfilePrivilege 	   
Administrators 	SeProfileSingleProcessPrivilege 	   
Administrators 	SeIncreaseBasePriorityPrivilege 	   
Administrators 	SeLoadDriverPrivilege 	   
Administrators 	SeCreatePagefilePrivilege 	   
Administrators 	SeIncreaseQuotaPrivilege 	   
Administrators 	SeChangeNotifyPrivilege 	   
Administrators 	SeUndockPrivilege 	   
Administrators 	SeManageVolumePrivilege 	   
Administrators 	SeImpersonatePrivilege 	   
Administrators 	SeCreateGlobalPrivilege 	   
Administrators 	SeTimeZonePrivilege 	   
Administrators 	SeCreateSymbolicLinkPrivilege 	   
Administrators 	SeInteractiveLogonRight 	   
Administrators 	SeNetworkLogonRight 	   
Administrators 	SeBatchLogonRight 	   
Administrators 	SeRemoteInteractiveLogonRight 	   
Performance Log Users 	SeBatchLogonRight 	   
Users 	SeChangeNotifyPrivilege 	   
Users 	SeUndockPrivilege 	   
Users 	SeIncreaseWorkingSetPrivilege 	   
Users 	SeTimeZonePrivilege 	   
Users 	SeInteractiveLogonRight 	   
Users 	SeNetworkLogonRight 	   
Users 	SeShutdownPrivilege 	 


168) Administrator 
 
Item	Value	   
User Account	Administrator	   
Full Name		   
Description	Built-in account for administering the computer/domain	   
Account Status	Disabled, Not LockedPassword is required, Can change password, Password never expires, Password has not expired	   
Local Groups	Administrators	   
Global Groups	None	   
Last Logon	2010-11-21 03:47:20	   
Last Logoff		   
Number of Logons	6	   
Bad Password Count	0	   
Password Age	1436 Days	   
Password Expired	No	   
Account Expires		 

169) Chris 
 
Item	Value	   
User Account	Chris	   
Full Name		   
Description		   
Account Status	Enabled, Not LockedPassword not required, Can change password, Password never expires, Password has not expired	   
Local Groups	Administrators	   
Global Groups	None	   
Last Logon	2014-10-27 19:30:10	   
Last Logoff		   
Number of Logons	1677	   
Bad Password Count	0	   
Password Age	431 Days	   
Password Expired	No	   
Account Expires		 

170) Guest 
 
Item	Value	   
User Account	Guest	   
Full Name		   
Description	Built-in account for guest access to the computer/domain	   
Account Status	Disabled, Not LockedPassword not required, Can change password, Password never expires, Password has not expired	   
Local Groups	Guests	   
Global Groups	None	   
Last Logon		   
Last Logoff		   
Number of Logons	0	   
Bad Password Count	0	   
Password Age	346 Days	   
Password Expired	No	   
Account Expires
Some programs do run from elevated shortcuts but browsers including opera are not elevated.

Registry Settings for UAC are set to;

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Default: Notify and Dim
UnableLUA = 1
ConsentPromptBehaviorAdmin = 5
PromptOnSecureDesktop = 1

My best guess is that maybe you've got UAC on the maximum setting rather than the default setting?

EDIT:

This also works - running Opera from a program launcher with the following command:

How to check if a program is working?-quick-cliq-editor.jpg


My System SpecsSystem Spec
27 Oct 2014   #18
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
UAC Enabled

Quote   Quote: Originally Posted by Tookeri View Post
DropMyRights and StripMyRights were developed in the XP days, before UAC was born. If you have UAC enabled and you launch a program and you don't get an UAC prompt - then you're running as a Standard user (unless you've made some elevated without prompt override special)

To launch a shortcut to StripMyRights as admin only to have StripMyRights then remove the admin rights and then launch the program.... Trust UAC instead!
UAC is enabled - Was set to default level but I've just set it to maximum level.

Some reading material here about admin level accounts when browsing:

Security Fix - The Importance of the Limited User, Revisited

StripMyRights is supposed to give the browser standard user rights even if the user chooses to "run as admin" - and it's supposed to run the browser with standard user rights if the user has an admin level account.
My System SpecsSystem Spec
27 Oct 2014   #19
Tookeri

Windows 7 Pro 32
 
 

That article is written for people who have Windows XP. For Vista and later there's UAC. With UAC enabled it will disable administrator permissions for all programs you start. If the program requires to be run as admin then you'll get an UAC prompt. So if you never get an UAC prompt it means the programs is running as standard user. If you get a UAC prompt and you answer Yes, only then will the program have admin rights.

Think of it like this: UAC enabled = admin rights disabled (until UAC prompts and you answer Yes)

A browser shouldn't run as admin at all. If a browser requires that, then I wouldn't use it.

To be clear, I'm talking about an account type of administrator. Not the hidden/built-in administrator account.
My System SpecsSystem Spec
27 Oct 2014   #20
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Callender View Post
Sorry, I'm at work currently so from memory:

Modified the browser desktop shortcut using

C:\Windows\System32\StripMyRights.exe /L N "Full Path To\opera.exe"

Right clicked the shortcut and chose "Run as admin"

It's a shortcut to the portable version of Opera. I'll test on another installed browser later.

I can post more specific details later.
Perhaps the portable version acts differently. All of my testing was done using the installed version. I did not know that you were using a portable version until this post. Which is probably a good thing, since it lead me to test a different setup.



Quote   Quote: Originally Posted by Callender View Post
UAC is set like this:

Attachment 338494

~~~
My best guess is that maybe you've got UAC on the maximum setting rather than the default setting?

EDIT:

This also works - running Opera from a program launcher with the following command:

Attachment 338496
The UAC settings was set to the default. I was using the same setup as shown in post 9 - except the shortcut target field was modified/used to run as admin instead of using the elevated command prompt.
My System SpecsSystem Spec
Reply

 How to check if a program is working?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
How do i check if my over clocking is working
tital says it all so i have run msi command center and run oc engine in it but i do not know how to check if it is working i did try checking my system but it says it is still at 3.40ghz ? do i need to change some bois settings any help is appreciated thanks
PC Custom Builds and Overclocking
Check for Program Updates
Does Win.7 have a built in function that checks the system for software program updates?
Software
How do I get Win7 to check if program is running and if not start it?
I am running Win 7 64 bit Ultimate. I am trying to figure out a way to check if a program is currently running and if not to automatically start it. I have a program that has been shutting off randomly on me that I want to run 24/7 and it always seems to happen just after I leave for work. As a...
General Discussion
Free program to check for software updates
Hi, Can you recommend a free on demand scanner to identify software on my PC that is outdated...? Even better if it also could update it. Thanks, BBDS
Software
Program check IP & computer description
Dear Everyone This is my first post at this board, Nice to meet everyone. Today I like to present my program for check IP & computer description. I learn and try to encode this program from Autoit for my convenience when remote user computer at my work site.
Network & Sharing
program enables Use Check Boxes for all users
Hello All, I have a program that when installed on a Win 7 PC enables "Use check boxes to select items" for all users. The admin logon is unaffected, however any new user that logs on, sure enough it's enabled for them. So I'm assuming this is effecting the default user profile or something. (I...
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:01.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App