Jump to content

Recommended Posts

Posted (edited)

Hi all,

 

Just an opinion I'd like from you and how we would go about it.

In the last 3-4 months I've been made a full time IT Support Technician and I'm training myself on the job.

At the moment we have 3 rooms. IT suite, Main Office and Senior Management Team.

 

Here is a diagram of the structure:

http://puu.sh/5oV5Q.png

 

We don't keep any files local (Or we try not too) We have a cloud server (Linux based Samba at a Data Center about 20 miles away).

Everyone is an admin on their account because we have to put up with OCR's god awful software which requires an admin to run.

 

Basically I want to make the whole system secure and faultless (I know right..)

 

Sometime in the future I'l be turning the machine next to me into a server (FOG or using WDS) to make it so the machines aren't corrupt via software. It will look like this:

http://puu.sh/5oVcw.png

 

 

 

 

 

Any suggestions are much appreciated

Edited by Bradlys
Posted

Everyone is an admin on their account because we have to put up with OCR's god awful software which requires an admin to run.

 

I've got a couple of pieces of software here that require an admin account to run, so I've just set up a couple of encrypted scripts that use the RUNAS command to run them as an administrator which gets around it, is that something you could do there to stop them all being admin?

 

Andy :)

Posted
I've got a couple of pieces of software here that require an admin account to run, so I've just set up a couple of encrypted scripts that use the RUNAS command to run them as an administrator which gets around it, is that something you could do there to stop them all being admin?

 

Andy :)

 

That sounds perfect! How exactly does it work? I don't suppose if you have a spare 10 minutes you could do a screen cap or help me on skype?

 

Thanks!

Posted

I'd love to, but don't have screen capture stuff with me here (don't need it on this site really) nor can I use Skype .. all blocked up .. I'll try and step you through it below though ..

 

Right, open up Notepad (or your preferred text editor) and you need to create something similar to the following - please bear in mind, I've hacked this script a bit from one I've found, so someone might be able to give you a cleaner script - initially, this searched for the CD drive on the machine as one piece of software ran from a CD:

 

Set WshShell=WScript.CreateObject("WScript.Shell")

Set FileSystemObject = CreateObject("Scripting.FileSystemObject")
Set Drives = FileSystemObject.Drives
For Each DiskDrive in Drives
   DriveLetter = DiskDrive.DriveLetter
   DriveType = DiskDrive.DriveType

   If DriveType = "CD-ROM Drive" Then
CDDrive = DriveLetter
Exit For
   End If        
Next

Set Drives = nothing
Set FileSystemObject = nothing

strCmd="C:\PATH\TO\PROGRAM.EXE"
strUser="DOMAIN\ADMIN-ACCOUNT"
strPass="ADMINPASSWORD"
set WshShell=CreateObject("WScript.Shell")
WshShell.Run "runas.exe" & " /u:" & strUser & " " & strCmd
WScript.Sleep 1000
WshShell.Sendkeys strPass & "~"

 

When you've created this, save the file somewhere with the extension .vbs and follow the instructions on this page >>> Encrypting VBScript code ( vbs to vbe ) <<< to encrypt the vbs to a vbe. Now, word of warning, this doesn't mean it's unhackable as vbe can be reversed if you know how, but it just means the password isn't immediately available in plain text. Test the script to make sure that it works obviously (if just you testing, you can test the vbs version of it then when it works, convert it).

 

Now, copy (or move) the .vbe file you've created to somewhere accessible by all for them to run the software from (I use the \\domain\NETLOGON area and have a folder within that then deploy short cuts to desktops and/or the Start Menu to let people run the program.

 

And that's it, should get you being able to run the software as an administrator, but then demote the user accounts down to something more sensible within a managed environment.

 

Hope that helps

Andy :)

  • Thanks 1
Posted
I'd love to, but don't have screen capture stuff with me here (don't need it on this site really) nor can I use Skype .. all blocked up .. I'll try and step you through it below though ..

 

Right, open up Notepad (or your preferred text editor) and you need to create something similar to the following - please bear in mind, I've hacked this script a bit from one I've found, so someone might be able to give you a cleaner script - initially, this searched for the CD drive on the machine as one piece of software ran from a CD:

 

Set WshShell=WScript.CreateObject("WScript.Shell")

Set FileSystemObject = CreateObject("Scripting.FileSystemObject")
Set Drives = FileSystemObject.Drives
For Each DiskDrive in Drives
   DriveLetter = DiskDrive.DriveLetter
   DriveType = DiskDrive.DriveType

   If DriveType = "CD-ROM Drive" Then
   CDDrive = DriveLetter
   Exit For
   End If        
Next

Set Drives = nothing
Set FileSystemObject = nothing

strCmd="C:\PATH\TO\PROGRAM.EXE"
strUser="DOMAIN\ADMIN-ACCOUNT"
strPass="ADMINPASSWORD"
set WshShell=CreateObject("WScript.Shell")
WshShell.Run "runas.exe" & " /u:" & strUser & " " & strCmd
WScript.Sleep 1000
WshShell.Sendkeys strPass & "~"

 

When you've created this, save the file somewhere with the extension .vbs and follow the instructions on this page >>> Encrypting VBScript code ( vbs to vbe ) <<< to encrypt the vbs to a vbe. Now, word of warning, this doesn't mean it's unhackable as vbe can be reversed if you know how, but it just means the password isn't immediately available in plain text. Test the script to make sure that it works obviously (if just you testing, you can test the vbs version of it then when it works, convert it).

 

Now, copy (or move) the .vbe file you've created to somewhere accessible by all for them to run the software from (I use the \\domain\NETLOGON area and have a folder within that then deploy short cuts to desktops and/or the Start Menu to let people run the program.

 

And that's it, should get you being able to run the software as an administrator, but then demote the user accounts down to something more sensible within a managed environment.

 

Hope that helps

Andy :)

 

Thanks Andy! Got a machine here I need to wipe and start from scratch so I'l set some time aside to try it on there!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...