The advantage is that the script will be loaded very early, e. This is very useful to mount encrypted partitions. Add a comment. Active Oldest Votes. Improve this answer. Siim K Siim K 7, 6 6 gold badges 46 46 silver badges 68 68 bronze badges.
If you give a relative path, it will be looked for in the DC's Netlogon share. Behavior unknown for standalone systems. But you can give an absolute path, e.
Is there a way to reverse this command? In other words turn off a script you assigned to a user profile? I will explain how to use Create Task In the General tab, fill out a descriptive name and, optionally, a description for your task. In the Triggers tab, click New Check the Specific user combobox, make sure your username is selected you can use Any user if you want the program to run when any user logs in.
If you don't want your script to slow down the log in process, you can choose to run it after a delay - click Delay task for checkbox and type in the time e. Click ok to create the trigger. In the Actions tab, click New You may specify any arguments to pass to the program in Add arguments.
You may specify the working directory for the program in Start in. To continue this discussion, please ask a new question. Get answers from your peers along with millions of IT pros who visit Spiceworks. Dear community, I want to auto map my network drive for a certain user on a workgroup. Popular Topics in General Windows. Which of the following retains the information it's storing when the system power is turned off?
Submit ». Thai Pepper. Rune This person is a verified professional. Verify your account to enable IT peers to see that you are a professional. If not the script will ask for a user that has access to the target folder Or you need to give access to "everyone" on the shared folder. Pure Capsaicin. Gary D Williams This person is a verified professional. This folder is not created on a new installation of Windows.
If you do not want to create the Netlogon share in the default location, put the logon script in any folder that the user can access during logon, and then share this folder. Skip to main content. This browser is no longer supported.
Download Microsoft Edge More info. Contents Exit focus mode. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 8 years, 9 months ago.
Active 6 years, 10 months ago. Viewed k times. Improve this question. Kara 5, 15 15 gold badges 49 49 silver badges 56 56 bronze badges.
Cnorwood Cnorwood 1 1 gold badge 5 5 silver badges 17 17 bronze badges. The solution seems too easy Perhaps I'm missing part of the problem? Add a comment. Active Oldest Votes. To run the batch file when the VM user logs in: Drag the shortcut--the one that's currently on your desktop-- or the batch file itself to Start - All Programs - Startup. Improve this answer. Nate Hekman Nate Hekman 6, 24 24 silver badges 30 30 bronze badges.
0コメント