[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • Last Modified:

i want to create domain policy run file at every logon on client pc domain user.

how can i set the policy for domain user for logon to run application on domain client pc.
0
Nilesh Havire
Asked:
Nilesh Havire
  • 2
1 Solution
 
johnb6767Commented:
In a login script.......


reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v Appname /d "C:\Path\To\Appname.exe" /f

Open in new window

0
 
johnb6767Commented:
Or machine startup script, to target HKLM\Run......

reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v Appname /d "C:\Path\To\Appname.exe" /f

reg import \\server\share\regfile.reg.

Bottom line, no matter what method, use the Run key, and it will start after explorer launches....
0
 
Nilesh HavireBusiness ITAuthor Commented:
k
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now