This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking:windows:logon_script_modular [2015/09/18 11:38] gcooper |
networking:windows:logon_script_modular [2023/12/14 08:30] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Modular Logon Script ====== | ====== Modular Logon Script ====== | ||
- | http:// | + | Robb Dunn wrote this modular |
**Script**: http:// | **Script**: http:// | ||
- | **Howto**: http:// | + | **Official |
- | :!: There is a 5 minute delay in logon script processing. | + | **Server 2008 GPO**: https://www.petri.com/ |
- | **Eliminate | + | :!: There is a **5 minute delay in logon script processing**. Starting with Windows Server 2012 R2, there is a GPO that configures this delay. |
- | Robb Dunn wrote this modular VBS logon script | + | :!: If you are trying to **map a drive letter |
- | + | ||
- | ===== Howto ===== | + | |
<note warning> | <note warning> | ||
If you are implementing RDS, you probably want to implement the logon script the old Windows NT way specifying the script in the Profile tab of users in ADUC.</ | If you are implementing RDS, you probably want to implement the logon script the old Windows NT way specifying the script in the Profile tab of users in ADUC.</ | ||
+ | |||
+ | ===== Howto ===== | ||
- Download and copy the logon.vbs file to the the appropriate folder on the domain controller where the script will be run. | - Download and copy the logon.vbs file to the the appropriate folder on the domain controller where the script will be run. | ||
- **Windows NT method** | - **Windows NT method** | ||
- Create the logon script in '' | - Create the logon script in '' | ||
+ | - Paste the contents of Robb's script and name it '' | ||
- **Group Policy method** | - **Group Policy method** | ||
- **Start -> Run -> '' | - **Start -> Run -> '' | ||
Line 29: | Line 30: | ||
- **User Configuration → Policies → Windows Settings → Scripts → Logon → Properties** | - **User Configuration → Policies → Windows Settings → Scripts → Logon → Properties** | ||
- **Show Files** | - **Show Files** | ||
- | - **Create the file ' | + | - **Create the file '' |
- Create two additional folders in the same directory called **' | - Create two additional folders in the same directory called **' | ||
- Create a configuration file in the **' | - Create a configuration file in the **' | ||
- | - Using either the Windows NT method or the Group Policy method, call the login script specifying the config file as an argument: '' | + | - Using either the Windows NT method or the Group Policy method, |
- | - Note the spelling | + | - Note the exact spelling |
- Use the detailed log files generated to troubleshoot and verify script execution. | - Use the detailed log files generated to troubleshoot and verify script execution. | ||