Questions tagged [logon-scripts]
80 questions
0
votes
1 answer
Drive mappings being lost overnight
I have an interesting problem. I have a Server 2003 environment, with a Windows XP computer that continually loses its drive mappings overnight. No other users report this problem.
The user reports that drive mappings simply disappear with no real…

Daniel
- 39
- 1
- 5
0
votes
2 answers
VBS Logon Script
Could someone please provide some assistance with VBS scripting?
Here is what I have modified so far;
Const GROUP1 = "cn=GROUP1"
Const GROUP2 = "cn=GROUP2"
Const GROUP3 = "cn=GROUP3"
Set wshNetwork = CreateObject("WScript.Network")
Set ObjectUser…

Average Joe
- 51
- 1
- 4
0
votes
1 answer
Detect RemoteApp in logon script
I have a fairly basic vbs logon script which currently detects if a user is on a physical desktop or a remote desktop by checking if the %SESSIONNAME% Environment String is 'Console' or not, and then runs the correct elements. This works…

Jim
- 21
- 1
- 4
0
votes
4 answers
Setup Printers Based Upon AD Group Membership
I am trying to create a login script for Active Directory that will be used for installing printers on client computers. I have a basic script that we are using now, listed below, that installs a series of printers to the local machine from our…

John
- 2,276
- 7
- 44
- 60
0
votes
1 answer
Remotely Remove firewall thats blocking RPC
Here's one for you.
A while ago one of our big clients bought and partially rolled out an integrated connectivity package provided by a large UK mobile provider. The software includes a firewall (Proventia aka rebranded Black Ice Defender).
The…

Patrick
- 1,280
- 1
- 15
- 36
0
votes
1 answer
GPO user script on Win7 doesn't seem to get executed
We recently implemented outlook signature distribution software that requires a script to be run, but because this script has a password in plaintext I decided to convert the script to a .exe file (not the safest, but our users won't understand…

HannesFostie
- 845
- 14
- 29
0
votes
2 answers
How do I get detailed information about what happens during logon
Due to my IT department leaving I am now responsible for all our IT systems. I now have several problems to get my head around and fix.
I run Active Directory on windows server 2003 and use group policy to apply settings etc. Recently we have had…

Simon Foster
- 2,622
- 6
- 38
- 55
0
votes
1 answer
Untrusted Location
I've recently switched to roaming profiles in an XP and Windows 7 environment and also changed the login script. Can anyone tell me where I would find the info regarding messages that appear when people are launching various in-house apps :
This…
Scott Jackson
0
votes
1 answer
AD User logon script on custom server
Is it possible to run user logon script stored on a specific machine in domain, without using GPO?
I tried to set logon script for AD user as \\machine.domain.local\share\script.bat or cmd /k \\machine.domain.local\share\script.bat but it doesn't…

Seriy_A
- 1
- 1
0
votes
2 answers
Activate and specify logon script without user interaction
I would like to remotely activate a logon script to computers (Win10 and 11) not connected to a domain.
I can already remotely deploy software/script/files as admin, for example: I can deploy a logon.bat in…

Kintaro
- 3
- 1
- 4
0
votes
1 answer
Can't find logon script Server Essentials 2012
Okay, I know I'm going to sound like an idiot, but I need help! Years ago, I installed Home Server, then later upgraded to Server Essentials 2012. On both of these setups, I have a logon script that redirects the"My Documents", "Pictures", etc &…

IanCaz
- 1
- 2
0
votes
1 answer
Logon Script, detect network status
I'm wondering if it it is possible to build a logon script, for Windows XP & Vista, that will detect where the user is connected to a particular network (Defined by IP schema). If they are connected to a specific network, then it will display a…

MikeT505
- 431
- 3
- 8
- 22
-1
votes
1 answer
VBScript MID function - Invalid procedure call or argument - Code 800A0005
I've created a VBScript that aims to change folder share names on a server. This is currently running as a logon script for my test users.
I've defined this function:
Private Function intChangeShareName()
Dim intPoz1, intPoz2, intIndex
Dim…

DSKyo
- 153
- 3
- 6
- 15
-1
votes
1 answer
Robocopy logon script - copy all files, except 1, unless it doesnt exist
Currently have a GPO that calls a batch file at logon, that copyies files from one folder to another:
Robocopy "C:\logon" "X:\user1" /mir /r:1 w:1
Exit
This overwrites all the files in the destination, which is what I want, but I need to exclude…

soMuch2Learn
- 333
- 1
- 6
- 16
-1
votes
1 answer
Windows roaming profile when creating a new user profile
When a particular user is having a lot of problems with Windows XP e.g. applications crashing, unresponsive applications (which used to work), and as a general troubleshooting practice for a domain user, I normally rename that user's old profile and…

molecule
- 83
- 1
- 4
- 12