User Tools

Site Tools


networking:windows:logon_script_modular

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:windows:logon_script_modular [2015/09/18 11:40]
gcooper
networking:windows:logon_script_modular [2023/12/14 08:30] (current)
gcooper
Line 2: Line 2:
  
 Robb Dunn wrote this modular VBS logon script that solves most small business needs easily. Robb Dunn wrote this modular VBS logon script that solves most small business needs easily.
- 
-http://ninp.snappages.com/blog/2010/03/03/332010-modular-logon-script-download 
  
 **Script**: http://community.spiceworks.com/scripts/show/299 **Script**: http://community.spiceworks.com/scripts/show/299
  
-**Howto**: http://community.spiceworks.com/how_to/show/1189+**Official Howto**: http://community.spiceworks.com/how_to/show/1189 
 + 
 +**Server 2008 GPO**: https://www.petri.com/setting-up-logon-script-through-gpo-windows-server-2008
  
-**Eliminate 5-minute delay in logon script processing**http://www.itsupportkb.com/windows-2012r2/gpo-logon-script-not-running-windows-server-2012r2+:!: There is a **5 minute delay in logon script processing**.  Starting with Windows Server 2012 R2, there is a GPO that configures this delay.  http://www.itsupportkb.com/windows-2012r2/gpo-logon-script-not-running-windows-server-2012r2
  
-:!: There is a 5 minute delay in logon script processing.  Starting with Windows Server 2012 R2there is a GPO that configures this delay.+:!: If you are trying to **map a drive letter that is already mapped** to something elseyou will want to **disconnect that previous mapping** so the new mapping will occur.
  
 <note warning>For some reason, using Group Policy to run the logon script does not work on RDS servers though it does seem to work properly on regular workstations. <note warning>For some reason, using Group Policy to run the logon script does not work on RDS servers though it does seem to work properly on regular workstations.
Line 22: Line 22:
     - **Windows NT method**     - **Windows NT method**
       - Create the logon script in ''C:\Windows\SYSVOL\sysvol\domain.local\scripts''       - Create the logon script in ''C:\Windows\SYSVOL\sysvol\domain.local\scripts''
 +      - Paste the contents of Robb's script and name it ''logon.vbs''
     - **Group Policy method**     - **Group Policy method**
       - **Start -> Run -> ''gpmc.msc''**       - **Start -> Run -> ''gpmc.msc''**
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 'logon.vbs'** with Robb's script as the contents+          - **Create the file ''logon.vbs''** with Robb's script as the contents
   - Create two additional folders in the same directory called **'configs'** and **'includes'**.   - Create two additional folders in the same directory called **'configs'** and **'includes'**.
   - Create a configuration file in the **'configs'** folder named **'global.conf'**.   - Create a configuration file in the **'configs'** folder named **'global.conf'**.
-  - Using either the Windows NT method or the Group Policy method, call the login script specifying the config file as an argument: ''logon.vbs config:global.conf'' +  - Using either the Windows NT method or the Group Policy method, modify users in ADUC to call the login script specifying the config file as an argument: ''logon.vbs config:global.conf'' 
-    - 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.
  
networking/windows/logon_script_modular.1442598006.txt.gz · Last modified: 2015/09/18 11:40 by gcooper