Is there anyway to reapply same Policy to Same Device? - android-management-api

For Example, Policy A is updated and linked with the device.
But Policy A is not applied properly in the Device because of user intervention.
I want to Re-apply the Policy to the Device again. Is there any way to apply the policy to the device again?.
note:
I tried Device.patch. But it does not reapply policy in Device.
Nothing occurs in the Device. Because already same policy applies to the device.
With Updating Policy. we can reflect the updated policy in the Device. But there is no change in Policy,
if I try Policies.patch, Policy Object Will not get updated (Version Not change).
SO Policy is not reflecting in the Device.
could not able to update the policy without any changes.

Unfortunately, there is no way to apply the same policy on the same device without updating the policy. Also, a device can only have a single policy at any given time. Please refer to this link for applying policy to a device.
However, if it is necessary to re-apply a policy since the initial policy was not applied due to user interference, I suggest that you add a policy that will not directly affect your device. With this, the policy will be updated and can be applied to the device.

Related

Why is the Vodapay test app not allowing me to reset my PIN?

I used the wrong PIN on my account multiple times on the super-app, now its refusing to allow me to reset it. How do I proceed from here?
As a security measure, the account will be blocked for 24hrs and then automatically unblocked. Please avoid continuing to try logging in on that account as you can then be blocked for 7 days. For now, I would suggest that you create a new account and continue with your development work.

Devices not getting sync up on policy change

Devices enrolled to the policy are not getting updated on device patch(changing policy) or doing any change on applied policy(like disable the status bar, disable camera). The device needs a manual reboot several times to pickup up a real-time state from google and sync. Can you please advise on the issue.
This issue about policy sync up is already fixed.

Prevent proxy reassignment

I work in big company and big brother always watching and enforce its own rules. However to do my job I have special proxy server settings in IE8 which gives me access to what I need. All legal and based on job description. Everything is fine except every few hours my settings go back to standard and I have to reset them manually to this special proxy. I think security team forces some GPO settings which do this. I have admin rights on my computer but, of course, no rights on the domain. Is there way for me to prevent such changes in my personal settings?
That would be very helpful. Even I can do changes manually it most bothers me when I have automated processes. Some batch runs in the middle of the night and it can't work because proxy settings are wrong. Very frustrating.
Any help?
It is indeed likely you have encountered a Group Policy Preference (GPP), an optional part of the GPO system. These GPP are applied either on parameter change (on the side of the central admin) or on every regular GPO refresh - but between these, the end-user is free to change the values.
To check it, simply create the GPO report. In an elevated command prompt, do GPRESULT /H GPReport.html and read the created HTML file. You will likely encounter the GPP parameter. Note the GPO name.
Now, since you do have (organisational) permission to change these parameters, the cleanest option is simply to nicely ask your admin to:
first option: opt you out of the GPO. (give the GPO name and the GPO parameters to the admin)
second option: make the GPP "apply on change" only.
If this is not possible, you may (if it has not been forbidden by another GPO...) disable regular refresh of GPOs. Just open local policies, go to Computer Configuration\Administrative Templates\System\Group Policy and set "Disable background refresh of Group Policy" to enabled. That way, GPO will only refresh on logon. Please note this may be seen as a security risk and be frowned upon by your administrator/security officer/whatever.

Windows phone 7 performance issues when using GeoCoordinateWatcher?

Can I use GeoCoordinateWatcher in Application_Launching to check that the phone location service is enabled or disabled? Does this affect performance?
Regards,
Panache
Don't!
Let the app launch and then decide.
You need your app to function even if the location service is disabled.
There is no time guarantee in confirming the location service is running so if you wait you may go over your allowed start up time.
Or are you just asking how to use a GeoCoordinateWatcher?
Edit:
If you want to only display this once, then just keep track of if you've displayed the prompt/message.
Also be aware that due to settings being changed while your app is tombstoned just performing the check on application launch does not guarantee that it will always be correct.
e.g.
location service disabled when app
started
App displays prompt
User presses start (app tombstoned)
uses changes settings to enable location service
user uses back button to reactivate app
app restarted (If doesn't RE-check if service enabled then would be wrong)

Can I determine when a default printer was set on windows

We are trying to trace the time a windows default printer was changed and by who or what.
Any ideas?
I don't think that is tracked anywhere. For past changes, you might be out of luck.
For future changes, you could try setting up security auditing (via regedit: Permissions->Acvanced->Auditing) on HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows and watch for changes to that key in the Security event log. The amount of security event messages may make tracking difficult, though.

Resources