I want to create a network share using vbScript.
Is there a way of doing this other than executing a "net share" command?
e.g.
Set shell = CreateObject("WScript.Shell")
shell.Run "net share sc1=" & sShare , 1, false
I want to create a network share using vbScript.
Is there a way of doing this other than executing a "net share" command?
e.g.
Set shell = CreateObject("WScript.Shell")
shell.Run "net share sc1=" & sShare , 1, false
We've a 64bit Windows Server 2008 running Remote Desktop.
The application lsm.exe (the local session manager) appears to be leaking memory. Although the memory usage is quite low when the server is rebooted, this continues to climb until people can no longer log in.
The server has no audio card and does not have any AV software installed. The server is fully service packed. (Service pack 2)
It has 8GB memory. 60 users regularly use it. There seem to be no relevant event log messages. The login does not start explorer. It starts a "login.vbs" script. This login script creates several wsShell and wScript.Network objects, but even if I comment these out, I still get the same behaviour. (note - I swapped the .vbs script for an executable. No difference)
There are multiple applications installed, but the only one of note is : perfectbackup - A java based backup solution.
The memory leak seems to happen when people log in / log out of Remote Desktop. e.g. Logging in will change the lsm memory size from 21,180K to 21,512K. Logging out will change the usage from 21,512K to 12,668K. This may go down later on, but the general movement is upwards. Also - This will go up faster, and stay up if I log in / out several times.
What could be causing this, and how would I fix it?
When minimizing a remote Application (running on XP over remote desktop) the desktop disappears and the only thing that is shown on the users screen is a plain blue Windows 2008 desktop background and the XP taskbar.
This appears to happen intermittantly. Pressing Windows-D will display the client desktop correctly.
What could cause this? How do I stop it happening? Anyone else had anything like this?
Just to reiterate:
If I move a folder (to temporarily stop people running programs in that folder), the desktop shortcuts they use to access those programs sometimes follow the folder. Is there any way to stop this behaviour?
This is on Windows machines.
To duplicate the behaviour...
We're running an Application as a remote App using Remote Desktop on Windows server 2008, and we're getting situations where (after we've got about 40 people logged in) the server can freeze for a number of seconds (e.g. 20 seconds).
It doesn't look like the issue is caused by a lack of processor, or a lack of memory. The Application is quite disk heavy, but we've changed the drives from Raided SATA to a faster SSD Disk, and there has been no improvement.
The Application is a 32 bit App running in a 64 bit environment and 8GB of RAM.
The Application ran fine on RDP in Windows Server 2000 (up to 100 users) (Although it started to slow down as the server ran out of memory)
Looking at the Various Monitors, there is a peak in processor and network usage at the time of the freezes, although this seems to be more associated with the server catching its breath after it unfreezes.
We think it may be something to do with unloading/loading Hives as users log on, but this is a guess.
My questions are... - How do I find out what could be causing this error? - Anyone else experienced an issue like this - And how did you fix it?
Thanks.